dazuko-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: John Ogness
Subject: Re: [Dazuko-devel] [PATCH] Use d_path if __d_path is not safe
Date: Mon, 07 Nov 2005 18:09:30 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3

Tikka, Sami wrote:
> As we discussed 2 months ago, dazuko could use d_path when running on an
> Linux 2.6 SMP system and __d_path is not exported. I have now implemented
> that change as you specified (behaviour changes only for Linux 2.6 SMP
> chrooted processes). [see attached email]
> 
> I have uploaded the patch to Savannah:
> https://savannah.nongnu.org/patch/index.php?func=detailitem&item_id=4602
> 
> I hope you find it to your liking and include it into Dazuko source.

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.

The changes I will make are:

1. Moving the "chroot" flag out of the extra_data structure and into the
dazuko_core structure. I don't want dazuko_core accessing the extra_data
fields. (extra_data is a "black box" for dazuko_core)

2. Rather than leaving off the beginning "/", I will have the string
"chroot:" prepended. For example: "chroot:/bin/blah". This follows the
scheme I presented for the "event injector". It is something that will
become very important when we move to DazukoFS. It also has the benefit of
allowing new applications to detect these events by configuring "chroot:" as
an IncludePath.

My main concern is that existing applications (that do not support chroot)
will not be aware that they are missing events. I will probably build a
warning into Dazuko if the workaround is in effect and the application has
not included "chroot:" as an include path. ??

John Ogness

-- 
Dazuko Maintainer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]