summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>1999-04-27 03:56:10 +0000
committerhoek <hoek@FreeBSD.org>1999-04-27 03:56:10 +0000
commit25446ce2c8f328d9f8942aa98a45268404dd6654 (patch)
tree47b4caa8d9143723ed47d8a70ac9b701ef38a89e /lib
parent45b960a6f5f9a197fd33fa65454260d0148b42de (diff)
downloadFreeBSD-src-25446ce2c8f328d9f8942aa98a45268404dd6654.zip
FreeBSD-src-25446ce2c8f328d9f8942aa98a45268404dd6654.tar.gz
Mention that set-id bits are not honoured for shell scripts and
filesystems with the "nosuid" option. Mention that syscall tracing is disabled sometimes. PR: misc/11328
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/execve.29
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index c7a5d87..25aa4e7 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)execve.2 8.5 (Berkeley) 6/1/94
-.\" $Id$
+.\" $Id: execve.2,v 1.11 1998/01/11 21:43:38 alex Exp $
.\"
.Dd June 1, 1994
.Dt EXECVE 2
@@ -143,6 +143,11 @@ These values may be used in changing the effective IDs later (see
.Xr setuid 2 ) .
.ne 1i
.Pp
+The set-ID bits are not honored if the respective file system has the
+.Ar nosuid
+option enabled or if the new process file is an interpreter file. Syscall
+tracing is disabled if effective IDs are changed.
+.Pp
The new process also inherits the following attributes from
the calling process:
.Pp
@@ -273,6 +278,8 @@ of a super-user as well.
.Xr execl 3 ,
.Xr exit 3 ,
.Xr sysctl 3 ,
+.Xr mount 1 ,
+.Xr ktrace 1 ,
.Xr environ 7
.Sh HISTORY
The
OpenPOWER on IntegriCloud