/security/selinux/ |
H A D | netport.c | 2 * Network port table 71 * sel_netport_hashfn - Hashing function for the port table 72 * @pnum: port number 75 * This is the hashing function for the port table, it returns the bucket 76 * number for the given port. 85 * sel_netport_find - Search for a port record 87 * @port: pnum 90 * Search the network port table and return the matching record. If an entry 97 struct sel_netport *port; local 100 list_for_each_entry_rcu(port, 115 sel_netport_insert(struct sel_netport *port) argument 151 struct sel_netport *port; local 199 struct sel_netport *port; local 223 struct sel_netport *port, *port_tmp; local [all...] |
/security/tomoyo/ |
H A D | network.c | 12 __be16 port; /* In network byte order. */ member in struct:tomoyo_inet_addr_info 199 tomoyo_same_number_union(&p1->port, &p2->port); 307 if (!tomoyo_parse_number_union(param, &e.port) || 308 e.port.values[1] > 65535) 315 tomoyo_put_number_union(&e.port); 391 r->param.inet_network.port); 426 !tomoyo_compare_number_union(r->param.inet_network.port, 427 &acl->port)) 480 r.param.inet_network.port 500 tomoyo_check_inet_address(const struct sockaddr *addr, const unsigned int addr_len, const u16 port, struct tomoyo_addr_info *address) argument [all...] |
H A D | gc.c | 213 tomoyo_put_number_union(&entry->port);
|
H A D | common.h | 465 u16 port; member in struct:tomoyo_request_info::__anon33::__anon39 763 struct tomoyo_number_union port; member in struct:tomoyo_inet_acl
|
H A D | common.c | 1495 tomoyo_print_number_union(head, &ptr->port);
|
/security/ |
H A D | lsm_audit.c | 188 struct in6_addr *addr, __be16 port, 193 if (port) 194 audit_log_format(ab, " %s=%d", name2, ntohs(port)); 198 __be16 port, char *name1, char *name2) 202 if (port) 203 audit_log_format(ab, " %s=%d", name2, ntohs(port)); 187 print_ipv6_addr(struct audit_buffer *ab, struct in6_addr *addr, __be16 port, char *name1, char *name2) argument 197 print_ipv4_addr(struct audit_buffer *ab, __be32 addr, __be16 port, char *name1, char *name2) argument
|
/security/selinux/include/ |
H A D | objsec.h | 98 u16 port; /* port number */ member in struct:netport_security_struct
|
H A D | security.h | 180 int security_port_sid(u8 protocol, u16 port, u32 *out_sid);
|
/security/selinux/ss/ |
H A D | policydb.h | 169 * initial SIDs, unlabeled file systems, TCP and UDP port numbers, 181 } port; /* TCP or UDP port information */ member in union:ocontext::__anon27 220 #define OCON_PORT 2 /* TCP and UDP port numbers */ 274 TCP or UDP port numbers, network interfaces and nodes */
|
H A D | services.c | 2159 * security_port_sid - Obtain the SID for a port. 2161 * @port: port number 2164 int security_port_sid(u8 protocol, u16 port, u32 *out_sid) argument 2173 if (c->u.port.protocol == protocol && 2174 c->u.port.low_port <= port && 2175 c->u.port.high_port >= port)
|
H A D | policydb.c | 2164 c->u.port.protocol = le32_to_cpu(buf[0]); 2165 c->u.port.low_port = le32_to_cpu(buf[1]); 2166 c->u.port.high_port = le32_to_cpu(buf[2]); 3100 buf[0] = cpu_to_le32(c->u.port.protocol); 3101 buf[1] = cpu_to_le32(c->u.port.low_port); 3102 buf[2] = cpu_to_le32(c->u.port.high_port);
|
/security/smack/ |
H A D | smack_lsm.c | 2215 * smk_ipv6_port_label - Smack port access table management 2219 * Create or update the port list entry 2227 unsigned short port = 0; local 2232 * on the bound socket. Take the changes to the port 2250 port = ntohs(addr6->sin6_port); 2254 if (port == 0) 2258 * Look for an existing port list entry. 2259 * This is an indication that a port is getting reused. 2262 if (spp->smk_port != port) 2264 spp->smk_port = port; 2302 unsigned short port = 0; local [all...] |