OSDN Git Service

(split) LDP: Update draft and release (from the previous commit)
[linuxjm/LDP_man-pages.git] / draft / man2 / setreuid.2
index 2050f4e..087cf6c 100644 (file)
@@ -59,7 +59,7 @@
 .\" Updated 2010-04-23, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.24
 .\" Updated 2012-04-30, Akihiro MOTOKI <amotoki@gmail.com>
 .\"
-.TH SETREUID 2 2010\-11\-22 Linux "Linux Programmer's Manual"
+.TH SETREUID 2 2013\-12\-12 Linux "Linux Programmer's Manual"
 .SH 名前
 setreuid, setregid \- 実 (real) と実効 (effective) ユーザー (グループ) ID を設定する
 .SH 書式
@@ -90,8 +90,9 @@ _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTEND
 
 非特権ユーザーは、実ユーザー ID を実ユーザー ID または 実効ユーザー ID にしか設定できない。
 
-実ユーザーID が設定されたり、実効ユーザーID が前の実ユーザーID と 異った値に設定された場合、保存 set\-user\-ID
-には新しい実効ユーザーID の値が設定される。
+If the real user ID is set (i.e., \fIruid\fP is not \-1) or the effective user
+ID is set to a value not equal to the previous real user ID, the saved
+set\-user\-ID will be set to the new effective user ID.
 
 これと全く同様に、 \fBsetregid\fP()  は呼び出し元のプロセスの実グループ ID と実効グループ ID を設定し、
 上記の説明で「ユーザー」を「グループ」に読み替えたことが成り立つ。
@@ -128,6 +129,6 @@ glibc の \fBsetreuid\fP() と \fBsetregid\fP() のラッパー関数は
 \fBgetgid\fP(2), \fBgetuid\fP(2), \fBseteuid\fP(2), \fBsetgid\fP(2), \fBsetresuid\fP(2),
 \fBsetuid\fP(2), \fBcapabilities\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.63 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。