JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... る。 SO_PASSCRED Enabling this socket option causes receipt of the credentials of the sending process in an SCM_CREDENTIALS ancillary message in each subsequently received message. The returned credentials are those specified by the sender using SCM_CREDEN ... r a default that includes the sender's PID, real user ID, and real group ID, if the sender did not specify SCM_CREDENTIALS ancillary data. このオプションがセットされていて、まだソケットが接続されていないと、抽象名前空間に他と重ならない名前が自動的に生成さ ... ockopt (2) is an integer boolean flag. SO_PASSSEC Enables receiving of the SELinux security label of the peer socket in an ancillary message of type SCM_SECURITY (see below). The value given as an argument to setsockopt (2) and returned as the result of g ... ... SG_LEN(size_t length ); unsigned char *CMSG_DATA(struct cmsghdr * cmsg ); 説明 これらのマクロは制御メッセージ (補助データ (ancillary data) とも呼ばれる) を作り、 それにアクセスするために使われる。 制御メッセージはソケットにのるデータではない。 この制御情報 ... ccessed directly. Instead, use only the following macros: * CMSG_FIRSTHDR () returns a pointer to the first cmsghdr in the ancillary data buffer associated with the passed msghdr . It returns NULL if there isn't enough space for a cmsghdr in the buffer. * ... ラインメントを加味した長さを返してくる。 これは定数式である。 * CMSG_SPACE () は、与えたデータ長が占めるのに必要な補助要素 (ancillary element) の バイト数を返す。これは定数式である。 * CMSG_DATA () returns a pointer to the data portion of a cmsghdr . The p ... ... SG_LEN(size_t length ); unsigned char *CMSG_DATA(struct cmsghdr * cmsg ); 説明 これらのマクロは制御メッセージ (補助データ (ancillary data) とも呼ばれる) を作り、 それにアクセスするために使われる。 制御メッセージはソケットにのるデータではない。 この制御情報 ... ccessed directly. Instead, use only the following macros: * CMSG_FIRSTHDR () returns a pointer to the first cmsghdr in the ancillary data buffer associated with the passed msghdr . It returns NULL if there isn't enough space for a cmsghdr in the buffer. * ... ラインメントを加味した長さを返してくる。 これは定数式である。 * CMSG_SPACE () は、与えたデータ長が占めるのに必要な補助要素 (ancillary element) の バイト数を返す。これは定数式である。 * CMSG_DATA () returns a pointer to the data portion of a cmsghdr . The p ... ... SG_LEN(size_t length ); unsigned char *CMSG_DATA(struct cmsghdr * cmsg ); 説明 これらのマクロは制御メッセージ (補助データ (ancillary data) とも呼ばれる) を作り、 それにアクセスするために使われる。 制御メッセージはソケットにのるデータではない。 この制御情報 ... ccessed directly. Instead, use only the following macros: * CMSG_FIRSTHDR () returns a pointer to the first cmsghdr in the ancillary data buffer associated with the passed msghdr . It returns NULL if there isn't enough space for a cmsghdr in the buffer. * ... ラインメントを加味した長さを返してくる。 これは定数式である。 * CMSG_SPACE () は、与えたデータ長が占めるのに必要な補助要素 (ancillary element) の バイト数を返す。これは定数式である。 * CMSG_DATA () returns a pointer to the data portion of a cmsghdr . The p ... ... SG_LEN(size_t length ); unsigned char *CMSG_DATA(struct cmsghdr * cmsg ); 説明 これらのマクロは制御メッセージ (補助データ (ancillary data) とも呼ばれる) を作り、 それにアクセスするために使われる。 制御メッセージはソケットにのるデータではない。 この制御情報 ... ccessed directly. Instead, use only the following macros: * CMSG_FIRSTHDR () returns a pointer to the first cmsghdr in the ancillary data buffer associated with the passed msghdr . It returns NULL if there isn't enough space for a cmsghdr in the buffer. * ... ラインメントを加味した長さを返してくる。 これは定数式である。 * CMSG_SPACE () は、与えたデータ長が占めるのに必要な補助要素 (ancillary element) の バイト数を返す。これは定数式である。 * CMSG_DATA () returns a pointer to the data portion of a cmsghdr . The p ... ... SG_LEN(size_t length ); unsigned char *CMSG_DATA(struct cmsghdr * cmsg ); 説明 これらのマクロは制御メッセージ (補助データ (ancillary data) とも呼ばれる) を作り、 それにアクセスするために使われる。 制御メッセージはソケットにのるデータではない。 この制御情報 ... ccessed directly. Instead, use only the following macros: * CMSG_FIRSTHDR () returns a pointer to the first cmsghdr in the ancillary data buffer associated with the passed msghdr . It returns NULL if there isn't enough space for a cmsghdr in the buffer. * ... ラインメントを加味した長さを返してくる。 これは定数式である。 * CMSG_SPACE () は、与えたデータ長が占めるのに必要な補助要素 (ancillary element) の バイト数を返す。これは定数式である。 * CMSG_DATA () returns a pointer to the data portion of a cmsghdr . The p ... ... SG_LEN(size_t length ); unsigned char *CMSG_DATA(struct cmsghdr * cmsg ); 説明 これらのマクロは制御メッセージ (補助データ (ancillary data) とも呼ばれる) を作り、 それにアクセスするために使われる。 制御メッセージはソケットにのるデータではない。 この制御情報 ... ccessed directly. Instead, use only the following macros: * CMSG_FIRSTHDR () returns a pointer to the first cmsghdr in the ancillary data buffer associated with the passed msghdr . It returns NULL if there isn't enough space for a cmsghdr in the buffer. * ... ラインメントを加味した長さを返してくる。 これは定数式である。 * CMSG_SPACE () は、与えたデータ長が占めるのに必要な補助要素 (ancillary element) の バイト数を返す。これは定数式である。 * CMSG_DATA () returns a pointer to the data portion of a cmsghdr . The p ... ... SG_LEN(size_t length ); unsigned char *CMSG_DATA(struct cmsghdr * cmsg ); 説明 これらのマクロは制御メッセージ (補助データ (ancillary data) とも呼ばれる) を作り、 それにアクセスするために使われる。 制御メッセージはソケットにのるデータではない。 この制御情報 ... ccessed directly. Instead, use only the following macros: * CMSG_FIRSTHDR () returns a pointer to the first cmsghdr in the ancillary data buffer associated with the passed msghdr . It returns NULL if there isn't enough space for a cmsghdr in the buffer. * ... ラインメントを加味した長さを返してくる。 これは定数式である。 * CMSG_SPACE () は、与えたデータ長が占めるのに必要な補助要素 (ancillary element) の バイト数を返す。これは定数式である。 * CMSG_DATA () returns a pointer to the data portion of a cmsghdr . The p ... ... sg_data[]; */ }; 補助データは、 cmsg (3) に定義されたマクロ経由でのみアクセスすべきである。 As an example, Linux uses this ancillary data mechanism to pass extended errors, IP options, or file descriptors over UNIX domain sockets. For further information ... on the use of ancillary data in various socket domains, see unix (7) and ip (7). msghdr の msg_flags フィールドは recvmsg () からのリターン時に設定 ... ... sg_data[]; */ }; 補助データは、 cmsg (3) に定義されたマクロ経由でのみアクセスすべきである。 As an example, Linux uses this ancillary data mechanism to pass extended errors, IP options, or file descriptors over UNIX domain sockets. For further information ... on the use of ancillary data in various socket domains, see unix (7) and ip (7). msghdr の msg_flags フィールドは recvmsg () からのリターン時に設定 ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。