JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... ist []); #include < grp.h > int setgroups(size_t size , const gid_t * list ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): setgroups (): Since ... で、それ以降の getgroups () の呼び出しで必要となる動的割り当てバッファー list のサイズを、呼び出し元が決定することができる。 setgroups () sets the supplementary group IDs for the calling process. Appropriate privileges are required (see the description of t ... pplementary group IDs in the buffer pointed to by list . A process can drop all of its supplementary groups with the call: setgroups(0, NULL); 返り値 getgroups () は、成功すると補助グループ ID の数を返す。 エラーの場合 -1 を返し、 errno を適切に設定する。 ... ... ist []); #include < grp.h > int setgroups(size_t size , const gid_t * list ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): setgroups (): Since ... で、それ以降の getgroups () の呼び出しで必要となる動的割り当てバッファー list のサイズを、呼び出し元が決定することができる。 setgroups () sets the supplementary group IDs for the calling process. Appropriate privileges are required (see the description of t ... pplementary group IDs in the buffer pointed to by list . A process can drop all of its supplementary groups with the call: setgroups(0, NULL); 返り値 getgroups () は、成功すると補助グループ ID の数を返す。 エラーの場合 -1 を返し、 errno を適切に設定する。 ... ... ist []); #include < grp.h > int setgroups(size_t size , const gid_t * list ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): setgroups (): Since ... で、それ以降の getgroups () の呼び出しで必要となる動的割り当てバッファー list のサイズを、呼び出し元が決定することができる。 setgroups () sets the supplementary group IDs for the calling process. Appropriate privileges are required (see the description of t ... pplementary group IDs in the buffer pointed to by list . A process can drop all of its supplementary groups with the call: setgroups(0, NULL); 返り値 getgroups () は、成功すると補助グループ ID の数を返す。 エラーの場合 -1 を返し、 errno を適切に設定する。 ... ... ist []); #include < grp.h > int setgroups(size_t size , const gid_t * list ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): setgroups (): Since ... で、それ以降の getgroups () の呼び出しで必要となる動的割り当てバッファー list のサイズを、呼び出し元が決定することができる。 setgroups () sets the supplementary group IDs for the calling process. Appropriate privileges are required (see the description of t ... pplementary group IDs in the buffer pointed to by list . A process can drop all of its supplementary groups with the call: setgroups(0, NULL); 返り値 getgroups () は、成功すると補助グループ ID の数を返す。 エラーの場合 -1 を返し、 errno を適切に設定する。 ... ... 置するためのメモリーが不足している。 EPERM 呼出しプロセスが十分な特権を持っていない。 この関数の裏で実行されるシステムコール setgroups (2) も参照のこと。 ファイル /etc/group グループデータベースファイル 属性 この節で使用されている用語の説明については、 attr ... 7) を参照。 インターフェース 属性 値 initgroups () Thread safety MT-Safe locale 準拠 SVr4, 4.3BSD. 関連項目 getgroups (2), setgroups (2), credentials (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェ ... ... et) user (group) IDs. setresuid (2) ( setresgid (2)) Modify the process's real, effective, and saved-set user (group) IDs. setgroups (2) Modify the process's supplementary group list. Any changes to a process's effective user (group) ID are automatically ... pgrp (2), getpid (2), getppid (2), getsid (2), kill (2), setegid (2), seteuid (2), setfsgid (2), setfsuid (2), setgid (2), setgroups (2), setpgid (2), setresgid (2), setresuid (2), setsid (2), setuid (2), waitpid (2), euidaccess (3), initgroups (3), killp ... ... id(groups[j]); if (gr != NULL) printf(" (%s)", gr->gr_name); printf("\n"); } exit(EXIT_SUCCESS); } 関連項目 getgroups (2), setgroups (2), getgrent (3), group_member (3), group (5), passwd (5) この文書について この man ページは Linux man-pages プロジェクト ... ... the effective group ID of the calling process, or is one of the supplementary group IDs of the calling process (as set by setgroups (2)). When neither holds, the third group is used. 3 ビットが使われる場合、最初のビットは読み込み許可を決定し、 2 番目のビ ... ... domainname (2) 1.0 setfsgid (2) 1.2 setfsgid32 (2) 2.4 setfsuid (2) 1.2 setfsuid32 (2) 2.4 setgid (2) 1.0 setgid32 (2) 2.4 setgroups (2) 1.0 setgroups32 (2) 2.4 sethae (2) 2.0 Alpha のみ; 「注意」を参照 sethostname (2) 1.0 setitimer (2) 1.0 setns (2) 3.0 ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。