Re: Polypaudio for Gnome 2.10, the next steps



On Thu, 25.11.04 17:48, Alan Cox (alan lxorguk ukuu org uk) wrote:

> 
> On Iau, 2004-11-25 at 17:20, Lennart Poettering wrote:
> > > setreuid or setresuid ?
> > 
> > setresuid needs _GNU_SOURCE defined. Is there a real advantage on
> > using it instead of setreuid()?
> 
> Its a little more secure if you want to be sure of dropping the saved
> setuid on systems that support it. 

Ok. I changed that. If setresuid() is available it is used, if not
setreuid() ist used, and if that is not available setuid() and
seteuid() are used. That way it should work an most systems.

Lennart

-- 
name { Lennart Poettering } loc { Hamburg - Germany }
mail { mzft (at) 0pointer (dot) de } gpg { 1A015CC4 }  
www { http://0pointer.de/lennart/ } icq# { 11060553 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]