Home
last modified time | relevance | path

Searched refs:mask_sz (Results 1 – 4 of 4) sorted by relevance

/external/selinux/libsepol/src/
Dnode_record.c19 size_t mask_sz; member
35 size_t mask_sz; member
241 if (node_alloc_addr(handle, proto, &tmp_key->mask, &tmp_key->mask_sz) < in sepol_node_key_create()
286 tmp_key->mask = malloc(node->mask_sz); in hidden_def()
292 memcpy(tmp_key->mask, node->mask, node->mask_sz); in hidden_def()
294 tmp_key->mask_sz = node->mask_sz; in hidden_def()
324 if ((node->addr_sz < key->addr_sz) || (node->mask_sz < key->mask_sz)) in hidden_def()
328 (node->mask_sz > key->mask_sz)) in hidden_def()
332 rc2 = memcmp(node->mask, key->mask, node->mask_sz); in hidden_def()
343 (node->mask_sz < node2->mask_sz)) in sepol_node_compare2()
[all …]
/external/selinux/libsemanage/src/
Dnode_record.c132 char **mask, size_t * mask_sz) in hidden_def()
135 return sepol_node_get_mask_bytes(handle->sepolh, node, mask, mask_sz); in hidden_def()
151 const char *mask, size_t mask_sz) in hidden_def()
154 return sepol_node_set_mask_bytes(handle->sepolh, node, mask, mask_sz); in hidden_def()
/external/selinux/libsemanage/include/semanage/
Dnode_record.h61 char **mask, size_t * mask_sz);
69 const char *mask, size_t mask_sz);
/external/selinux/libsepol/include/sepol/
Dnode_record.h64 char **mask, size_t * mask_sz);
72 const char *mask, size_t mask_sz);