JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... std.h > int setresuid(uid_t ruid , uid_t euid , uid_t suid ); int setresgid(gid_t rgid , gid_t egid , gid_t sgid ); 説明 setresuid () は呼び出し ... 成功した場合は 0 が返される。エラーの場合は -1 が返され、 errno が適切に設定される。 注意 : 呼び出し元が UID 0 であっても setresuid () が失敗する場合がある。 setresuid () からのリターンが失敗かどうかの確認を省略することは重大なセキュリティ上のエラーとなる ... not have the necessary capability in its user namespace) and tried to change the IDs to values that are not permitted. For setresuid (), the necessary capability is CAP_SETUID ; for setresgid (), it is CAP_SETGID . バージョン Linux ではバージョン 2.1.44 よ ... ... std.h > int setresuid(uid_t ruid , uid_t euid , uid_t suid ); int setresgid(gid_t rgid , gid_t egid , gid_t sgid ); 説明 setresuid () は呼び出し ... 成功した場合は 0 が返される。エラーの場合は -1 が返され、 errno が適切に設定される。 注意 : 呼び出し元が UID 0 であっても setresuid () が失敗する場合がある。 setresuid () からのリターンが失敗かどうかの確認を省略することは重大なセキュリティ上のエラーとなる ... not have the necessary capability in its user namespace) and tried to change the IDs to values that are not permitted. For setresuid (), the necessary capability is CAP_SETUID ; for setresgid (), it is CAP_SETGID . バージョン Linux ではバージョン 2.1.44 よ ... ... std.h > int setresuid(uid_t ruid , uid_t euid , uid_t suid ); int setresgid(gid_t rgid , gid_t egid , gid_t sgid ); 説明 setresuid () は呼び出し ... 成功した場合は 0 が返される。エラーの場合は -1 が返され、 errno が適切に設定される。 注意 : 呼び出し元が UID 0 であっても setresuid () が失敗する場合がある。 setresuid () からのリターンが失敗かどうかの確認を省略することは重大なセキュリティ上のエラーとなる ... not have the necessary capability in its user namespace) and tried to change the IDs to values that are not permitted. For setresuid (), the necessary capability is CAP_SETUID ; for setresgid (), it is CAP_SETGID . バージョン Linux ではバージョン 2.1.44 よ ... ... std.h > int setresuid(uid_t ruid , uid_t euid , uid_t suid ); int setresgid(gid_t rgid , gid_t egid , gid_t sgid ); 説明 setresuid () は呼び出し ... 成功した場合は 0 が返される。エラーの場合は -1 が返され、 errno が適切に設定される。 注意 : 呼び出し元が UID 0 であっても setresuid () が失敗する場合がある。 setresuid () からのリターンが失敗かどうかの確認を省略することは重大なセキュリティ上のエラーとなる ... not have the necessary capability in its user namespace) and tried to change the IDs to values that are not permitted. For setresuid (), the necessary capability is CAP_SETUID ; for setresgid (), it is CAP_SETGID . バージョン Linux ではバージョン 2.1.44 よ ... ... set-user-ID の間で行ったり来たり切り替えることで、特権を得たり落としたりできる。 この切り替えは seteuid (2), setreuid (2), setresuid (2) を呼び出すことで実行できる。 set-group-ID プログラムは、 setegid (2), setregid (2), setresgid (2) を使って同様のことが ... group) ID. setreuid (2) ( setregid (2)) Modify the process's real and effective (and possibly saved-set) user (group) IDs. setresuid (2) ( setresgid (2)) Modify the process's real, effective, and saved-set user (group) IDs. setgroups (2) Modify the proces ... ルでは、Linux はスレッド毎に別々の ユーザーとグループに関する識別子を管理している。 NPTL スレッド実装が、(例えば setuid (2), setresuid (2) などの呼び出しによる) ユーザーやグループに関する識別子に対する変更が プロセス内の全ての POSIX スレッドに対して反映され ... ... 2.0 では、 seteuid( euid ) は setreuid(-1, euid ) と等価であり、保存 set-user-ID を変更するかもしれない。 glibc 2.1 では、 setresuid(-1, euid , -1) と等価であり、保存 set-user-ID 変更しない。 同様のことが setegid () にも言えるが、 glibc 2.2 か 2.3 で、 実 ... setegid () は、それぞれ setreuid (2) と setregid (2) を呼び出すライブラリ関数として実装されている。 関連項目 geteuid (2), setresuid (2), setreuid (2), setuid (2), capabilities (7), credentials (7), user_namespaces (7) この文書について この man ページは L ... ... 2.0 では、 seteuid( euid ) は setreuid(-1, euid ) と等価であり、保存 set-user-ID を変更するかもしれない。 glibc 2.1 では、 setresuid(-1, euid , -1) と等価であり、保存 set-user-ID 変更しない。 同様のことが setegid () にも言えるが、 glibc 2.2 か 2.3 で、 実 ... setegid () は、それぞれ setreuid (2) と setregid (2) を呼び出すライブラリ関数として実装されている。 関連項目 geteuid (2), setresuid (2), setreuid (2), setuid (2), capabilities (7), credentials (7), user_namespaces (7) この文書について この man ページは L ... ... ibc の getresuid () と getresgid () のラッパー関数は カーネルバージョンによるこの違いを吸収している。 関連項目 getuid (2), setresuid (2), setreuid (2), setuid (2), credentials (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5 ... ... ibc の getresuid () と getresgid () のラッパー関数は カーネルバージョンによるこの違いを吸収している。 関連項目 getuid (2), setresuid (2), setreuid (2), setuid (2), credentials (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5 ... ... ibc の getresuid () と getresgid () のラッパー関数は カーネルバージョンによるこの違いを吸収している。 関連項目 getuid (2), setresuid (2), setreuid (2), setuid (2), credentials (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5 ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。