Lines Matching defs:sock

4064 static int selinux_socket_post_create(struct socket *sock, int family,  in selinux_socket_post_create()
4098 static int selinux_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in selinux_socket_bind()
4197 static int selinux_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) in selinux_socket_connect()
4253 static int selinux_socket_listen(struct socket *sock, int backlog) in selinux_socket_listen()
4258 static int selinux_socket_accept(struct socket *sock, struct socket *newsock) in selinux_socket_accept()
4278 static int selinux_socket_sendmsg(struct socket *sock, struct msghdr *msg, in selinux_socket_sendmsg()
4284 static int selinux_socket_recvmsg(struct socket *sock, struct msghdr *msg, in selinux_socket_recvmsg()
4290 static int selinux_socket_getsockname(struct socket *sock) in selinux_socket_getsockname()
4295 static int selinux_socket_getpeername(struct socket *sock) in selinux_socket_getpeername()
4300 static int selinux_socket_setsockopt(struct socket *sock, int level, int optname) in selinux_socket_setsockopt()
4311 static int selinux_socket_getsockopt(struct socket *sock, int level, in selinux_socket_getsockopt()
4317 static int selinux_socket_shutdown(struct socket *sock, int how) in selinux_socket_shutdown()
4322 static int selinux_socket_unix_stream_connect(struct sock *sock, in selinux_socket_unix_stream_connect()
4356 static int selinux_socket_unix_may_send(struct socket *sock, in selinux_socket_unix_may_send()
4497 static int selinux_socket_getpeersec_stream(struct socket *sock, char __user *optval, in selinux_socket_getpeersec_stream()
4531 static int selinux_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *secid) in selinux_socket_getpeersec_dgram()