sys/socket.h: Add "Socket"-level control message types
Signed-off-by: Huang Qi <huangqi3@xiaomi.com> Change-Id: I05f8dd29501f6b06cdd278e0e416f210a98aa6b0
This commit is contained in:
parent
b4b175cb7f
commit
45dc778865
@ -261,6 +261,12 @@
|
||||
#define CMSG_FIRSTHDR(msg) \
|
||||
__CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
|
||||
|
||||
/* "Socket"-level control message types: */
|
||||
|
||||
#define SCM_RIGHTS 0x01 /* rw: access rights (array of int) */
|
||||
#define SCM_CREDENTIALS 0x02 /* rw: struct ucred */
|
||||
#define SCM_SECURITY 0x03 /* rw: security label */
|
||||
|
||||
/****************************************************************************
|
||||
* Type Definitions
|
||||
****************************************************************************/
|
||||
|
Loading…
x
Reference in New Issue
Block a user