Home
last modified time | relevance | path

Searched refs:addrlen (Results 1 – 5 of 5) sorted by relevance

/security/selinux/include/
Dsecurity.h194 int security_node_sid(u16 domain, void *addr, u32 addrlen,
/security/
Dsecurity.c1358 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_bind() argument
1360 return call_int_hook(socket_bind, 0, sock, address, addrlen); in security_socket_bind()
1363 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_connect() argument
1365 return call_int_hook(socket_connect, 0, sock, address, addrlen); in security_socket_connect()
/security/smack/
Dsmack_lsm.c2844 int addrlen) in smack_socket_bind() argument
2863 int addrlen) in smack_socket_connect() argument
2879 if (addrlen < sizeof(struct sockaddr_in)) in smack_socket_connect()
2884 if (addrlen < sizeof(struct sockaddr_in6)) in smack_socket_connect()
/security/selinux/ss/
Dservices.c2393 u32 addrlen, in security_node_sid() argument
2406 if (addrlen != sizeof(u32)) in security_node_sid()
2422 if (addrlen != sizeof(u64) * 2) in security_node_sid()
/security/selinux/
Dhooks.c4447 static int selinux_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in selinux_socket_bind() argument
4474 if (addrlen < sizeof(struct sockaddr_in)) { in selinux_socket_bind()
4482 if (addrlen < SIN6_LEN_RFC2133) { in selinux_socket_bind()
4555 static int selinux_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) in selinux_socket_connect() argument
4579 if (addrlen < sizeof(struct sockaddr_in)) in selinux_socket_connect()
4584 if (addrlen < SIN6_LEN_RFC2133) in selinux_socket_connect()