Searched refs:selinux_mnt (Results 1 – 15 of 15) sorted by relevance
/external/libselinux/src/ |
D | init.c | 24 char *selinux_mnt = NULL; variable 36 if (selinux_mnt) in init_selinuxmnt() 46 selinux_mnt = strdup(SELINUXMNT); in init_selinuxmnt() 91 selinux_mnt = strdup(p); in init_selinuxmnt() 101 free(selinux_mnt); in fini_selinuxmnt() 102 selinux_mnt = NULL; in fini_selinuxmnt() 107 selinux_mnt = strdup(mnt); in set_selinuxmnt()
|
D | booleans.c | 44 if (!selinux_mnt) { in security_get_boolean_names() 49 snprintf(path, sizeof path, "%s%s", selinux_mnt, SELINUX_BOOL_DIR); in security_get_boolean_names() 91 if (!selinux_mnt) { in hidden_def() 101 len = strlen(name) + strlen(selinux_mnt) + sizeof(SELINUX_BOOL_DIR); in hidden_def() 105 snprintf(fname, len, "%s%s%s", selinux_mnt, SELINUX_BOOL_DIR, name); in hidden_def() 166 if (!selinux_mnt) { in hidden_def() 175 len = strlen(name) + strlen(selinux_mnt) + sizeof(SELINUX_BOOL_DIR); in hidden_def() 179 snprintf(fname, len, "%s%s%s", selinux_mnt, SELINUX_BOOL_DIR, name); in hidden_def() 211 if (!selinux_mnt) { in hidden_def() 216 snprintf(path, sizeof path, "%s/commit_pending_bools", selinux_mnt); in hidden_def()
|
D | enabled.c | 23 if (selinux_mnt) { in is_selinux_enabled() 78 if (!selinux_mnt) in hidden_def() 81 snprintf(path, sizeof path, "%s/mls", selinux_mnt); in hidden_def()
|
D | check_context.c | 17 if (!selinux_mnt) { in security_check_context() 22 snprintf(path, sizeof path, "%s/context", selinux_mnt); in security_check_context()
|
D | load_policy.c | 24 if (!selinux_mnt) { in security_load_policy() 29 snprintf(path, sizeof path, "%s/load", selinux_mnt); in security_load_policy()
|
D | disable.c | 18 if (!selinux_mnt) { in security_disable() 23 snprintf(path, sizeof path, "%s/disable", selinux_mnt); in security_disable()
|
D | setenforce.c | 18 if (!selinux_mnt) { in security_setenforce() 23 snprintf(path, sizeof path, "%s/enforce", selinux_mnt); in security_setenforce()
|
D | getenforce.c | 18 if (!selinux_mnt) { in security_getenforce() 23 snprintf(path, sizeof path, "%s/enforce", selinux_mnt); in security_getenforce()
|
D | policyvers.c | 20 if (!selinux_mnt) { in security_policyvers() 25 snprintf(path, sizeof path, "%s/policyvers", selinux_mnt); in security_policyvers()
|
D | get_initial_context.c | 21 if (!selinux_mnt) { in security_get_initial_context() 27 selinux_mnt, SELINUX_INITCON_DIR, name); in security_get_initial_context()
|
D | canonicalize_context.c | 20 if (!selinux_mnt) { in security_canonicalize_context() 25 snprintf(path, sizeof path, "%s/context", selinux_mnt); in security_canonicalize_context()
|
D | compute_create.c | 23 if (!selinux_mnt) { in security_compute_create() 28 snprintf(path, sizeof path, "%s/create", selinux_mnt); in security_compute_create()
|
D | stringrep.c | 65 if (!selinux_mnt) { in discover_class() 86 snprintf(path, sizeof path, "%s/class/%s/index", selinux_mnt,s); in discover_class() 101 snprintf(path, sizeof path, "%s/class/%s/perms",selinux_mnt,s); in discover_class() 111 snprintf(path, sizeof path, "%s/class/%s/perms/%s", selinux_mnt,s,dentry->d_name); in discover_class()
|
D | compute_av.c | 24 if (!selinux_mnt) { in security_compute_av() 29 snprintf(path, sizeof path, "%s/access", selinux_mnt); in security_compute_av()
|
D | policy.h | 16 extern char *selinux_mnt;
|