Home
last modified time | relevance | path

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

/security/integrity/ima/
A Dima_iint.c49 int depth = inode->i_sb->s_stack_depth; in ima_iint_lockdep_annotate() local
51 if (WARN_ON_ONCE(depth < 0 || depth >= IMA_MAX_NESTING)) in ima_iint_lockdep_annotate()
52 depth = 0; in ima_iint_lockdep_annotate()
54 lockdep_set_class(&iint->mutex, &ima_iint_mutex_key[depth]); in ima_iint_lockdep_annotate()
/security/apparmor/
A Dapparmorfs.c1591 int depth = 0; in profile_depth() local
1594 for (depth = 0; profile; profile = rcu_access_pointer(profile->parent)) in profile_depth()
1595 depth++; in profile_depth()
1598 return depth; in profile_depth()
1601 static char *gen_symlink_name(int depth, const char *dirname, const char *fname) in gen_symlink_name() argument
1605 int size = depth * 6 + strlen(dirname) + strlen(fname) + 11; in gen_symlink_name()
1611 for (; depth > 0; depth--) { in gen_symlink_name()
1635 int depth; in rawdata_get_link_base() local
1642 depth = profile_depth(profile); in rawdata_get_link_base()
1643 target = gen_symlink_name(depth, profile->rawdata->name, name); in rawdata_get_link_base()
/security/selinux/ss/
A Dpolicydb.c1236 int rc, depth; in read_cons_helper() local
1255 depth = -1; in read_cons_helper()
1275 if (depth < 0) in read_cons_helper()
1280 if (depth < 1) in read_cons_helper()
1282 depth--; in read_cons_helper()
1287 depth++; in read_cons_helper()
1294 depth++; in read_cons_helper()
1316 if (depth != 0) in read_cons_helper()
1690 int depth = 0; in user_bounds_sanity_check() local
1727 int depth = 0; in role_bounds_sanity_check() local
[all …]
/security/
A DKconfig.hardening86 def_bool $(cc-option,-fsanitize-coverage-stack-depth-callback-min=1)
99 depth as prior functions during the same syscall). This blocks
101 impact being driven by the depth of the stack usage, rather than
118 bool "Report stack depth analysis instrumentation" if EXPERT

Completed in 15 milliseconds