Re: [[PATCH v3 2/2]] compositor: check if seteuid worked

2013-09-27 Thread Damian, Alexandru
Launching weston directly through sudo. The seteuid failed for some reason - I didn't track it down - so I added the check. Alex On Thu, Sep 26, 2013 at 10:42 PM, Kristian Høgsberg hoegsb...@gmail.comwrote: On Wed, Sep 25, 2013 at 02:47:47PM +0100, Alex DAMIAN wrote: From: Alexandru DAMIAN

Re: [[PATCH v3 2/2]] compositor: check if seteuid worked

2013-09-27 Thread Damian, Alexandru
Just had my coffe - I mean through suid - i chmod-ed +s the weston executable. I can't repro, I don't know what I did at that time. On Fri, Sep 27, 2013 at 9:03 AM, Damian, Alexandru alexandru.dam...@intel.com wrote: Launching weston directly through sudo. The seteuid failed for some reason

Re: [[PATCH v3 2/2]] compositor: check if seteuid worked

2013-09-26 Thread Kristian Høgsberg
On Wed, Sep 25, 2013 at 02:47:47PM +0100, Alex DAMIAN wrote: From: Alexandru DAMIAN alexandru.dam...@intel.com Checking the return value from seteuid in order to not launch clients with the wrong effective uid. Signed-off-by: Alexandru DAMIAN alexandru.dam...@intel.com ---

[[PATCH v3 2/2]] compositor: check if seteuid worked

2013-09-25 Thread Alex DAMIAN
From: Alexandru DAMIAN alexandru.dam...@intel.com Checking the return value from seteuid in order to not launch clients with the wrong effective uid. Signed-off-by: Alexandru DAMIAN alexandru.dam...@intel.com --- src/compositor.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-)