diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1997-09-03 06:58:50 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1997-09-03 06:58:50 +0000 |
| commit | 0985bbdfe6a3da8cc1bdef1a1bdb0cf03a933420 (patch) | |
| tree | 4ff74b2c084615454d5726d90fed67f9150f4674 /lib/libc/sys | |
| parent | c1183564791affab624d12f156d793a2a5c31490 (diff) | |
Notes
Diffstat (limited to 'lib/libc/sys')
| -rw-r--r-- | lib/libc/sys/Makefile.inc | 7 | ||||
| -rw-r--r-- | lib/libc/sys/issetugid.2 | 4 | ||||
| -rw-r--r-- | lib/libc/sys/setuid.2 | 8 |
3 files changed, 12 insertions, 7 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc index 2840d7dd4d5b..fd1f0da4a9b3 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -1,5 +1,5 @@ # @(#)Makefile.inc 8.3 (Berkeley) 10/24/94 -# $Id: Makefile.inc,v 1.29 1997/05/03 03:50:05 jb Exp $ +# $Id: Makefile.inc,v 1.20.2.4 1997/06/24 19:23:09 julian Exp $ # sys sources .PATH: ${.CURDIR}/../libc/${MACHINE}/sys ${.CURDIR}/../libc/sys @@ -19,7 +19,7 @@ ASM= access.o acct.o adjtime.o chdir.o chflags.o chmod.o \ geteuid.o getfh.o getfsstat.o getgid.o getgroups.o getitimer.o \ getpgrp.o getpid.o getppid.o getpriority.o \ getrlimit.o getrusage.o gettimeofday.o \ - getuid.o kill.o ktrace.o lchown.o \ + getuid.o issetugid.o kill.o ktrace.o lchown.o \ lfs_bmapv.o lfs_markv.o \ lfs_segclean.o lfs_segwait.o link.o lstat.o \ madvise.o mincore.o minherit.o mkdir.o mlock.o \ @@ -89,7 +89,8 @@ MAN2+= sys/accept.2 sys/access.2 sys/acct.2 sys/adjtime.2 sys/bind.2 \ sys/getgid.2 sys/getgroups.2 sys/getitimer.2 sys/getlogin.2 \ sys/getpeername.2 sys/getpgrp.2 sys/getpid.2 sys/getpriority.2 \ sys/getrlimit.2 sys/getrusage.2 sys/getsockname.2 sys/getsockopt.2 \ - sys/gettimeofday.2 sys/getuid.2 sys/intro.2 sys/ioctl.2 sys/kill.2 \ + sys/gettimeofday.2 sys/getuid.2 sys/intro.2 sys/ioctl.2 \ + sys/issetugid.2 sys/kill.2 \ sys/ktrace.2 sys/link.2 sys/listen.2 sys/lseek.2 sys/mkdir.2 \ sys/mkfifo.2 sys/mknod.2 sys/madvise.2 sys/mincore.2 sys/minherit.2 \ sys/mlock.2 \ diff --git a/lib/libc/sys/issetugid.2 b/lib/libc/sys/issetugid.2 index 943aa7db8d71..5734998f9584 100644 --- a/lib/libc/sys/issetugid.2 +++ b/lib/libc/sys/issetugid.2 @@ -31,7 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: issetugid.2,v 1.3 1997/04/01 18:45:57 mpp Exp $ +.\" $Id: issetugid.2,v 1.4 1997/04/01 18:50:56 mpp Exp $ .\" .Dd August, 25 1996 .Dt ISSETUGID 2 @@ -91,4 +91,4 @@ A function call first appeared in .Ox 2.0 and was also implemented in -.Fx 3.0 . +.Fx 2.2.5 . diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2 index 3b65d58461bc..504fb538fb28 100644 --- a/lib/libc/sys/setuid.2 +++ b/lib/libc/sys/setuid.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)setuid.2 8.1 (Berkeley) 6/4/93 -.\" $Id: setuid.2,v 1.10 1997/04/01 18:58:38 mpp Exp $ +.\" $Id: setuid.2,v 1.4.2.5 1997/04/01 19:28:13 mpp Exp $ .\" .Dd June 4, 1993 .Dt SETUID 2 @@ -73,6 +73,8 @@ The function is permitted if the specified ID is equal to the real user ID .\" Comment out next line for !_POSIX_SAVED_IDS .\" or the saved set-user-ID +.\" Next line is for Appendix B.4.2.2 case. +or the effective user ID of the process, or if the effective user ID is that of the super user. .Pp The @@ -95,6 +97,8 @@ The function is permitted if the specified ID is equal to the real group ID .\" Comment out next line for !_POSIX_SAVED_IDS .\" or the saved set-groupd-ID +.\" Next line is for Appendix B.4.2.2 case. +or the effective group ID of the process, or if the effective user ID is that of the super user. .Pp The @@ -137,7 +141,7 @@ specification with .Li _POSIX_SAVED_IDS .\" Uncomment next line for !_POSIX_SAVED_IDS not -defined. +defined with the permitted extensions from Appendix B.4.2.2. The .Fn seteuid and |
