Home
last modified time | relevance | path

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

/security/selinux/include/
Dsecurity.h177 int security_node_sid(u16 domain, void *addr, u32 addrlen,
/security/
Dsecurity.c1053 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_bind() argument
1055 return security_ops->socket_bind(sock, address, addrlen); in security_socket_bind()
1058 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_connect() argument
1060 return security_ops->socket_connect(sock, address, addrlen); in security_socket_connect()
Dcapability.c598 int addrlen) in cap_socket_bind() argument
604 int addrlen) in cap_socket_connect() argument
/security/selinux/ss/
Dservices.c2256 u32 addrlen, in security_node_sid() argument
2269 if (addrlen != sizeof(u32)) in security_node_sid()
2285 if (addrlen != sizeof(u64) * 2) in security_node_sid()
/security/smack/
Dsmack_lsm.c2063 int addrlen) in smack_socket_connect() argument
2067 if (addrlen < sizeof(struct sockaddr_in)) in smack_socket_connect()
/security/selinux/
Dhooks.c3971 static int selinux_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in selinux_socket_bind() argument
4073 static int selinux_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) in selinux_socket_connect() argument
4098 if (addrlen < sizeof(struct sockaddr_in)) in selinux_socket_connect()
4103 if (addrlen < SIN6_LEN_RFC2133) in selinux_socket_connect()