Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/sepolicy/
Dinfo.c733 static PyObject* get_user(const qpol_user_t * user_datum, const apol_policy_t * policydb) in get_user() argument
750 if (qpol_user_get_name(q, user_datum, &user_name)) in get_user()
760 if (qpol_user_get_dfltlevel(q, user_datum, &dflt_level)) in get_user()
769 if (qpol_user_get_range(q, user_datum, &range)) in get_user()
779 if (qpol_user_get_role_iter(q, user_datum, &iter)) in get_user()
958 const qpol_user_t *user_datum = NULL; in get_users() local
967 if (qpol_policy_get_user_by_name(q, name, &user_datum)) { in get_users()
971 obj = get_user(user_datum, policydb); in get_users()
980 if (qpol_iterator_get_item(iter, (void **)&user_datum)) in get_users()
982 obj = get_user(user_datum, policydb); in get_users()
/external/selinux/libsepol/cil/src/
Dcil_resolve_ast.c771 struct cil_symtab_datum *user_datum = NULL; in cil_resolve_userrole() local
775 rc = cil_resolve_name(current, userrole->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrole()
779 userrole->user = (struct cil_user*)user_datum; in cil_resolve_userrole()
796 struct cil_symtab_datum *user_datum = NULL; in cil_resolve_userlevel() local
802 rc = cil_resolve_name(current, usrlvl->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userlevel()
807 user_node = user_datum->nodes->head->data; in cil_resolve_userlevel()
815 user = (struct cil_user*)user_datum; in cil_resolve_userlevel()
849 struct cil_symtab_datum *user_datum = NULL; in cil_resolve_userrange() local
855 rc = cil_resolve_name(current, userrange->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrange()
860 user_node = user_datum->nodes->head->data; in cil_resolve_userrange()
[all …]
Dcil_post.c1385 struct cil_symtab_datum *user_datum = NULL; in __cil_post_db_userrole_helper() local
1407 user_datum = userrole->user; in __cil_post_db_userrole_helper()
1409 user_node = user_datum->nodes->head->data; in __cil_post_db_userrole_helper()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h193 typedef struct user_datum { struct
/external/selinux/libsepol/src/
Dmodule_to_cil.c2186 struct user_datum *user = datum; in user_to_cil()