Home
last modified time | relevance | path

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

/security/selinux/ss/
Davtab.c80 if (key->specified & AVTAB_XPERMS) { in avtab_insert_node()
110 u16 specified = key->specified & ~(AVTAB_ENABLED|AVTAB_ENABLED_OLD); in avtab_insert() local
122 (specified & cur->key.specified)) { in avtab_insert()
124 if (specified & AVTAB_XPERMS) in avtab_insert()
155 u16 specified = key->specified & ~(AVTAB_ENABLED|AVTAB_ENABLED_OLD); in avtab_insert_nonunique() local
166 (specified & cur->key.specified)) in avtab_insert_nonunique()
185 u16 specified = key->specified & ~(AVTAB_ENABLED|AVTAB_ENABLED_OLD); in avtab_search() local
196 (specified & cur->key.specified)) in avtab_search()
221 u16 specified = key->specified & ~(AVTAB_ENABLED|AVTAB_ENABLED_OLD); in avtab_search_node() local
232 (specified & cur->key.specified)) in avtab_search_node()
[all …]
Dconditional.c101 cur->node->key.specified &= ~AVTAB_ENABLED; in evaluate_cond_node()
103 cur->node->key.specified |= AVTAB_ENABLED; in evaluate_cond_node()
109 cur->node->key.specified &= ~AVTAB_ENABLED; in evaluate_cond_node()
111 cur->node->key.specified |= AVTAB_ENABLED; in evaluate_cond_node()
282 if (k->specified & AVTAB_TYPE) { in cond_insertf()
298 if (avtab_search_node_next(node_ptr, k->specified)) { in cond_insertf()
622 node = avtab_search_node_next(node, key->specified)) { in cond_compute_xperms()
623 if (node->key.specified & AVTAB_ENABLED) in cond_compute_xperms()
641 node = avtab_search_node_next(node, key->specified)) { in cond_compute_av()
643 (node->key.specified & (AVTAB_ALLOWED|AVTAB_ENABLED))) in cond_compute_av()
[all …]
Davtab.h47 u16 specified; /* what field is specified */ member
59 u8 specified; /* ioctl, netfilter, ... */ member
111 struct avtab_node *avtab_search_node_next(struct avtab_node *node, int specified);
Dservices.c594 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { in services_compute_xperms_drivers()
598 } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_drivers()
605 if (node->key.specified & AVTAB_XPERMS_ALLOWED) in services_compute_xperms_drivers()
650 avkey.specified = AVTAB_AV | AVTAB_XPERMS; in context_struct_compute_av()
660 node = avtab_search_node_next(node, avkey.specified)) { in context_struct_compute_av()
661 if (node->key.specified == AVTAB_ALLOWED) in context_struct_compute_av()
663 else if (node->key.specified == AVTAB_AUDITALLOW) in context_struct_compute_av()
665 else if (node->key.specified == AVTAB_AUDITDENY) in context_struct_compute_av()
667 else if (xperms && (node->key.specified & AVTAB_XPERMS)) in context_struct_compute_av()
949 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_decision()
[all …]
Dmls.h56 u32 specified,
Dmls.c491 u32 specified, in mls_compute_sid() argument
503 switch (specified) { in mls_compute_sid()
/security/
DKconfig161 are larger than the specified heap object, span multiple