From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Fri, 18 May 2007 11:48:50 +0000 Subject: Re: udev does not pass PATH to the children Message-Id: <20070518114850.GC29725@bongo.bofh.it> List-Id: References: <1158166a0705180430y17517e83g38e70bb9b82fddb0@mail.gmail.com> In-Reply-To: <1158166a0705180430y17517e83g38e70bb9b82fddb0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On May 18, Denis Vlasenko wrote: > Basically subject says it all. Even if udevd is run with PATH set, it > clears it (and everything else) out of environment before it starts > children. I consider this a feature. > Clearing of the PATH doesn't make much sense from the security point > of view too: udev's PATH is ser by admin, and we assume admin knows > what he is doing. No, but it helps consistency to know that the child processes of a daemon will not be started with a random $PATH. -- ciao, Marco ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel