[packagekit] PATH missing in backends

Richard Hughes hughsient at gmail.com
Mon Jan 7 10:24:02 PST 2008


On Mon, 2008-01-07 at 13:15 -0500, David Zeuthen wrote:
> Typically in security sensitive apps, you don't so much care about an
> empty environment; you care more about one that is well-known. So
> typically, after clearenv(), you set PATH to something reasonable, e.g. 
> 
>     setenv ("PATH", "/usr/sbin:/usr/bin:/sbin:/bin", 1);

Totally. If this is acceptable to you Thomas, then feel free to commit
something like this to pk-main.c.

Thanks.

Richard.





More information about the PackageKit mailing list