summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorPaul Szabo <psz@maths.usyd.edu.au>2004-03-19 19:17:56 +1100
committerNicholas Clark <nick@ccl4.org>2004-03-23 13:38:11 +0000
commitae3f3efdef21cd5e7aaa929b0e067c679af06832 (patch)
treecde299b852fe196281b768e89463e9680ce12045 /perl.h
parent45a2796c78934ddcc83dbc97c4c2f291dc19cfd1 (diff)
downloadperl-ae3f3efdef21cd5e7aaa929b0e067c679af06832.tar.gz
5.9.1 suidperl
Message-Id: <200403182117.i2ILHug513080@milan.maths.usyd.edu.au> (which variables renamed as requested, plus tweaks to work on platforms with no ST_NOEXEC) p4raw-id: //depot/perl@22563
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index c57af65196..d2fa70f67c 100644
--- a/perl.h
+++ b/perl.h
@@ -4254,6 +4254,19 @@ int flock(int fd, int op);
# define PERL_MOUNT_NOSUID M_NOSUID
#endif
+#if !defined(PERL_MOUNT_NOEXEC) && defined(MOUNT_NOEXEC)
+# define PERL_MOUNT_NOEXEC MOUNT_NOEXEC
+#endif
+#if !defined(PERL_MOUNT_NOEXEC) && defined(MNT_NOEXEC)
+# define PERL_MOUNT_NOEXEC MNT_NOEXEC
+#endif
+#if !defined(PERL_MOUNT_NOEXEC) && defined(MS_NOEXEC)
+# define PERL_MOUNT_NOEXEC MS_NOEXEC
+#endif
+#if !defined(PERL_MOUNT_NOEXEC) && defined(M_NOEXEC)
+# define PERL_MOUNT_NOEXEC M_NOEXEC
+#endif
+
#endif /* IAMSUID */
#ifdef I_LIBUTIL