summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>1999-09-05 07:02:22 +0000
committerphantom <phantom@FreeBSD.org>1999-09-05 07:02:22 +0000
commit3253dfed5ccda64837f89fbc23a08f8edeabcca4 (patch)
treef649447586b97b1ab73452bde69ee8e25bd8e93a /lib
parent189bace3d76b821a6901760635a4cb2174dd8d16 (diff)
downloadFreeBSD-src-3253dfed5ccda64837f89fbc23a08f8edeabcca4.zip
FreeBSD-src-3253dfed5ccda64837f89fbc23a08f8edeabcca4.tar.gz
Some style and "look" fixes
Reviewed by: mpp
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/getdtablesize.22
-rw-r--r--lib/libc/sys/getlogin.22
-rw-r--r--lib/libc/sys/gettimeofday.24
-rw-r--r--lib/libc/sys/issetugid.211
-rw-r--r--lib/libc/sys/ktrace.22
-rw-r--r--lib/libc/sys/quotactl.213
-rw-r--r--lib/libc/sys/recv.22
-rw-r--r--lib/libc/sys/rtprio.22
-rw-r--r--lib/libc/sys/sigreturn.21
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 */
OpenPOWER on IntegriCloud