From ddeb0b5f1b36d9c2773df6779c99f083542e9008 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 4 Nov 2002 21:44:34 +0000 Subject: Put back the bits disabling setre[ug]id(). Perl will use setres[ug]id instead so we don't need to use the (emulated) setre[ug]id() in libc. --- gnu/usr.bin/perl/hints/openbsd.sh | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'gnu/usr.bin') diff --git a/gnu/usr.bin/perl/hints/openbsd.sh b/gnu/usr.bin/perl/hints/openbsd.sh index d29640b1ddb..66f9875a6c8 100644 --- a/gnu/usr.bin/perl/hints/openbsd.sh +++ b/gnu/usr.bin/perl/hints/openbsd.sh @@ -15,18 +15,13 @@ test "$usemymalloc" || usemymalloc='n' # change starting with OpenBSD 2.7. usevfork='true' -# In OpenBSD < 3.3, the setre?[ug]id() are emulated using the -# _POSIX_SAVED_IDS functionality which does not have the same -# semantics as 4.3BSD. Starting with OpenBSD 3.3, these functions -# are emulated via setres[ug]id(). -#case "$osvers" in -#[0-2].*|3.[0-2]) -# d_setregid=$undef -# d_setreuid=$undef -# d_setrgid=$undef -# d_setruid=$undef -# ;; -#esac +# setre?[ug]id() have been replaced by the _POSIX_SAVED_IDS versions +# in 4.4BSD. Configure will find these but they are just emulated +# and do not have the same semantics as in 4.3BSD. +d_setregid=$undef +d_setreuid=$undef +d_setrgid=$undef +d_setruid=$undef # # Not all platforms support dynamic loading... -- cgit v1.2.3