diff options
author | Andreas Schneider <asn@samba.org> | 2011-10-08 10:47:57 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2011-10-27 13:32:00 +0200 |
commit | c7fbcf9b9834e5078218e2e7a9ba5a62a87fd45b (patch) | |
tree | 5ea73a90562fe2d57c568fa411f655b007565988 /lib/replace | |
parent | 72c95baa4b27aad59b16807bac6fae6eba0d8c4d (diff) | |
download | samba-c7fbcf9b9834e5078218e2e7a9ba5a62a87fd45b.tar.gz samba-c7fbcf9b9834e5078218e2e7a9ba5a62a87fd45b.tar.xz samba-c7fbcf9b9834e5078218e2e7a9ba5a62a87fd45b.zip |
replace: Add checks for setreuid and setregid.
Diffstat (limited to 'lib/replace')
-rw-r--r-- | lib/replace/libreplace.m4 | 3 | ||||
-rw-r--r-- | lib/replace/wscript | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4 index bc2993ad07..ca0c6846ab 100644 --- a/lib/replace/libreplace.m4 +++ b/lib/replace/libreplace.m4 @@ -115,7 +115,8 @@ AC_CHECK_HEADERS(sys/mount.h mntent.h) AC_CHECK_HEADERS(stropts.h) AC_CHECK_HEADERS(unix.h) -AC_CHECK_FUNCS(seteuid setresuid setegid setresgid chroot bzero strerror strerror_r) +AC_CHECK_FUNCS(seteuid setreuid setresuid setegid setregid setresgid) +AC_CHECK_FUNCS(chroot bzero strerror strerror_r) AC_CHECK_FUNCS(vsyslog setlinebuf mktime ftruncate chsize rename) AC_CHECK_FUNCS(waitpid wait4 strlcpy strlcat initgroups memmove strdup) AC_CHECK_FUNCS(pread pwrite strndup strcasestr strtok_r mkdtemp dup2 dprintf vdprintf) diff --git a/lib/replace/wscript b/lib/replace/wscript index 6221fc4992..e4fc72b50e 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -161,8 +161,8 @@ def configure(conf): conf.CHECK_FUNCS('shl_load shl_unload shl_findsym') conf.CHECK_FUNCS('pipe strftime srandom random srand rand usleep setbuffer') - conf.CHECK_FUNCS('lstat getpgrp utime utimes seteuid setresuid setegid') - conf.CHECK_FUNCS('setresgid chroot strerror vsyslog setlinebuf mktime') + conf.CHECK_FUNCS('lstat getpgrp utime utimes seteuid setreuid setresuid setegid') + conf.CHECK_FUNCS('setregid setresgid chroot strerror vsyslog setlinebuf mktime') conf.CHECK_FUNCS('ftruncate chsize rename waitpid wait4 strlcpy strlcat') conf.CHECK_FUNCS('initgroups pread pwrite strndup strcasestr') conf.CHECK_FUNCS('strtok_r mkdtemp dup2 dprintf vdprintf isatty chown lchown') |