Home
last modified time | relevance | path

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

/third_party/selinux/libselinux/src/
Dget_context_list.c16 const char *fromcon, in get_default_context_with_role() argument
25 rc = get_ordered_context_list(user, fromcon, &conary); in get_default_context_with_role()
59 const char *fromcon, in get_default_context_with_rolelevel() argument
69 return get_default_context_with_role(user, role, fromcon, in get_default_context_with_rolelevel()
72 if (!fromcon) { in get_default_context_with_rolelevel()
76 fromcon = backup_fromcon; in get_default_context_with_rolelevel()
80 con = context_new(fromcon); in get_default_context_with_rolelevel()
101 const char *fromcon, char ** newcon) in get_default_context() argument
106 rc = get_ordered_context_list(user, fromcon, &conary); in get_default_context()
131 const char * fromcon, in get_context_user() argument
[all …]
/third_party/selinux/libselinux/include/selinux/
Dget_context_list.h20 const char *fromcon,
27 const char *fromcon,
38 const char *fromcon,
45 const char *fromcon,
53 const char *fromcon,
62 const char *fromcon,
/third_party/selinux/libsepol/src/
Dmls.h65 extern int mls_setup_user_range(context_struct_t * fromcon, user_datum_t * user,
Dmls.c509 int mls_setup_user_range(context_struct_t * fromcon, user_datum_t * user, in mls_setup_user_range() argument
513 mls_level_t *fromcon_sen = &(fromcon->range.level[0]); in mls_setup_user_range()
514 mls_level_t *fromcon_clr = &(fromcon->range.level[1]); in mls_setup_user_range()
Dservices.c2149 context_struct_t *fromcon, usercon; in sepol_get_user_sids() local
2159 fromcon = sepol_sidtab_search(sidtab, fromsid); in sepol_get_user_sids()
2160 if (!fromcon) { in sepol_get_user_sids()
2184 if (usercon.type == fromcon->type) in sepol_get_user_sids()
2188 (fromcon, user, &usercon, policydb->mls)) in sepol_get_user_sids()
2191 rc = context_struct_compute_av(fromcon, &usercon, in sepol_get_user_sids()