Searched refs:optname (Results 1 – 4 of 4) sorted by relevance
/security/selinux/ |
D | netlabel.c | 424 static inline int selinux_netlbl_option(int level, int optname) in selinux_netlbl_option() argument 426 return (level == IPPROTO_IP && optname == IP_OPTIONS) || in selinux_netlbl_option() 427 (level == IPPROTO_IPV6 && optname == IPV6_HOPOPTS); in selinux_netlbl_option() 445 int optname) in selinux_netlbl_socket_setsockopt() argument 452 if (selinux_netlbl_option(level, optname) && in selinux_netlbl_socket_setsockopt()
|
D | hooks.c | 4664 static int selinux_socket_setsockopt(struct socket *sock, int level, int optname) in selinux_socket_setsockopt() argument 4672 return selinux_netlbl_socket_setsockopt(sock, level, optname); in selinux_socket_setsockopt() 4676 int optname) in selinux_socket_getsockopt() argument
|
/security/selinux/include/ |
D | netlabel.h | 66 int optname); 140 int optname) in selinux_netlbl_socket_setsockopt() argument
|
/security/ |
D | security.c | 1399 int security_socket_getsockopt(struct socket *sock, int level, int optname) in security_socket_getsockopt() argument 1401 return call_int_hook(socket_getsockopt, 0, sock, level, optname); in security_socket_getsockopt() 1404 int security_socket_setsockopt(struct socket *sock, int level, int optname) in security_socket_setsockopt() argument 1406 return call_int_hook(socket_setsockopt, 0, sock, level, optname); in security_socket_setsockopt()
|