OSDN Git Service

(split) LDP: Update draft and release (from the previous commit)
[linuxjm/LDP_man-pages.git] / release / man7 / credentials.7
index 59bfadb..6005ffd 100644 (file)
@@ -34,7 +34,7 @@
 .\" Translated 2007-10-25, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.66
 .\" Updated 2008-08-04, Akihiro MOTOKI, LDP v3.05
 .\"
-.TH CREDENTIALS 7 2008\-06\-03 Linux "Linux Programmer's Manual"
+.TH CREDENTIALS 7 2013\-12\-27 Linux "Linux Programmer's Manual"
 .SH 名前
 credentials \- 認証に用いられるプロセスの識別子
 .SH 説明
@@ -81,6 +81,29 @@ PID は各種のシステムコールでそのシステムコールが作用す
 新たなセッションの生成はプロセスが \fBsetsid\fP(2)  を呼び出すことで行う。 \fBsetsid\fP(2)  は、 \fBsetsid\fP(2)
 を呼び出したプロセスの PID と同じ値のセッション ID を持つ 新たなセッションを生成する。
 セッションの生成者は「セッション・リーダー」と呼ばれる。
+
+All of the processes in a session share a \fIcontrolling terminal\fP.  The
+controlling terminal is established when the session leader first opens a
+terminal (unless the \fBO_NOCTTY\fP flag is specified when calling
+\fBopen\fP(2)).  A terminal may be the controlling terminal of at most one
+session.
+
+At most one of the jobs in a session may be the \fIforeground job\fP; other
+jobs in the session are \fIbackground jobs\fP.  Only the foreground job may
+read from the terminal; when a process in the background attempts to read
+from the terminal, its process group is sent a \fBSIGTTIN\fP signal, which
+suspends the job.  If the \fBTOSTOP\fP flag has been set for the terminal (see
+\fBtermios\fP(3)), then only the foreground job may write to the terminal;
+writes from background job cause a \fBSIGTTOU\fP signal to be generated, which
+suspends the job.  When terminal keys that generate a signal (such as the
+\fIinterrupt\fP key, normally control\-C)  are pressed, the signal is sent to
+the processes in the foreground job.
+
+Various system calls and library functions may operate on all members of a
+process group, including \fBkill\fP(2), \fBkillpg\fP(2), \fBgetpriority\fP(2),
+\fBsetpriority\fP(2), \fBioprio_get\fP(2), \fBioprio_set\fP(2), \fBwaitid\fP(2), and
+\fBwaitpid\fP(2).  See also the discussion of the \fBF_GETOWN\fP, \fBF_GETOWN_EX\fP,
+\fBF_SETOWN\fP, and \fBF_SETOWN_EX\fP operations in \fBfcntl\fP(2).
 .SS "ユーザ ID とグループ ID"
 各プロセスは、数種類のユーザ ID とグループ ID を持つ。 ユーザ ID、グループ ID は整数で、それぞれ \fIuid_t\fP, \fIgid_t\fP
 型で表現される (これらは \fI<sys/types.h>\fP で定義されている)。
@@ -152,8 +175,8 @@ POSIX のスレッド仕様では、これらの識別子がプロセス内の
 \fBsetfsgid\fP(2), \fBsetfsuid\fP(2), \fBsetgid\fP(2), \fBsetgroups\fP(2),
 \fBsetresgid\fP(2), \fBsetresuid\fP(2), \fBsetuid\fP(2), \fBwaitpid\fP(2),
 \fBeuidaccess\fP(3), \fBinitgroups\fP(3), \fBtcgetpgrp\fP(3), \fBtcsetpgrp\fP(3),
-\fBcapabilities\fP(7), \fBpath_resolution\fP(7), \fBunix\fP(7)
+\fBcapabilities\fP(7), \fBpath_resolution\fP(7), \fBsignal\fP(7), \fBunix\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.63 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。