Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 10 of 10) sorted by relevance

/security/tomoyo/
Dtomoyo.c446 static int tomoyo_socket_listen(struct socket *sock, int backlog) in tomoyo_socket_listen()
460 static int tomoyo_socket_connect(struct socket *sock, struct sockaddr *addr, in tomoyo_socket_connect()
475 static int tomoyo_socket_bind(struct socket *sock, struct sockaddr *addr, in tomoyo_socket_bind()
490 static int tomoyo_socket_sendmsg(struct socket *sock, struct msghdr *msg, in tomoyo_socket_sendmsg()
Dnetwork.c646 int tomoyo_socket_listen_permission(struct socket *sock) in tomoyo_socket_listen_permission()
681 int tomoyo_socket_connect_permission(struct socket *sock, in tomoyo_socket_connect_permission()
718 int tomoyo_socket_bind_permission(struct socket *sock, struct sockaddr *addr, in tomoyo_socket_bind_permission()
753 int tomoyo_socket_sendmsg_permission(struct socket *sock, struct msghdr *msg, in tomoyo_socket_sendmsg_permission()
Drealpath.c224 struct socket *sock = inode ? SOCKET_I(inode) : NULL; in tomoyo_get_socket_name() local
/security/
Dsecurity.c1334 int security_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk) in security_unix_stream_connect()
1340 int security_unix_may_send(struct socket *sock, struct socket *other) in security_unix_may_send()
1351 int security_socket_post_create(struct socket *sock, int family, in security_socket_post_create()
1358 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_bind()
1363 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_connect()
1368 int security_socket_listen(struct socket *sock, int backlog) in security_socket_listen()
1373 int security_socket_accept(struct socket *sock, struct socket *newsock) in security_socket_accept()
1378 int security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size) in security_socket_sendmsg()
1383 int security_socket_recvmsg(struct socket *sock, struct msghdr *msg, in security_socket_recvmsg()
1389 int security_socket_getsockname(struct socket *sock) in security_socket_getsockname()
[all …]
/security/smack/
Dsmack_lsm.c1486 struct socket *sock; in smack_inode_getsecurity() local
1878 struct socket *sock; in smack_file_receive() local
2586 static void smk_ipv6_port_label(struct socket *sock, struct sockaddr *address) in smk_ipv6_port_label()
2746 struct socket *sock; in smack_inode_setsecurity() local
2807 static int smack_socket_post_create(struct socket *sock, int family, in smack_socket_post_create()
2843 static int smack_socket_bind(struct socket *sock, struct sockaddr *address, in smack_socket_bind()
2862 static int smack_socket_connect(struct socket *sock, struct sockaddr *sap, in smack_socket_connect()
3705 static int smack_unix_stream_connect(struct sock *sock, in smack_unix_stream_connect()
3756 static int smack_unix_may_send(struct socket *sock, struct socket *other) in smack_unix_may_send()
3788 static int smack_socket_sendmsg(struct socket *sock, struct msghdr *msg, in smack_socket_sendmsg()
[all …]
/security/selinux/include/
Dnetlabel.h138 static inline int selinux_netlbl_socket_setsockopt(struct socket *sock, in selinux_netlbl_socket_setsockopt()
/security/selinux/
Dhooks.c4413 static int selinux_socket_post_create(struct socket *sock, int family, in selinux_socket_post_create()
4447 static int selinux_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in selinux_socket_bind()
4555 static int selinux_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) in selinux_socket_connect()
4611 static int selinux_socket_listen(struct socket *sock, int backlog) in selinux_socket_listen()
4616 static int selinux_socket_accept(struct socket *sock, struct socket *newsock) in selinux_socket_accept()
4642 static int selinux_socket_sendmsg(struct socket *sock, struct msghdr *msg, in selinux_socket_sendmsg()
4648 static int selinux_socket_recvmsg(struct socket *sock, struct msghdr *msg, in selinux_socket_recvmsg()
4654 static int selinux_socket_getsockname(struct socket *sock) in selinux_socket_getsockname()
4659 static int selinux_socket_getpeername(struct socket *sock) in selinux_socket_getpeername()
4664 static int selinux_socket_setsockopt(struct socket *sock, int level, int optname) in selinux_socket_setsockopt()
[all …]
Dnetlabel.c443 int selinux_netlbl_socket_setsockopt(struct socket *sock, in selinux_netlbl_socket_setsockopt()
/security/selinux/ss/
Dmls.c511 bool sock) in mls_compute_sid()
Dservices.c1593 bool sock; in security_compute_sid() local