diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-11-04 21:44:34 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-11-04 21:44:34 +0000 |
commit | ddeb0b5f1b36d9c2773df6779c99f083542e9008 (patch) | |
tree | 132f0699f55dd87283cabbbe5f46d5485150a67f | |
parent | 5ea4f1e0e49682bfd8dde21d76785297fe9650e5 (diff) |
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.
-rw-r--r-- | gnu/usr.bin/perl/hints/openbsd.sh | 19 |
1 files changed, 7 insertions, 12 deletions
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... |