/security/tomoyo/ |
H A D | network.c | 10 /* Structure for holding inet domain socket's address. */ 13 const __be32 *address; /* In network byte order. */ member in struct:tomoyo_inet_addr_info 17 /* Structure for holding unix domain socket's address. */ 23 /* Structure for holding socket address. */ 42 * tomoyo_parse_ipaddr_union - Parse an IP address. 54 char *address = tomoyo_read_token(param); local 57 if (!strchr(address, ':') && 58 in4_pton(address, -1, min, '-', &end) > 0) { 67 if (in6_pton(address, -1, min, '-', &end) > 0) { 80 * tomoyo_print_ipv4 - Print an IPv4 address 362 tomoyo_audit_net_log(struct tomoyo_request_info *r, const char *family, const u8 protocol, const u8 operation, const char *address) argument 382 const __be32 *address = r->param.inet_network.address; local 466 tomoyo_inet_entry(const struct tomoyo_addr_info *address) argument 500 tomoyo_check_inet_address(const struct sockaddr *addr, const unsigned int addr_len, const u16 port, struct tomoyo_addr_info *address) argument 541 tomoyo_unix_entry(const struct tomoyo_addr_info *address) argument 590 tomoyo_check_unix_address(struct sockaddr *addr, const unsigned int addr_len, struct tomoyo_addr_info *address) argument 647 struct tomoyo_addr_info address; local 683 struct tomoyo_addr_info address; local 720 struct tomoyo_addr_info address; local 755 struct tomoyo_addr_info address; local [all...] |
H A D | group.c | 60 return tomoyo_same_ipaddr_union(&p1->address, &p2->address); 103 !tomoyo_parse_ipaddr_union(param, &e.address)) 169 * tomoyo_address_matches_group - Check whether the given address matches members of the given address group. 171 * @is_ipv6: True if @address is an IPv6 address. 172 * @address: An IPv4 or IPv6 address. 175 * Returns true if @address matche 179 tomoyo_address_matches_group(const bool is_ipv6, const __be32 *address, const struct tomoyo_group *group) argument [all...] |
H A D | common.h | 464 const __be32 *address; member in struct:tomoyo_request_info::__anon33::__anon39 473 const struct tomoyo_path_info *address; member in struct:tomoyo_request_info::__anon33::__anon40 529 /* Structure for holding an IP address. */ 532 struct tomoyo_group *group; /* Pointer to address group. */ 558 /* Structure for holding an IP address. */ 559 struct tomoyo_ipaddr_union address; member in struct:tomoyo_address_group 762 struct tomoyo_ipaddr_union address; member in struct:tomoyo_inet_acl 916 bool tomoyo_address_matches_group(const bool is_ipv6, const __be32 *address,
|
H A D | gc.c | 212 tomoyo_put_group(entry->address.group);
|
H A D | common.c | 1486 if (ptr->address.group) { 1488 tomoyo_set_string(head, ptr->address.group->group_name 1492 tomoyo_print_ip(buf, sizeof(buf), &ptr->address); 1777 &member->address);
|
/security/smack/ |
H A D | smack_lsm.c | 2171 * @sap: the destination address 2174 * address and perform any outbound access checks needed. 2217 * @address: address 2221 static void smk_ipv6_port_label(struct socket *sock, struct sockaddr *address) argument 2229 if (address == NULL) { 2243 * A NULL address is only used for updating existing 2249 addr6 = (struct sockaddr_in6 *)address; 2290 * @address: address 2294 smk_ipv6_port_check(struct sock *sk, struct sockaddr_in6 *address, int act) argument 2462 smack_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) argument [all...] |
/security/ |
H A D | Kconfig | 104 int "Low address space for LSM to protect from user allocation" 113 For most ia64, ppc64 and x86 users with lots of address space 117 this low address space will need the permission specific to the
|
H A D | security.c | 1179 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) argument 1181 return security_ops->socket_bind(sock, address, addrlen); 1184 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) argument 1186 return security_ops->socket_connect(sock, address, addrlen);
|
H A D | capability.c | 618 static int cap_socket_bind(struct socket *sock, struct sockaddr *address, argument 624 static int cap_socket_connect(struct socket *sock, struct sockaddr *address, argument
|
/security/selinux/ |
H A D | hooks.c | 3367 /* do DAC check on address space usage */ 4124 static int selinux_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) argument 4136 * Multiple address binding for SCTP is not supported yet: we just 4137 * check the first address now. 4151 addr4 = (struct sockaddr_in *)address; 4155 addr6 = (struct sockaddr_in6 *)address; 4223 static int selinux_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) argument 4246 addr4 = (struct sockaddr_in *)address; 4251 addr6 = (struct sockaddr_in6 *)address; 4273 err = selinux_netlbl_socket_connect(sk, address); [all...] |