Re: [PATCH] weston-launch: always drop privileges before execve

2013-08-08 Thread Kristian Høgsberg
On Tue, Aug 06, 2013 at 12:10:09PM +1000, Peter Hutterer wrote: > The current code works if pw->pw_shell is bash because: > "If the shell is started with the effective user (group) id not equal to > the real user (group) id, and the -p option is not supplied, these actions > are taken and the ef

[PATCH] weston-launch: always drop privileges before execve

2013-08-05 Thread Peter Hutterer
The current code works if pw->pw_shell is bash because: "If the shell is started with the effective user (group) id not equal to the real user (group) id, and the -p option is not supplied, these actions are taken and the effective user id is set to the real user id." Thus, for bash, weston's E