/security/ |
D | capability.c | 575 static int cap_unix_stream_connect(struct sock *sock, struct sock *other, in cap_unix_stream_connect() 581 static int cap_unix_may_send(struct socket *sock, struct socket *other) in cap_unix_may_send() 591 static int cap_socket_post_create(struct socket *sock, int family, int type, in cap_socket_post_create() 597 static int cap_socket_bind(struct socket *sock, struct sockaddr *address, in cap_socket_bind() 603 static int cap_socket_connect(struct socket *sock, struct sockaddr *address, in cap_socket_connect() 609 static int cap_socket_listen(struct socket *sock, int backlog) in cap_socket_listen() 614 static int cap_socket_accept(struct socket *sock, struct socket *newsock) in cap_socket_accept() 619 static int cap_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size) in cap_socket_sendmsg() 624 static int cap_socket_recvmsg(struct socket *sock, struct msghdr *msg, in cap_socket_recvmsg() 630 static int cap_socket_getsockname(struct socket *sock) in cap_socket_getsockname() [all …]
|
D | security.c | 1029 int security_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk) in security_unix_stream_connect() 1035 int security_unix_may_send(struct socket *sock, struct socket *other) in security_unix_may_send() 1046 int security_socket_post_create(struct socket *sock, int family, in security_socket_post_create() 1053 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_bind() 1058 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_connect() 1063 int security_socket_listen(struct socket *sock, int backlog) in security_socket_listen() 1068 int security_socket_accept(struct socket *sock, struct socket *newsock) in security_socket_accept() 1073 int security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size) in security_socket_sendmsg() 1078 int security_socket_recvmsg(struct socket *sock, struct msghdr *msg, in security_socket_recvmsg() 1084 int security_socket_getsockname(struct socket *sock) in security_socket_getsockname() [all …]
|
/security/tomoyo/ |
D | tomoyo.c | 450 static int tomoyo_socket_listen(struct socket *sock, int backlog) in tomoyo_socket_listen() 464 static int tomoyo_socket_connect(struct socket *sock, struct sockaddr *addr, in tomoyo_socket_connect() 479 static int tomoyo_socket_bind(struct socket *sock, struct sockaddr *addr, in tomoyo_socket_bind() 494 static int tomoyo_socket_sendmsg(struct socket *sock, struct msghdr *msg, in tomoyo_socket_sendmsg()
|
D | network.c | 645 int tomoyo_socket_listen_permission(struct socket *sock) in tomoyo_socket_listen_permission() 680 int tomoyo_socket_connect_permission(struct socket *sock, in tomoyo_socket_connect_permission() 717 int tomoyo_socket_bind_permission(struct socket *sock, struct sockaddr *addr, in tomoyo_socket_bind_permission() 752 int tomoyo_socket_sendmsg_permission(struct socket *sock, struct msghdr *msg, in tomoyo_socket_sendmsg_permission()
|
D | realpath.c | 223 struct socket *sock = inode ? SOCKET_I(inode) : NULL; in tomoyo_get_socket_name() local
|
/security/selinux/include/ |
D | netlabel.h | 136 static inline int selinux_netlbl_socket_setsockopt(struct socket *sock, in selinux_netlbl_socket_setsockopt()
|
/security/smack/ |
D | smack_lsm.c | 957 struct socket *sock; in smack_inode_getsecurity() local 1985 struct socket *sock; in smack_inode_setsecurity() local 2041 static int smack_socket_post_create(struct socket *sock, int family, in smack_socket_post_create() 2062 static int smack_socket_connect(struct socket *sock, struct sockaddr *sap, in smack_socket_connect() 2806 static int smack_unix_stream_connect(struct sock *sock, in smack_unix_stream_connect() 2844 static int smack_unix_may_send(struct socket *sock, struct socket *other) in smack_unix_may_send() 2874 static int smack_socket_sendmsg(struct socket *sock, struct msghdr *msg, in smack_socket_sendmsg() 3049 static int smack_socket_getpeersec_stream(struct socket *sock, in smack_socket_getpeersec_stream() 3084 static int smack_socket_getpeersec_dgram(struct socket *sock, in smack_socket_getpeersec_dgram()
|
/security/selinux/ |
D | hooks.c | 3937 static int selinux_socket_post_create(struct socket *sock, int family, in selinux_socket_post_create() 3971 static int selinux_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in selinux_socket_bind() 4073 static int selinux_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) in selinux_socket_connect() 4131 static int selinux_socket_listen(struct socket *sock, int backlog) in selinux_socket_listen() 4136 static int selinux_socket_accept(struct socket *sock, struct socket *newsock) in selinux_socket_accept() 4156 static int selinux_socket_sendmsg(struct socket *sock, struct msghdr *msg, in selinux_socket_sendmsg() 4162 static int selinux_socket_recvmsg(struct socket *sock, struct msghdr *msg, in selinux_socket_recvmsg() 4168 static int selinux_socket_getsockname(struct socket *sock) in selinux_socket_getsockname() 4173 static int selinux_socket_getpeername(struct socket *sock) in selinux_socket_getpeername() 4178 static int selinux_socket_setsockopt(struct socket *sock, int level, int optname) in selinux_socket_setsockopt() [all …]
|
D | netlabel.c | 399 int selinux_netlbl_socket_setsockopt(struct socket *sock, in selinux_netlbl_socket_setsockopt()
|
/security/selinux/ss/ |
D | mls.c | 516 bool sock) in mls_compute_sid()
|
D | services.c | 1578 bool sock; in security_compute_sid() local
|