diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/getdtablesize.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/getlogin.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/gettimeofday.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/issetugid.2 | 11 | ||||
-rw-r--r-- | lib/libc/sys/ktrace.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/quotactl.2 | 13 | ||||
-rw-r--r-- | lib/libc/sys/recv.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/rtprio.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/sigreturn.2 | 1 |
9 files changed, 27 insertions, 12 deletions
diff --git a/lib/libc/sys/getdtablesize.2 b/lib/libc/sys/getdtablesize.2 index a572c22..a41980c 100644 --- a/lib/libc/sys/getdtablesize.2 +++ b/lib/libc/sys/getdtablesize.2 @@ -56,6 +56,6 @@ returns the size of this table. .Xr select 2 .Sh HISTORY The -.Nm +.Fn getdtablesize function call appeared in .Bx 4.2 . diff --git a/lib/libc/sys/getlogin.2 b/lib/libc/sys/getlogin.2 index 3117688..bb82a70 100644 --- a/lib/libc/sys/getlogin.2 +++ b/lib/libc/sys/getlogin.2 @@ -58,7 +58,7 @@ and is inherited by all processes descended from the login shell. (This is true even if some of those processes assume another user ID, for example when .Xr su 1 -is used.) +is used). .Pp .Fn Setlogin sets the login name of the user associated with the current session to diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index 7ac615c..cb385a4 100644 --- a/lib/libc/sys/gettimeofday.2 +++ b/lib/libc/sys/gettimeofday.2 @@ -59,7 +59,9 @@ call, and set with the call. The time is expressed in seconds and microseconds since midnight (0 hour), January 1, 1970. The resolution of the system clock is hardware dependent, and the time may be updated continuously or -in ``ticks.'' If +in +.Dq ticks . +If .Fa tp or .Fa tzp diff --git a/lib/libc/sys/issetugid.2 b/lib/libc/sys/issetugid.2 index bc13108..91adf6c 100644 --- a/lib/libc/sys/issetugid.2 +++ b/lib/libc/sys/issetugid.2 @@ -47,7 +47,9 @@ The .Fn issetugid function returns 1 if the process environment or memory address space -is considered ``tainted'', and returns 0 otherwise. +is considered +.Dq tainted , +and returns 0 otherwise. .Pp A process is tainted if it was created as a result of an .Xr execve 2 @@ -61,13 +63,16 @@ that was obtained from the user, in particular the results from .Xr getenv 3 should be viewed with suspicion if it is used to control operation. .Pp -A ``tainted'' status is inherited by child processes as a result of the +A +.Dq tainted +status is inherited by child processes as a result of the .Xr fork 2 system call (or other library code that calls fork, such as .Xr popen 3 ) . .Pp It is assumed that a program that clears all privileges as it prepares -to execute another will also reset the environment, hence the ``tainted'' +to execute another will also reset the environment, hence the +.Dq tainted status will not be passed on. This is important for programs such as .Xr su 1 which begin setuid but need to be able to create an untainted process. diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index e15aeea..9b25bdb 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -162,6 +162,6 @@ support. .Xr ktrace 1 .Sh HISTORY A -.Nm ktrace +.Fn ktrace function call first appeared in .Bx 4.4 . diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2 index 65c867c..a98cb1c 100644 --- a/lib/libc/sys/quotactl.2 +++ b/lib/libc/sys/quotactl.2 @@ -67,15 +67,20 @@ The address of an optional command specific data structure, may be given; its interpretation is discussed below with each command. .Pp -Currently quotas are supported only for the ``ufs'' filesystem. -For ``ufs'', +Currently quotas are supported only for the +.Dq ufs +filesystem. +For +.Dq ufs , a command is composed of a primary command (see below) and a command type used to interpret the .Fa id . Types are supported for interpretation of user identifiers (USRQUOTA) and group identifiers (GRPQUOTA). -The ``ufs'' specific commands are: -.Bl -tag -width Q_QUOTAON +The +.Dq ufs +specific commands are: +.Bl -tag -width Q_QUOTAOFFxx .It Dv Q_QUOTAON Enable disk quotas for the filesystem specified by .Fa path . diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2 index 538bfdb..bcaf9b9 100644 --- a/lib/libc/sys/recv.2 +++ b/lib/libc/sys/recv.2 @@ -121,6 +121,7 @@ one or more of the values: .It Dv MSG_PEEK Ta peek at incoming message .It Dv MSG_WAITALL Ta wait for full request or error .El +.Pp The .Dv MSG_OOB flag requests receipt of out-of-band data @@ -183,6 +184,7 @@ struct cmsghdr { /* followed by u_char cmsg_data[]; */ }; +.Pp .Ed As an example, one could use this to learn of changes in the data-stream in XNS/SPP, or in ISO, to obtain user-connection-request data by requesting diff --git a/lib/libc/sys/rtprio.2 b/lib/libc/sys/rtprio.2 index ddc204c..579ed1b 100644 --- a/lib/libc/sys/rtprio.2 +++ b/lib/libc/sys/rtprio.2 @@ -98,7 +98,7 @@ The specified process was not found. The original author was .An Henrik Vestergaard Draboel Aq hvd@terry.ping.dk . This implementation in -.Bx Free +.Fx was substantially rewritten by .An David Greenman . .Sh SEE ALSO diff --git a/lib/libc/sys/sigreturn.2 b/lib/libc/sys/sigreturn.2 index ffeec66..f00e464 100644 --- a/lib/libc/sys/sigreturn.2 +++ b/lib/libc/sys/sigreturn.2 @@ -40,6 +40,7 @@ .Nd return from signal .Sh SYNOPSIS .Fd #include <signal.h> +.Pp .Bd -literal struct sigcontext { int sc_onstack; /* sigstack state to restore */ |