Home
last modified time | relevance | path

Searched refs:user_context (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libselinux/src/
DcheckAccess.c83 char *user_context; in selinux_check_passwd_access() local
86 if (getprevcon_raw(&user_context) == 0) { in selinux_check_passwd_access()
95 retval = security_compute_av_raw(user_context, in selinux_check_passwd_access()
96 user_context, in selinux_check_passwd_access()
104 freecon(user_context); in selinux_check_passwd_access()
Dquery_user_context.c118 char *user_context = NULL; /* String value of the user's context */ in manual_user_enter_context() local
164 user_context = context_str(new_context); in manual_user_enter_context()
165 if (!user_context) { in manual_user_enter_context()
169 if (!security_check_context(user_context)) in manual_user_enter_context()
175 *newcon = strdup(user_context); in manual_user_enter_context()