Searched refs:optname (Results 1 – 5 of 5) sorted by relevance
/security/selinux/ |
D | netlabel.c | 482 static inline int selinux_netlbl_option(int level, int optname) in selinux_netlbl_option() argument 484 return (level == IPPROTO_IP && optname == IP_OPTIONS) || in selinux_netlbl_option() 485 (level == IPPROTO_IPV6 && optname == IPV6_HOPOPTS); in selinux_netlbl_option() 503 int optname) in selinux_netlbl_socket_setsockopt() argument 510 if (selinux_netlbl_option(level, optname) && in selinux_netlbl_socket_setsockopt()
|
D | hooks.c | 4851 static int selinux_socket_setsockopt(struct socket *sock, int level, int optname) in selinux_socket_setsockopt() argument 4859 return selinux_netlbl_socket_setsockopt(sock, level, optname); in selinux_socket_setsockopt() 4863 int optname) in selinux_socket_getsockopt() argument 5256 static int selinux_sctp_bind_connect(struct sock *sk, int optname, in selinux_sctp_bind_connect() argument 5293 switch (optname) { in selinux_sctp_bind_connect()
|
/security/selinux/include/ |
D | netlabel.h | 54 int optname); 140 int optname) in selinux_netlbl_socket_setsockopt() argument
|
/security/apparmor/ |
D | lsm.c | 978 int level, int optname) in aa_sock_opt_perm() argument 985 opt_perm(op, request, sock, level, optname), in aa_sock_opt_perm() 993 int optname) in apparmor_socket_getsockopt() argument 996 level, optname); in apparmor_socket_getsockopt() 1003 int optname) in apparmor_socket_setsockopt() argument 1006 level, optname); in apparmor_socket_setsockopt()
|
/security/ |
D | security.c | 2033 int security_socket_getsockopt(struct socket *sock, int level, int optname) in security_socket_getsockopt() argument 2035 return call_int_hook(socket_getsockopt, 0, sock, level, optname); in security_socket_getsockopt() 2038 int security_socket_setsockopt(struct socket *sock, int level, int optname) in security_socket_setsockopt() argument 2040 return call_int_hook(socket_setsockopt, 0, sock, level, optname); in security_socket_setsockopt() 2182 int security_sctp_bind_connect(struct sock *sk, int optname, in security_sctp_bind_connect() argument 2185 return call_int_hook(sctp_bind_connect, 0, sk, optname, in security_sctp_bind_connect()
|