summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-05-27 14:22:20 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-05-27 14:22:20 +0000
commit0d3087e5c795af294c2c82bb4efad7c2bef07655 (patch)
tree067aa9c7aeb339bf0f7bffa03e51ed2dd7ae8faf /lib/libc
parent5b9cd0e4d50aa32230e60392074e5c44a9abb4e3 (diff)
- add missing .El macro
- capitalization
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/intro.241
1 files changed, 21 insertions, 20 deletions
diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2
index a7c7cff6b42..951d3976eb9 100644
--- a/lib/libc/sys/intro.2
+++ b/lib/libc/sys/intro.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: intro.2,v 1.10 1999/05/23 14:10:54 aaron Exp $
+.\" $OpenBSD: intro.2,v 1.11 1999/05/27 14:22:19 aaron Exp $
.\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $
.\"
.\" Copyright (c) 1980, 1983, 1986, 1991, 1993
@@ -407,19 +407,20 @@ Attempted a system call that is not available on this
system.
.It Er 79 EFTYPE Em "Inappropriate file type or format" .
The file contains invalid data or set to invalid modes.
+.El
.Sh DEFINITIONS
.Bl -tag -width Ds
-.It Process ID .
+.It Process ID
Each active process in the system is uniquely identified by a non-negative
integer called a process ID. The range of this ID is from 0 to 30000.
-.It Parent process ID
+.It Parent Process ID
A new process is created by a currently active process; (see
.Xr fork 2 ) .
The parent process ID of a process is initially the process ID of its creator.
If the creating process exits,
the parent process ID of each child is set to the ID of a system process,
.Xr init 8 .
-.It Process Group
+.It Process Group
Each active process is a member of a process group that is identified by
a non-negative integer called the process group ID. This is the process
ID of the group leader. This grouping permits the signaling of related
@@ -433,18 +434,18 @@ A session is created by a successful call to
.Xr setsid 2 ,
which causes the caller to become the only member of the only process
group in the new session.
-.It Session leader
+.It Session Leader
A process that has created a new session by a successful call to
.Xr setsid 2 ,
is known as a session leader.
Only a session leader may acquire a terminal as its controlling terminal (see
.Xr termios 4 ) .
-.It Controlling process
+.It Controlling Process
A session leader with a controlling terminal is a controlling process.
-.It Controlling terminal
+.It Controlling Terminal
A terminal that is associated with a session is known as the controlling
terminal for that session and its members.
-.It "Terminal Process Group ID"
+.It Terminal Process Group ID
A terminal may be acquired by a session leader as its controlling terminal.
Once a terminal is associated with a session, any of the process groups
within the session may be placed into the foreground by setting
@@ -455,7 +456,7 @@ to arbitrate between multiple jobs contending for the same terminal;
.Xr csh 1
and
.Xr tty 4 ) .
-.It "Orphaned Process Group"
+.It Orphaned Process Group
A process group is considered to be
.Em orphaned
if it is not under the control of a job control shell.
@@ -470,7 +471,7 @@ which is in a separate session.
Not all members of an orphaned process group are necessarily orphaned
processes (those whose creating process has exited).
The process group of a session leader is orphaned by definition.
-.It "Real User ID and Real Group ID"
+.It Real User ID and Real Group ID
Each user on the system is identified by a positive integer
termed the real user ID.
.Pp
@@ -483,7 +484,7 @@ the real group ID.
All processes have a real user ID and real group ID.
These are initialized from the equivalent attributes
of the process that created it.
-.It "Effective User Id, Effective Group Id, and Group Access List"
+.It "Effective User ID, Effective Group ID, and Group Access List"
Access to system resources is governed by two values:
the effective user ID, and the group access list.
The first member of the group access list is also known as the
@@ -504,7 +505,7 @@ does not result in the loss of the original (real) group ID.
The group access list is a set of group IDs
used only in determining resource accessibility. Access checks
are performed as described below in ``File Access Permissions''.
-.It "Saved Set User ID and Saved Set Group ID"
+.It Saved Set User ID and Saved Set Group ID
When a process executes a new file, the effective user ID is set
to the owner of the file if the file is set-user-ID, and the effective
group ID (first element of the group access list) is set to the group
@@ -517,18 +518,18 @@ or group ID after reverting to the real ID (see
(In POSIX.1, the saved set-user-ID and saved set-group-ID are optional,
and are used in setuid and setgid, but this does not work as desired
for the super-user.)
-.It Super-user
+.It Super-user
A process is recognized as a
.Em super-user
process and is granted special privileges if its effective user ID is 0.
-.It Special Processes
+.It Special Processes
The processes with process IDs of 0, 1, and 2 are special.
Process 0 is the scheduler. Process 1 is the initialization process
.Xr init 8 ,
and is the ancestor of every other process in the system.
It is used to control the process structure.
Process 2 is the paging daemon.
-.It Descriptor
+.It Descriptor
An integer assigned by the system when a file is referenced
by
.Xr open 2
@@ -541,7 +542,7 @@ or
.Xr socketpair 2 ,
which uniquely identifies an access path to that file or socket from
a given process or any of its children.
-.It File Name
+.It File Name
Names consisting of up to 255
.Pq Dv MAXNAMELEN
characters may be used to name
@@ -574,7 +575,7 @@ using
.Xr pathconf 2
and
.Xr fpathconf 2 .
-.It Path Name
+.It Path Name
A path name is a
.Tn NUL Ns -terminated
character string starting with an
@@ -598,7 +599,7 @@ directory.
Otherwise, the search begins from the current working directory.
A slash by itself names the root directory. An empty
pathname refers to the current directory.
-.It Directory
+.It Directory
A directory is a special type of file that contains entries
that are references to other files.
Directory entries are called links. By convention, a directory
@@ -617,7 +618,7 @@ Each process has associated with it a concept of a root directory
and a current working directory for the purpose of resolving path
name searches. A process's root directory need not be the root
directory of the root file system.
-.It File Access Permissions
+.It File Access Permissions
Every file in the file system has a set of access permissions.
These permissions are used in determining whether a process
may perform a requested operation on the file (such as opening
@@ -661,7 +662,7 @@ match the corresponding user ID and group ID of the file,
but the permissions for ``other users'' allow access.
.Pp
Otherwise, permission is denied.
-.It Sockets and Address Families
+.It Sockets and Address Families
.Pp
A socket is an endpoint for communication between processes.
Each socket has queues for sending and receiving data.