linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: md@Linux.IT (Marco d'Itri)
To: linux-hotplug@vger.kernel.org
Subject: Re: udev does not pass PATH to the children
Date: Fri, 18 May 2007 11:48:50 +0000	[thread overview]
Message-ID: <20070518114850.GC29725@bongo.bofh.it> (raw)
In-Reply-To: <1158166a0705180430y17517e83g38e70bb9b82fddb0@mail.gmail.com>

On May 18, Denis Vlasenko <vda.linux@googlemail.com> 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

      reply	other threads:[~2007-05-18 11:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-18 11:30 udev does not pass PATH to the children Denis Vlasenko
2007-05-18 11:48 ` Marco d'Itri [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070518114850.GC29725@bongo.bofh.it \
    --to=md@linux.it \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).