/third_party/selinux/libsepol/src/ |
D | ibpkey_record.c | 14 uint64_t subnet_prefix; member 25 uint64_t subnet_prefix; member 36 uint64_t *subnet_prefix) in ibpkey_parse_subnet_prefix() argument 46 memcpy(subnet_prefix, in_addr.s6_addr, sizeof(*subnet_prefix)); in ibpkey_parse_subnet_prefix() 56 uint64_t subnet_prefix, in ibpkey_expand_subnet_prefix() argument 62 memcpy(&addr.s6_addr[0], &subnet_prefix, sizeof(subnet_prefix)); in ibpkey_expand_subnet_prefix() 78 char **subnet_prefix) in ibpkey_alloc_subnet_prefix_string() argument 87 *subnet_prefix = tmp_subnet_prefix; in ibpkey_alloc_subnet_prefix_string() 99 const char *subnet_prefix, in sepol_ibpkey_key_create() argument 111 if (ibpkey_parse_subnet_prefix(handle, subnet_prefix, &tmp_key->subnet_prefix) < 0) in sepol_ibpkey_key_create() [all …]
|
D | ibpkeys.c | 30 tmp_ibpkey->u.ibpkey.subnet_prefix = sepol_ibpkey_get_subnet_prefix_bytes(data); in ibpkey_from_record() 80 ibpkey->u.ibpkey.subnet_prefix); in ibpkey_to_record() 127 uint64_t subnet_prefix; in sepol_ibpkey_exists() local 129 sepol_ibpkey_key_unpack(key, &subnet_prefix, &low, &high); in sepol_ibpkey_exists() 133 uint64_t subnet_prefix2 = c->u.ibpkey.subnet_prefix; in sepol_ibpkey_exists() 139 subnet_prefix == subnet_prefix2) { in sepol_ibpkey_exists() 157 uint64_t subnet_prefix; in sepol_ibpkey_query() local 159 sepol_ibpkey_key_unpack(key, &subnet_prefix, &low, &high); in sepol_ibpkey_query() 163 uint64_t subnet_prefix2 = c->u.ibpkey.subnet_prefix; in sepol_ibpkey_query() 169 subnet_prefix == subnet_prefix2) { in sepol_ibpkey_query() [all …]
|
D | kernel_to_common.c | 538 rc = (*aa)->u.ibpkey.subnet_prefix - (*bb)->u.ibpkey.subnet_prefix; in ibpkey_data_cmp()
|
D | kernel_to_conf.c | 2784 struct in6_addr subnet_prefix = IN6ADDR_ANY_INIT; in write_selinux_ibpkey_rules_to_conf() local 2793 memcpy(&subnet_prefix.s6_addr, &ibpkeycon->u.ibpkey.subnet_prefix, in write_selinux_ibpkey_rules_to_conf() 2794 sizeof(ibpkeycon->u.ibpkey.subnet_prefix)); in write_selinux_ibpkey_rules_to_conf() 2796 if (inet_ntop(AF_INET6, &subnet_prefix.s6_addr, in write_selinux_ibpkey_rules_to_conf()
|
D | kernel_to_cil.c | 2915 struct in6_addr subnet_prefix = IN6ADDR_ANY_INIT; in write_selinux_ibpkey_rules_to_cil() local 2924 memcpy(&subnet_prefix.s6_addr, &ibpkeycon->u.ibpkey.subnet_prefix, in write_selinux_ibpkey_rules_to_cil() 2925 sizeof(ibpkeycon->u.ibpkey.subnet_prefix)); in write_selinux_ibpkey_rules_to_cil() 2927 if (inet_ntop(AF_INET6, &subnet_prefix.s6_addr, in write_selinux_ibpkey_rules_to_cil()
|
D | services.c | 1901 int sepol_ibpkey_sid(uint64_t subnet_prefix, in sepol_ibpkey_sid() argument 1911 subnet_prefix == c->u.ibpkey.subnet_prefix) in sepol_ibpkey_sid()
|
D | module_to_cil.c | 2671 struct in6_addr subnet_prefix = IN6ADDR_ANY_INIT; in ocontext_selinux_ibpkey_to_cil() local 2678 memcpy(&subnet_prefix.s6_addr, &ibpkeycon->u.ibpkey.subnet_prefix, in ocontext_selinux_ibpkey_to_cil() 2679 sizeof(ibpkeycon->u.ibpkey.subnet_prefix)); in ocontext_selinux_ibpkey_to_cil() 2681 if (inet_ntop(AF_INET6, &subnet_prefix.s6_addr, in ocontext_selinux_ibpkey_to_cil()
|
D | write.c | 1509 memcpy(buf, &c->u.ibpkey.subnet_prefix, in ocontext_write_selinux() 1510 sizeof(c->u.ibpkey.subnet_prefix)); in ocontext_write_selinux()
|
D | expand.c | 2226 n->u.ibpkey.subnet_prefix = c->u.ibpkey.subnet_prefix; in ocontext_copy_selinux()
|
D | policydb.c | 3061 memcpy(&c->u.ibpkey.subnet_prefix, buf, in ocontext_read_selinux() 3062 sizeof(c->u.ibpkey.subnet_prefix)); in ocontext_read_selinux()
|
/third_party/selinux/libsepol/include/sepol/ |
D | ibpkey_record.h | 27 const char *subnet_prefix, 32 uint64_t *subnet_prefix, 51 char **subnet_prefix); 57 const char *subnet_prefix); 60 uint64_t subnet_prefix);
|
/third_party/selinux/checkpolicy/ |
D | checkpolicy.c | 1272 uint64_t subnet_prefix; in main() local 1285 memcpy(&subnet_prefix, p, sizeof(subnet_prefix)); in main() 1289 sepol_ibpkey_sid(subnet_prefix, pkey, &ssid); in main()
|
D | policy_define.c | 5057 struct in6_addr subnet_prefix; in define_ibpkey_context() local 5087 rc = inet_pton(AF_INET6, id, &subnet_prefix); in define_ibpkey_context() 5096 if (subnet_prefix.s6_addr[2] || subnet_prefix.s6_addr[3]) { in define_ibpkey_context() 5108 memcpy(&newc->u.ibpkey.subnet_prefix, &subnet_prefix.s6_addr[0], in define_ibpkey_context() 5109 sizeof(newc->u.ibpkey.subnet_prefix)); in define_ibpkey_context() 5133 c->u.ibpkey.subnet_prefix == newc->u.ibpkey.subnet_prefix) { in define_ibpkey_context() 5140 c->u.ibpkey.subnet_prefix == newc->u.ibpkey.subnet_prefix) { in define_ibpkey_context()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 368 uint64_t subnet_prefix; member
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 3341 struct in6_addr subnet_prefix; in cil_ibpkeycon_to_policydb() local 3347 rc = inet_pton(AF_INET6, cil_ibpkeycon->subnet_prefix_str, &subnet_prefix); in cil_ibpkeycon_to_policydb() 3354 memcpy(&new_ocon->u.ibpkey.subnet_prefix, &subnet_prefix.s6_addr[0], in cil_ibpkeycon_to_policydb() 3355 sizeof(new_ocon->u.ibpkey.subnet_prefix)); in cil_ibpkeycon_to_policydb()
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 51592 __be64 subnet_prefix; member 51629 u64 subnet_prefix; member 54202 u64 subnet_prefix; member 80127 u64 subnet_prefix; member 81074 u64 subnet_prefix; member
|