diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-01-21 08:53:14 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-01-21 08:53:14 +0000 |
commit | 2bb3463c228e06f0db40ef7798e304ae7a7502ba (patch) | |
tree | 5801255fa4a331e795baad3285d47ade88d6b301 /perl.c | |
parent | 59b83a6fedb1cbe070abf139ffcf761b15f35c7c (diff) | |
download | perl-2bb3463c228e06f0db40ef7798e304ae7a7502ba.tar.gz |
-DNO_NOSUID_CHECK for those platforms which have no way
of checking for nosuid but still want suidperl.
p4raw-id: //depot/cfgperl@2653
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2245,7 +2245,7 @@ validate_suid(char *validarg, char *scriptname, int fdscript) croak("Can't swap uid and euid"); /* really paranoid */ if (PerlLIO_stat(SvPVX(GvSV(PL_curcop->cop_filegv)),&tmpstatbuf) < 0) croak("Permission denied"); /* testing full pathname here */ -#ifdef IAMSUID +#if defined(IAMSUID) && !defined(NO_NOSUID_CHECK) if (fd_on_nosuid_fs(PerlIO_fileno(PL_rsfp))) croak("Permission denied"); #endif |