Re: [PATCH] Use d_path if __d_path is not safe

John Ogness <[email protected]>
Newsgroups gmane.linux.dazuko.devel
Message-ID <[email protected]>
John Ogness wrote:
> Great! The patch looks good. I will be making some minor adjustments to it,
> but for the most part it is really good. Thanks! I will try to get this done
> this week.

Hi Sami,

I have added this functionality to CVS:

$ env CVS_RSH="ssh" cvs -z3 \
-d:ext:[email protected]:/cvsroot/dazuko \
co dazuko

I was able to add the same functionality by only modifying the
dazuko_linux26.c file, localizing this solution to Linux 2.6. Your patch
helped to make things pretty easy. Thanks!

As I mentioned before, chroot'd events will come in the form of:

chroot:/path/to/file

Applications that are able to work with such events should include the
"chroot:" path:

dazukoAddIncludePath("chroot:");

For Dazuko modules that understand this, the add will be successful. If
the add returns error, then the Dazuko module does not understand chroot
events.

This was a fairly minor patch. I did some testing and it appears to work
well. I would appreciate some feedback if this change is ok for you as well.

John Ogness

-- 
Dazuko Maintainer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.