Home
last modified time | relevance | path

Searched refs:fromcon (Results 1 – 5 of 5) sorted by relevance

/external/selinux/libselinux/src/
Dget_context_list.c15 char * fromcon, in get_default_context_with_role() argument
24 rc = get_ordered_context_list(user, fromcon, &conary); in get_default_context_with_role()
59 char * fromcon, in hidden_def()
68 return get_default_context_with_role(user, role, fromcon, in hidden_def()
71 if (!fromcon) { in hidden_def()
72 rc = getcon(&fromcon); in hidden_def()
79 con = context_new(fromcon); in hidden_def()
95 freecon(fromcon); in hidden_def()
101 char * fromcon, char ** newcon) in get_default_context() argument
106 rc = get_ordered_context_list(user, fromcon, &conary); in get_default_context()
[all …]
/external/selinux/libselinux/include/selinux/
Dget_context_list.h20 char * fromcon,
27 char * fromcon,
38 char * fromcon,
45 char * fromcon,
53 char * fromcon,
62 char * fromcon,
/external/selinux/libsepol/src/
Dmls.h64 extern int mls_setup_user_range(context_struct_t * fromcon, user_datum_t * user,
Dmls.c511 int mls_setup_user_range(context_struct_t * fromcon, user_datum_t * user, in mls_setup_user_range() argument
515 mls_level_t *fromcon_sen = &(fromcon->range.level[0]); in mls_setup_user_range()
516 mls_level_t *fromcon_clr = &(fromcon->range.level[1]); in mls_setup_user_range()
Dservices.c2166 context_struct_t *fromcon, usercon; in sepol_get_user_sids() local
2176 fromcon = sepol_sidtab_search(sidtab, fromsid); in sepol_get_user_sids()
2177 if (!fromcon) { in sepol_get_user_sids()
2206 if (usercon.type == fromcon->type) in sepol_get_user_sids()
2210 (fromcon, user, &usercon, policydb->mls)) in sepol_get_user_sids()
2213 rc = context_struct_compute_av(fromcon, &usercon, in sepol_get_user_sids()