diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-01 15:34:24 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-01 15:34:24 +0000 |
commit | 640374d0dfc3428416b596d67c06b3c817f44bd8 (patch) | |
tree | 0125d04838ec2165b6a564b01c53e815f9d81d20 /perl.h | |
parent | 592f596992fbcfa7e7c135f9212d2ec2def553a6 (diff) | |
download | perl-640374d0dfc3428416b596d67c06b3c817f44bd8.tar.gz |
Configure tweaks; record the Berkeley DB version,
probe for realpath(), for setresuid() and setresgid()
prototypes; use realpath() (try to be paranoid enough),
use the setres[ug]id prototypes because glibc has the functions
but not their prototypes; add -Wall -ansi to gcc ccflags;
regen toc.
p4raw-id: //depot/perl@10372
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2487,6 +2487,13 @@ I32 unlnk (char*); #define UNLINK PerlLIO_unlink #endif +#ifndef HAS_SETRESUID_PROTO /* some versions of glibc */ +int setresuid(uid_t ruid, uid_t euid, uid_t suid); +#endif +#ifndef HAS_SETRESUID_PROTO /* some versions of glibc */ +int setresgid(gid_t rgid, gid_t egid, gid_t sgid); +#endif + #ifndef HAS_SETREUID # ifdef HAS_SETRESUID # define setreuid(r,e) setresuid(r,e,(Uid_t)-1) |