Home
last modified time | relevance | path

Searched refs:seusers (Results 1 – 8 of 8) sorted by relevance

/external/selinux/python/chcat/
Dchcat70 seusers = logins.get_all()
74 if u in seusers.keys():
75 user = seusers[u]
78 user = seusers["__default__"]
150 seusers = logins.get_all()
154 if u in seusers.keys():
155 user = seusers[u]
158 user = seusers["__default__"]
239 seusers = logins.get_all()
243 if u in seusers.keys():
[all …]
/external/selinux/semodule-utils/semodule_package/
Dsemodule_package.c98 char *module = NULL, *file_contexts = NULL, *seusers = in main() local
153 if (seusers) { in main()
158 seusers = strdup(optarg); in main()
159 if (!seusers) in main()
197 if (seusers) { in main()
198 if (file_to_data(seusers, &seusersdata, &seuserslen)) in main()
260 free(seusers); in main()
/external/selinux/libsepol/src/
Dmodule.c145 free(p->seusers); in hidden_def()
165 return p->seusers; in sepol_module_package_get_seusers()
207 if (set_char(&p->seusers, data, len)) in sepol_module_package_set_seusers()
540 mod->seusers = (char *)malloc(mod->seusers_len); in sepol_module_package_read()
541 if (!mod->seusers) { in sepol_module_package_read()
545 if (read_helper(mod->seusers, file, mod->seusers_len)) { in sepol_module_package_read()
548 free(mod->seusers); in sepol_module_package_read()
549 mod->seusers = NULL; in sepol_module_package_read()
884 if ((p->seusers || p->user_extra) in sepol_module_package_write()
894 if (p->seusers) in sepol_module_package_write()
[all …]
Dmodule_to_cil.c3110 char *seusers = sepol_module_package_get_seusers(mod_pkg); in seusers_to_cil() local
3112 char *cur = seusers; in seusers_to_cil()
3113 char *end = seusers + seusers_len; in seusers_to_cil()
/external/selinux/libsepol/include/sepol/policydb/
Dmodule.h42 char *seusers; member
/external/selinux/libsemanage/src/
Dpywrap-test.py14 -s for seusers\n\
57 self.seusers = False
79 self.seusers or
99 if self.seusers or self.all:
1232 tests.seusers = True
Ddirect_api.c1236 dbase_config_t *seusers = semanage_seuser_dbase_local(sh); in semanage_direct_commit() local
1243 seusers_modified = seusers->dtable->is_modified(seusers->dbase); in semanage_direct_commit()
/external/selinux/python/sepolgen/tests/test_data/
Dhttpd.log6135 …75696.138:12495): avc: denied { write } for pid=12273 comm="cp" name="seusers" dev=dm-0 ino=933…
7031 …93:12865): avc: denied { unlink } for pid=13626 comm="semodule" name="seusers" dev=dm-0 ino=933…
10318 …19:14342): avc: denied { unlink } for pid=19011 comm="semodule" name="seusers" dev=dm-0 ino=933…