aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Zelkin <phantom@FreeBSD.org>1999-09-05 07:02:22 +0000
committerAlexey Zelkin <phantom@FreeBSD.org>1999-09-05 07:02:22 +0000
commit0ae8283b3d233841e22947e16455607f9ebe8019 (patch)
treec5ea3046c738432c59062b4a1b0d606a0f9abdec
parentb288071d9df61139181efac1f712dcb554426637 (diff)
Notes
-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 a572c22d603a..a41980c0d93a 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 31176887127d..bb82a7052f47 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 7ac615c9518b..cb385a49bb92 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 bc131081f55a..91adf6cd72cb 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 e15aeea45e69..9b25bdb1cbc4 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 65c867cb0145..a98cb1cb403a 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 538bfdb6955c..bcaf9b9838d7 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 ddc204cb09c6..579ed1bf45c0 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 ffeec66d1fc0..f00e46482a1b 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 */