Home
last modified time | relevance | path

Searched refs:SCM_RIGHTS (Results 1 – 8 of 8) sorted by relevance

/xnu-12377.1.9/tests/
H A Duipc_uaf.c49 ctrl_msg.cmsg.cmsg_type = SCM_RIGHTS; in send_scm_rights()
60 overwrite_ctrl_msg.cmsg.cmsg_type = SCM_RIGHTS; in send_scm_rights()
H A Dfd_send.c37 cmsghdrp->cmsg_type = SCM_RIGHTS; in send_fd()
83 if (cmsghdrp->cmsg_type != SCM_RIGHTS) { in recv_fd()
H A Dsendmsg_test.c84 cmsg->cmsg_type = SCM_RIGHTS; in do_test()
H A Dscm_rights_leak.c50 cmsg->cmsg_type = SCM_RIGHTS;
H A Dtcp_send_implied_connect.c112 cmsghdrp->cmsg_type = SCM_RIGHTS; in tcp_send_implied_connect_v4()
188 cmsghdrp->cmsg_type = SCM_RIGHTS; in tcp_send_implied_connect_v6()
/xnu-12377.1.9/bsd/sys/
H A Dsocket.h726 #define SCM_RIGHTS 0x01 /* access rights (array of int) */ macro
/xnu-12377.1.9/bsd/kern/
H A Duipc_usrreq.c2502 if (cm->cmsg_type != SCM_RIGHTS || cm->cmsg_level != SOL_SOCKET || in unp_internalize()
2792 cm->cmsg_type != SCM_RIGHTS) { in unp_scan()
H A Duipc_socket.c2945 if (cm->cmsg_level == SOL_SOCKET && cm->cmsg_type == SCM_RIGHTS) { in sopeek_scm_rights()
3051 cmsg_type == SCM_RIGHTS) { in soreceive_ctl()