Home
last modified time | relevance | path

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

/security/apparmor/
Dlib.c221 void aa_audit_perm_names(struct audit_buffer *ab, const char * const *names, in aa_audit_perm_names() argument
230 audit_log_format(ab, fmt, names[i]); in aa_audit_perm_names()
240 u32 chrsmask, const char * const *names, u32 namesmask) in aa_audit_perm_mask() argument
252 if ((mask & namesmask) && names) in aa_audit_perm_mask()
253 aa_audit_perm_names(ab, names, mask & namesmask); in aa_audit_perm_mask()
/security/apparmor/include/
Dperms.h138 void aa_audit_perm_names(struct audit_buffer *ab, const char * const *names,
141 u32 chrsmask, const char * const *names, u32 namesmask);
/security/selinux/include/
Dconditional.h17 u32 *len, char ***names, int **values);
/security/selinux/ss/
Dconstraint.h51 struct ebitmap names; /* names */ member
Dservices.c425 s[++sp] = ebitmap_get_bit(&e->names, val1 - 1); in constraint_expr_eval()
428 s[++sp] = !ebitmap_get_bit(&e->names, val1 - 1); in constraint_expr_eval()
3015 u32 *len, char ***names, int **values) in security_get_bools() argument
3023 *names = NULL; in security_get_bools()
3032 *names = kcalloc(*len, sizeof(char *), GFP_ATOMIC); in security_get_bools()
3033 if (!*names) in security_get_bools()
3045 (*names)[i] = kstrdup(sym_name(policydb, SYM_BOOLS, i), in security_get_bools()
3047 if (!(*names)[i]) in security_get_bools()
3054 if (*names) { in security_get_bools()
3056 kfree((*names)[i]); in security_get_bools()
[all …]
Dpolicydb.c208 ebitmap_destroy(&expr->names); in constraint_expr_destroy()
1267 rc = ebitmap_read(&e->names, fp); in read_cons_helper()
3030 rc = ebitmap_write(&e->names, fp); in write_cons_helper()
/security/selinux/
Dselinuxfs.c1426 char **names = NULL, *page; in sel_make_bools() local
1436 ret = security_get_bools(newpolicy, &num, &names, &values); in sel_make_bools()
1442 dentry = d_alloc_name(bool_dir, names[i]); in sel_make_bools()
1454 len = snprintf(page, PAGE_SIZE, "/%s/%s", BOOL_DIR_NAME, names[i]); in sel_make_bools()
1477 *bool_pending_names = names; in sel_make_bools()
1485 if (names) { in sel_make_bools()
1487 kfree(names[i]); in sel_make_bools()
1488 kfree(names); in sel_make_bools()