Searched refs:addrlen (Results 1 – 7 of 7) sorted by relevance
/security/apparmor/include/ |
D | audit.h | 137 int addrlen; member
|
/security/apparmor/ |
D | lsm.c | 857 struct sockaddr *address, int addrlen) in apparmor_socket_bind() argument 865 bind_perm(sock, address, addrlen), in apparmor_socket_bind() 873 struct sockaddr *address, int addrlen) in apparmor_socket_connect() argument 881 connect_perm(sock, address, addrlen), in apparmor_socket_connect()
|
/security/ |
D | security.c | 1992 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_bind() argument 1994 return call_int_hook(socket_bind, 0, sock, address, addrlen); in security_socket_bind() 1997 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_connect() argument 1999 return call_int_hook(socket_connect, 0, sock, address, addrlen); in security_socket_connect() 2183 struct sockaddr *address, int addrlen) in security_sctp_bind_connect() argument 2186 address, addrlen); in security_sctp_bind_connect()
|
/security/selinux/ |
D | hooks.c | 4560 static int selinux_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in selinux_socket_bind() argument 4589 if (addrlen < offsetofend(struct sockaddr, sa_family)) in selinux_socket_bind() 4595 if (addrlen < sizeof(struct sockaddr_in)) in selinux_socket_bind() 4610 if (addrlen < SIN6_LEN_RFC2133) in selinux_socket_bind() 4695 struct sockaddr *address, int addrlen) in selinux_socket_connect_helper() argument 4704 if (addrlen < offsetofend(struct sockaddr, sa_family)) in selinux_socket_connect_helper() 4735 if (addrlen < sizeof(struct sockaddr_in)) in selinux_socket_connect_helper() 4741 if (addrlen < SIN6_LEN_RFC2133) in selinux_socket_connect_helper() 4786 struct sockaddr *address, int addrlen) in selinux_socket_connect() argument 4791 err = selinux_socket_connect_helper(sock, address, addrlen); in selinux_socket_connect() [all …]
|
/security/selinux/include/ |
D | security.h | 302 u16 domain, void *addr, u32 addrlen,
|
/security/smack/ |
D | smack_lsm.c | 2810 int addrlen) in smack_socket_bind() argument 2813 if (addrlen < SIN6_LEN_RFC2133 || in smack_socket_bind() 2833 int addrlen) in smack_socket_connect() argument 2853 if (addrlen < sizeof(struct sockaddr_in) || in smack_socket_connect() 2859 if (addrlen < SIN6_LEN_RFC2133 || sap->sa_family != AF_INET6) in smack_socket_connect()
|
/security/selinux/ss/ |
D | services.c | 2512 u32 addrlen, in security_node_sid() argument 2528 if (addrlen != sizeof(u32)) in security_node_sid() 2544 if (addrlen != sizeof(u64) * 2) in security_node_sid()
|