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);
122 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.c4875 struct sock *newsk) in selinux_socket_unix_stream_connect() argument
4879 struct sk_security_struct *sksec_new = newsk->sk_security; in selinux_socket_unix_stream_connect()
5145 static void selinux_sk_clone_security(const struct sock *sk, struct sock *newsk) in selinux_sk_clone_security() argument
5148 struct sk_security_struct *newsksec = newsk->sk_security; in selinux_sk_clone_security()
5336 struct sock *newsk) in selinux_sctp_sk_clone() argument
5339 struct sk_security_struct *newsksec = newsk->sk_security; in selinux_sctp_sk_clone()
5345 return selinux_sk_clone_security(sk, newsk); in selinux_sctp_sk_clone()
5350 selinux_netlbl_sctp_sk_clone(sk, newsk); in selinux_sctp_sk_clone()
5374 static void selinux_inet_csk_clone(struct sock *newsk, in selinux_inet_csk_clone() argument
5377 struct sk_security_struct *newsksec = newsk->sk_security; in selinux_inet_csk_clone()
[all …]
/security/
Dsecurity.c1962 int security_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk) in security_unix_stream_connect() argument
1964 return call_int_hook(unix_stream_connect, 0, sock, other, newsk); in security_unix_stream_connect()
2078 void security_sk_clone(const struct sock *sk, struct sock *newsk) in security_sk_clone() argument
2080 call_void_hook(sk_clone_security, sk, newsk); in security_sk_clone()
2109 void security_inet_csk_clone(struct sock *newsk, in security_inet_csk_clone() argument
2112 call_void_hook(inet_csk_clone, newsk, req); in security_inet_csk_clone()
2191 struct sock *newsk) in security_sctp_sk_clone() argument
2193 call_void_hook(sctp_sk_clone, ep, sk, newsk); in security_sctp_sk_clone()
/security/apparmor/
Dlsm.c789 struct sock *newsk) in apparmor_sk_clone_security() argument
792 struct aa_sk_ctx *new = SK_CTX(newsk); in apparmor_sk_clone_security()
/security/smack/
Dsmack_lsm.c3586 struct sock *other, struct sock *newsk) in smack_unix_stream_connect() argument
3592 struct socket_smack *nsp = newsk->sk_security; in smack_unix_stream_connect()