Some style and "look" fixes

Reviewed by:	mpp
This commit is contained in:
Alexey Zelkin 1999-09-05 07:02:22 +00:00
parent b288071d9d
commit 0ae8283b3d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50947
9 changed files with 27 additions and 12 deletions

View file

@ -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 .

View file

@ -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

View file

@ -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

View file

@ -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.

View file

@ -162,6 +162,6 @@ support.
.Xr ktrace 1
.Sh HISTORY
A
.Nm ktrace
.Fn ktrace
function call first appeared in
.Bx 4.4 .

View file

@ -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 .

View file

@ -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

View file

@ -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

View file

@ -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 */