Home
last modified time | relevance | path

Searched refs:newsk (Results 1 – 6 of 6) sorted by relevance

/security/selinux/include/
Dnetlabel.h46 void selinux_netlbl_sctp_sk_clone(struct sock *sk, struct sock *newsk);
116 struct sock *newsk) in selinux_netlbl_sctp_sk_clone() argument
/security/selinux/
Dnetlabel.c371 void selinux_netlbl_sctp_sk_clone(struct sock *sk, struct sock *newsk) in selinux_netlbl_sctp_sk_clone() argument
374 struct sk_security_struct *newsksec = newsk->sk_security; in selinux_netlbl_sctp_sk_clone()
Dhooks.c5091 struct sock *newsk) in selinux_socket_unix_stream_connect() argument
5095 struct sk_security_struct *sksec_new = newsk->sk_security; in selinux_socket_unix_stream_connect()
5361 static void selinux_sk_clone_security(const struct sock *sk, struct sock *newsk) in selinux_sk_clone_security() argument
5364 struct sk_security_struct *newsksec = newsk->sk_security; in selinux_sk_clone_security()
5552 struct sock *newsk) in selinux_sctp_sk_clone() argument
5555 struct sk_security_struct *newsksec = newsk->sk_security; in selinux_sctp_sk_clone()
5561 return selinux_sk_clone_security(sk, newsk); in selinux_sctp_sk_clone()
5566 selinux_netlbl_sctp_sk_clone(sk, newsk); in selinux_sctp_sk_clone()
5590 static void selinux_inet_csk_clone(struct sock *newsk, in selinux_inet_csk_clone() argument
5593 struct sk_security_struct *newsksec = newsk->sk_security; in selinux_inet_csk_clone()
[all …]
/security/
Dsecurity.c2201 int security_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk) in security_unix_stream_connect() argument
2203 return call_int_hook(unix_stream_connect, 0, sock, other, newsk); in security_unix_stream_connect()
2317 void security_sk_clone(const struct sock *sk, struct sock *newsk) in security_sk_clone() argument
2319 call_void_hook(sk_clone_security, sk, newsk); in security_sk_clone()
2349 void security_inet_csk_clone(struct sock *newsk, in security_inet_csk_clone() argument
2352 call_void_hook(inet_csk_clone, newsk, req); in security_inet_csk_clone()
2431 struct sock *newsk) in security_sctp_sk_clone() argument
2433 call_void_hook(sctp_sk_clone, ep, sk, newsk); in security_sctp_sk_clone()
/security/apparmor/
Dlsm.c811 struct sock *newsk) in apparmor_sk_clone_security() argument
814 struct aa_sk_ctx *new = SK_CTX(newsk); in apparmor_sk_clone_security()
/security/smack/
Dsmack_lsm.c3603 struct sock *other, struct sock *newsk) in smack_unix_stream_connect() argument
3609 struct socket_smack *nsp = newsk->sk_security; in smack_unix_stream_connect()