On Wed, May 12, 2004 at 10:44:40PM +0200, Paul J Stevens wrote:
> AFAIK setresuid/setresgid are gnu extensions that are also available on 
> freebsd and hp-ux. Providing this on debian is of course no immediate 
> problem, even though we'd have to #define _GNU_SOURCE; For upstream, 
> however: a no go, it seems.

I think it is necessary tho.  I mean you can use the alternatives, but
they don't seem to make a complete solution.  For debian this patch is
fine, use some #ifdef statements for systems that don't support it.
They can use the others.  configure should be handling this even.
likes if build= *-*-gnu, then have it put #define _GNU_SOURCE in
config.h.  Then surround the stuff I wrote with #ifdef _GNU_SOURCE
etc.  The alternatives are seteuid and setegid which can be there with
an ifndef _GNU_SOURCE


-- Dan Weber

Attachment: signature.asc
Description: Digital signature

Reply via email to