summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-10-30 20:30:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-10-30 20:30:10 +0000
commitff53755d75892291a214815ec234c2e10b399c01 (patch)
treea7fcd39433a788322e7753d76112e838ab62499e /gnu/usr.bin
parentce22f23c755e66a9d7f02a5ad542e49b3c9cde94 (diff)
No longer need to override Configure results for setr[ug]id() and
setre[ug]id().
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/perl/hints/openbsd.sh19
1 files changed, 12 insertions, 7 deletions
diff --git a/gnu/usr.bin/perl/hints/openbsd.sh b/gnu/usr.bin/perl/hints/openbsd.sh
index 66f9875a6c8..d29640b1ddb 100644
--- a/gnu/usr.bin/perl/hints/openbsd.sh
+++ b/gnu/usr.bin/perl/hints/openbsd.sh
@@ -15,13 +15,18 @@ test "$usemymalloc" || usemymalloc='n'
# change starting with OpenBSD 2.7.
usevfork='true'
-# 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
+# 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
#
# Not all platforms support dynamic loading...