/security/apparmor/ |
D | lsm.c | 829 static int apparmor_socket_post_create(struct socket *sock, int family, in apparmor_socket_post_create() 856 static int apparmor_socket_bind(struct socket *sock, in apparmor_socket_bind() 872 static int apparmor_socket_connect(struct socket *sock, in apparmor_socket_connect() 888 static int apparmor_socket_listen(struct socket *sock, int backlog) in apparmor_socket_listen() 905 static int apparmor_socket_accept(struct socket *sock, struct socket *newsock) in apparmor_socket_accept() 917 static int aa_sock_msg_perm(const char *op, u32 request, struct socket *sock, in aa_sock_msg_perm() 933 static int apparmor_socket_sendmsg(struct socket *sock, in apparmor_socket_sendmsg() 942 static int apparmor_socket_recvmsg(struct socket *sock, in apparmor_socket_recvmsg() 949 static int aa_sock_perm(const char *op, u32 request, struct socket *sock) in aa_sock_perm() 963 static int apparmor_socket_getsockname(struct socket *sock) in apparmor_socket_getsockname() [all …]
|
D | net.c | 180 struct socket *sock) in aa_sock_file_perm()
|
D | file.c | 565 struct socket *sock = (struct socket *) file->private_data; in __file_sock_perm() local
|
/security/tomoyo/ |
D | tomoyo.c | 439 static int tomoyo_socket_listen(struct socket *sock, int backlog) in tomoyo_socket_listen() 453 static int tomoyo_socket_connect(struct socket *sock, struct sockaddr *addr, in tomoyo_socket_connect() 468 static int tomoyo_socket_bind(struct socket *sock, struct sockaddr *addr, in tomoyo_socket_bind() 483 static int tomoyo_socket_sendmsg(struct socket *sock, struct msghdr *msg, in tomoyo_socket_sendmsg()
|
D | network.c | 650 int tomoyo_socket_listen_permission(struct socket *sock) in tomoyo_socket_listen_permission() 686 int tomoyo_socket_connect_permission(struct socket *sock, in tomoyo_socket_connect_permission() 723 int tomoyo_socket_bind_permission(struct socket *sock, struct sockaddr *addr, in tomoyo_socket_bind_permission() 758 int tomoyo_socket_sendmsg_permission(struct socket *sock, struct msghdr *msg, in tomoyo_socket_sendmsg_permission()
|
/security/ |
D | security.c | 1962 int security_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk) in security_unix_stream_connect() 1968 int security_unix_may_send(struct socket *sock, struct socket *other) in security_unix_may_send() 1979 int security_socket_post_create(struct socket *sock, int family, in security_socket_post_create() 1992 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_bind() 1997 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_connect() 2002 int security_socket_listen(struct socket *sock, int backlog) in security_socket_listen() 2007 int security_socket_accept(struct socket *sock, struct socket *newsock) in security_socket_accept() 2012 int security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size) in security_socket_sendmsg() 2017 int security_socket_recvmsg(struct socket *sock, struct msghdr *msg, in security_socket_recvmsg() 2023 int security_socket_getsockname(struct socket *sock) in security_socket_getsockname() [all …]
|
/security/smack/ |
D | smack_lsm.c | 1441 struct socket *sock; in smack_inode_getsecurity() local 1830 struct socket *sock; in smack_file_receive() local 2530 static void smk_ipv6_port_label(struct socket *sock, struct sockaddr *address) in smk_ipv6_port_label() 2691 struct socket *sock; in smack_inode_setsecurity() local 2752 static int smack_socket_post_create(struct socket *sock, int family, in smack_socket_post_create() 2809 static int smack_socket_bind(struct socket *sock, struct sockaddr *address, in smack_socket_bind() 2832 static int smack_socket_connect(struct socket *sock, struct sockaddr *sap, in smack_socket_connect() 3585 static int smack_unix_stream_connect(struct sock *sock, in smack_unix_stream_connect() 3636 static int smack_unix_may_send(struct socket *sock, struct socket *other) in smack_unix_may_send() 3668 static int smack_socket_sendmsg(struct socket *sock, struct msghdr *msg, in smack_socket_sendmsg() [all …]
|
/security/selinux/ |
D | hooks.c | 4510 static int selinux_socket_post_create(struct socket *sock, int family, in selinux_socket_post_create() 4560 static int selinux_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in selinux_socket_bind() 4694 static int selinux_socket_connect_helper(struct socket *sock, in selinux_socket_connect_helper() 4785 static int selinux_socket_connect(struct socket *sock, in selinux_socket_connect() 4798 static int selinux_socket_listen(struct socket *sock, int backlog) in selinux_socket_listen() 4803 static int selinux_socket_accept(struct socket *sock, struct socket *newsock) in selinux_socket_accept() 4829 static int selinux_socket_sendmsg(struct socket *sock, struct msghdr *msg, in selinux_socket_sendmsg() 4835 static int selinux_socket_recvmsg(struct socket *sock, struct msghdr *msg, in selinux_socket_recvmsg() 4841 static int selinux_socket_getsockname(struct socket *sock) in selinux_socket_getsockname() 4846 static int selinux_socket_getpeername(struct socket *sock) in selinux_socket_getpeername() [all …]
|
D | netlabel.c | 501 int selinux_netlbl_socket_setsockopt(struct socket *sock, in selinux_netlbl_socket_setsockopt()
|
/security/selinux/include/ |
D | netlabel.h | 138 static inline int selinux_netlbl_socket_setsockopt(struct socket *sock, in selinux_netlbl_socket_setsockopt()
|
/security/selinux/ss/ |
D | mls.c | 493 bool sock) in mls_compute_sid()
|
D | services.c | 1702 bool sock; in security_compute_sid() local
|