Lines Matching defs:sock
4413 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()
4675 static int selinux_socket_getsockopt(struct socket *sock, int level, in selinux_socket_getsockopt()
4681 static int selinux_socket_shutdown(struct socket *sock, int how) in selinux_socket_shutdown()
4686 static int selinux_socket_unix_stream_connect(struct sock *sock, in selinux_socket_unix_stream_connect()
4720 static int selinux_socket_unix_may_send(struct socket *sock, in selinux_socket_unix_may_send()
4861 static int selinux_socket_getpeersec_stream(struct socket *sock, char __user *optval, in selinux_socket_getpeersec_stream()
4895 static int selinux_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *secid) in selinux_socket_getpeersec_dgram()