Home
last modified time | relevance | path

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

/security/apparmor/include/
Daudit.h137 int addrlen; member
/security/
Dsecurity.c2231 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_bind() argument
2233 return call_int_hook(socket_bind, 0, sock, address, addrlen); in security_socket_bind()
2236 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_connect() argument
2238 return call_int_hook(socket_connect, 0, sock, address, addrlen); in security_socket_connect()
2423 struct sockaddr *address, int addrlen) in security_sctp_bind_connect() argument
2426 address, addrlen); in security_sctp_bind_connect()
/security/apparmor/
Dlsm.c884 struct sockaddr *address, int addrlen) in apparmor_socket_bind() argument
892 bind_perm(sock, address, addrlen), in apparmor_socket_bind()
900 struct sockaddr *address, int addrlen) in apparmor_socket_connect() argument
908 connect_perm(sock, address, addrlen), in apparmor_socket_connect()
/security/selinux/
Dhooks.c4769 static int selinux_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in selinux_socket_bind() argument
4798 if (addrlen < offsetofend(struct sockaddr, sa_family)) in selinux_socket_bind()
4804 if (addrlen < sizeof(struct sockaddr_in)) in selinux_socket_bind()
4810 if (addrlen < SIN6_LEN_RFC2133) in selinux_socket_bind()
4826 if (addrlen < SIN6_LEN_RFC2133) in selinux_socket_bind()
4911 struct sockaddr *address, int addrlen) in selinux_socket_connect_helper() argument
4920 if (addrlen < offsetofend(struct sockaddr, sa_family)) in selinux_socket_connect_helper()
4951 if (addrlen < sizeof(struct sockaddr_in)) in selinux_socket_connect_helper()
4957 if (addrlen < SIN6_LEN_RFC2133) in selinux_socket_connect_helper()
5002 struct sockaddr *address, int addrlen) in selinux_socket_connect() argument
[all …]
/security/selinux/include/
Dsecurity.h371 u16 domain, void *addr, u32 addrlen,
/security/smack/
Dsmack_lsm.c2836 int addrlen) in smack_socket_bind() argument
2839 if (addrlen < SIN6_LEN_RFC2133 || in smack_socket_bind()
2859 int addrlen) in smack_socket_connect() argument
2868 if (addrlen < offsetofend(struct sockaddr, sa_family)) in smack_socket_connect()
2874 if (addrlen < SIN6_LEN_RFC2133) in smack_socket_connect()
2889 if (sap->sa_family != AF_INET || addrlen < sizeof(struct sockaddr_in)) in smack_socket_connect()
/security/selinux/ss/
Dservices.c2661 u32 addrlen, in security_node_sid() argument
2686 if (addrlen != sizeof(u32)) in security_node_sid()
2702 if (addrlen != sizeof(u64) * 2) in security_node_sid()