Home
last modified time | relevance | path

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

/third_party/selinux/libselinux/src/
Dseusers.c20 char *luser = NULL, *seuser = NULL, *level = NULL; in process_seusers() local
54 seuser = strdup(start); in process_seusers()
55 if (!seuser) in process_seusers()
58 if (!strcmp(seuser, "")) in process_seusers()
80 *seuserp = seuser; in process_seusers()
86 free(seuser); in process_seusers()
179 char *seuser = NULL; in getseuserbyname() local
195 rc = process_seusers(buffer, &username, &seuser, &level, in getseuserbyname()
211 groupseuser = seuser; in getseuserbyname()
216 defaultseuser = seuser; in getseuserbyname()
[all …]
/third_party/selinux/libselinux/utils/
Dgetseuser.c10 char *seuser = NULL, *level = NULL; in main() local
24 rc = getseuserbyname(argv[1], &seuser, &level); in main()
29 printf("seuser: %s, level %s\n", seuser, level); in main()
34 free(seuser); in main()
39 n = get_ordered_context_list_with_level(seuser, level, argv[2], &contextlist); in main()
42 free(seuser); in main()
47 free(seuser); in main()
Dgetdefaultcon.c23 char *user = NULL, *level = NULL, *role=NULL, *seuser=NULL, *dlevel=NULL; in main() local
71 if ((ret = getseuser(user, service, &seuser, &dlevel)) == 0) { in main()
74 ret=get_default_context_with_rolelevel(seuser, role, level,cur_context,&usercon); in main()
76 ret=get_default_context_with_level(seuser, level, cur_context,&usercon); in main()
82 …printf("%s: %s from %s %s %s %s -> %s\n", argv[0], user, cur_context, seuser, role, level, usercon… in main()
89 free(seuser); in main()
/third_party/selinux/libselinux/include/selinux/
Dselinux.h709 extern int getseuserbyname(const char *linuxuser, char **seuser, char **level);
/third_party/selinux/libsepol/src/
Dmodule_to_cil.c3090 char *seuser = NULL; in seusers_to_cil() local
3111 matched = tokenize(tmp, ':', 3, &user, &seuser, &level); in seusers_to_cil()
3120 cil_printf("(selinuxuserdefault %s (", seuser); in seusers_to_cil()
3122 cil_printf("(selinuxuser %s %s (", user, seuser); in seusers_to_cil()
3137 free(seuser); in seusers_to_cil()
3140 user = seuser = level = NULL; in seusers_to_cil()
3152 free(seuser); in seusers_to_cil()