• Home
  • Raw
  • Download

Lines Matching refs:sock

2104 int security_netlink_send(struct sock *sk, struct sk_buff *skb)
2201 int security_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk)
2203 return call_int_hook(unix_stream_connect, 0, sock, other, newsk);
2207 int security_unix_may_send(struct socket *sock, struct socket *other)
2209 return call_int_hook(unix_may_send, 0, sock, other);
2218 int security_socket_post_create(struct socket *sock, int family,
2221 return call_int_hook(socket_post_create, 0, sock, family, type,
2231 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen)
2233 return call_int_hook(socket_bind, 0, sock, address, addrlen);
2236 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen)
2238 return call_int_hook(socket_connect, 0, sock, address, addrlen);
2241 int security_socket_listen(struct socket *sock, int backlog)
2243 return call_int_hook(socket_listen, 0, sock, backlog);
2246 int security_socket_accept(struct socket *sock, struct socket *newsock)
2248 return call_int_hook(socket_accept, 0, sock, newsock);
2251 int security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size)
2253 return call_int_hook(socket_sendmsg, 0, sock, msg, size);
2256 int security_socket_recvmsg(struct socket *sock, struct msghdr *msg,
2259 return call_int_hook(socket_recvmsg, 0, sock, msg, size, flags);
2262 int security_socket_getsockname(struct socket *sock)
2264 return call_int_hook(socket_getsockname, 0, sock);
2267 int security_socket_getpeername(struct socket *sock)
2269 return call_int_hook(socket_getpeername, 0, sock);
2272 int security_socket_getsockopt(struct socket *sock, int level, int optname)
2274 return call_int_hook(socket_getsockopt, 0, sock, level, optname);
2277 int security_socket_setsockopt(struct socket *sock, int level, int optname)
2279 return call_int_hook(socket_setsockopt, 0, sock, level, optname);
2282 int security_socket_shutdown(struct socket *sock, int how)
2284 return call_int_hook(socket_shutdown, 0, sock, how);
2287 int security_sock_rcv_skb(struct sock *sk, struct sk_buff *skb)
2293 int security_socket_getpeersec_stream(struct socket *sock, char __user *optval,
2296 return call_int_hook(socket_getpeersec_stream, -ENOPROTOOPT, sock,
2300 int security_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *secid)
2302 return call_int_hook(socket_getpeersec_dgram, -ENOPROTOOPT, sock,
2307 int security_sk_alloc(struct sock *sk, int family, gfp_t priority)
2312 void security_sk_free(struct sock *sk)
2317 void security_sk_clone(const struct sock *sk, struct sock *newsk)
2323 void security_sk_classify_flow(struct sock *sk, struct flowi_common *flic)
2336 void security_sock_graft(struct sock *sk, struct socket *parent)
2342 int security_inet_conn_request(const struct sock *sk,
2349 void security_inet_csk_clone(struct sock *newsk,
2355 void security_inet_conn_established(struct sock *sk,
2404 int security_tun_dev_attach(struct sock *sk, void *security)
2422 int security_sctp_bind_connect(struct sock *sk, int optname,
2430 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk,
2431 struct sock *newsk)