HomeSort by relevance Sort by last modified time
    Searched refs:avtab (Results 1 - 18 of 18) sorted by null

  /system/sepolicy/tools/sepolicy-analyze/
utils.h 6 #include <sepol/policydb/avtab.h>
  /external/selinux/libsepol/include/sepol/policydb/
hierarchy.h 28 #include <sepol/policydb/avtab.h>
avtab.h 6 * Tuned number of hash slots for avtab to reduce memory usage
33 * An access vector table (avtab) is a hash table
100 typedef struct avtab { struct
conditional.h 25 #include <sepol/policydb/avtab.h>
policydb.h 61 #include <sepol/policydb/avtab.h>
267 /* these typedefs are almost exactly the same as those in avtab.h - they are
  /system/sepolicy/tests/
sepol_wrap.cpp 9 #include <sepol/policydb/avtab.h>
151 * Returns 0 on successfully reading an avtab entry.
249 /* items needed to iterate over the avtab */
251 avtab_t *avtab; member in struct:avtab_iter
260 * Returns 0 on successfully reading an avtab entry.
268 for (; avtab_i->i < avtab_i->avtab->nslot; (avtab_i->i)++) {
270 avtab_i->cur = avtab_i->avtab->htable[avtab_i->i];
308 std::cerr << "Failed to allocate avtab iterator" << std::endl;
312 out->avtab = in;
346 std::cerr << "Failed to allocate avtab iterator" << std::endl
350 avtab_t *avtab = (avtab_t *) calloc(1, sizeof(avtab_t)); local
    [all...]
  /external/selinux/libsepol/src/
assertion.c 3 * Assertion checker for avtab entries, taken from
23 #include <sepol/policydb/avtab.h>
35 avtab_t *avtab; member in struct:avtab_match_args
144 avtab_key_t *k, avtab_t *avtab)
168 for (node = avtab_search_node(avtab, &tmp_key);
217 avtab_t *avtab = a->avtab; local
282 i, j, cp, perms, k, avtab);
328 * Look up the extended permissions in avtab and verify that neverallowed
331 static int check_assertion_extended_permissions_avtab(avrule_t *avrule, avtab_t *avtab,
472 avtab_t *avtab = a->avtab; local
    [all...]
kernel_to_common.h 5 #include <sepol/policydb/avtab.h>
hierarchy.c 42 static int bounds_insert_helper(sepol_handle_t *handle, avtab_t *avtab,
45 int rc = avtab_insert(avtab, avtab_key, datum);
56 static int bounds_insert_rule(sepol_handle_t *handle, avtab_t *avtab,
61 avtab_datum_t *dup = avtab_search(avtab, avtab_key);
64 rc = bounds_insert_helper(handle, avtab, avtab_key, datum);
71 /* Search the other conditional avtab for the key and
72 * add any common permissions to the global avtab
98 avtab_t *avtab, avtab_t *global, avtab_t *other,
118 rc = bounds_insert_rule(handle, avtab, global, other,
129 cond_av_list_t *cur, avtab_t *avtab,
150 avtab_t *avtab; member in struct:bounds_expand_args
    [all...]
expand.c     [all...]
avtab.c 6 * Tuned number of hash slots for avtab to reduce memory usage
45 #include <sepol/policydb/avtab.h>
116 * So copy data so it is set in the avtab
176 * key/specified mask into the table, as needed by the conditional avtab.
420 /* Ordering of datums in the original avtab format in the policy file. */
kernel_to_cil.c 16 #include <sepol/policydb/avtab.h>
    [all...]
kernel_to_conf.c 15 #include <sepol/policydb/avtab.h>
    [all...]
write.c 39 #include <sepol/policydb/avtab.h>
91 /* Ordering of datums in the original avtab format in the policy file. */
116 /* Generate the old avtab format.
117 Requires merging similar entries if uncond avtab. */
218 /* Generate the new avtab format. */
287 /* Old avtab format.
301 /* New avtab format. nel is good to go. */
320 /* Old avtab format.
689 * Instead it writes out the key/value pairs from the avtab. This
691 * in the avtab so it is not possible to associate individual rule
    [all...]
  /system/sepolicy/tools/
sepolicy-check.c 66 perm_datum_t *perm, policydb_t *policy, avtab_t *avtab) {
77 if (expand_avtab(policy, avtab, &exp_avtab)) {
  /external/selinux/python/audit2allow/
sepolgen-ifgen-attr-helper.c 26 #include <sepol/policydb/avtab.h>
  /external/selinux/checkpolicy/test/
dispol.c 15 * avtab (including conditional avtab) rules.
21 #include <sepol/policydb/avtab.h>
370 printf("1) display unconditional AVTAB\n");
371 printf("2) display conditional AVTAB (entirely)\n");
372 printf("3) display conditional AVTAB (only ENABLED rules)\n");
373 printf("4) display conditional AVTAB (only DISABLED rules)\n");
  /external/selinux/libsepol/cil/src/
cil_binary.c 935 int __cil_cond_insert_rule(avtab_t *avtab, avtab_key_t *avtab_key, avtab_datum_t *avtab_datum, cond_node_t *cond_node, enum cil_flavor cond_flavor)
941 avtab_ptr = avtab_insert_nonunique(avtab, avtab_key, avtab_datum);
    [all...]

Completed in 1723 milliseconds