summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-01-09 17:52:25 +0000
committerjoerg <joerg@FreeBSD.org>1995-01-09 17:52:25 +0000
commit4573dfe5e573907ce226e032912af8e3a8e2bff8 (patch)
treed8d919adaaa329e99f5df185c625126124c440bb /gnu
parent1707d41102ca7d645ec2db9e442a27857337d7e9 (diff)
downloadFreeBSD-src-4573dfe5e573907ce226e032912af8e3a8e2bff8.zip
FreeBSD-src-4573dfe5e573907ce226e032912af8e3a8e2bff8.tar.gz
I think someone has already talk about it but I just got bitten again :
perl setuid scripts don't work in 2.1-current for the same reason they were not working in 1.1.5.1. Perl 5 has the same "problem" of course. We have almost POSIX saved uids but we must undefine the following symbols in order to get setuid perl scripts : Submitted by: roberto@blaise.ibp.fr (Ollivier Robert)
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/perl/perl/config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/perl/perl/config.h b/gnu/usr.bin/perl/perl/config.h
index 6a6d9fa..c834f14 100644
--- a/gnu/usr.bin/perl/perl/config.h
+++ b/gnu/usr.bin/perl/perl/config.h
@@ -386,7 +386,7 @@
* available to change the real, effective and saved gid of the current
* program.
*/
-#define HAS_SETREGID /**/
+#undef HAS_SETREGID /**/
/* HAS_SETREUID
* This symbol, if defined, indicates that the setreuid routine is
@@ -397,19 +397,19 @@
* available to change the real, effective and saved uid of the current
* program.
*/
-#define HAS_SETREUID /**/
+#undef HAS_SETREUID /**/
/* HAS_SETRGID
* This symbol, if defined, indicates that the setrgid routine is available
* to change the real gid of the current program.
*/
-#define HAS_SETRGID /**/
+#undef HAS_SETRGID /**/
/* HAS_SETRUID
* This symbol, if defined, indicates that the setruid routine is available
* to change the real uid of the current program.
*/
-#define HAS_SETRUID /**/
+#undef HAS_SETRUID /**/
/* HAS_SOCKET
OpenPOWER on IntegriCloud