Home
last modified time | relevance | path

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

/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/python/chcat/
Dchcat70 seusers = logins.get_all()
74 if u in seusers.keys():
75 user = seusers[u]
78 user = seusers["__default__"]
149 seusers = logins.get_all()
153 if u in seusers.keys():
154 user = seusers[u]
157 user = seusers["__default__"]
238 seusers = logins.get_all()
242 if u in seusers.keys():
[all …]
/external/selinux/libsepol/src/
Dmodule.c147 free(p->seusers); in hidden_def()
167 return p->seusers; in sepol_module_package_get_seusers()
209 if (set_char(&p->seusers, data, len)) in sepol_module_package_set_seusers()
542 mod->seusers = (char *)malloc(mod->seusers_len); in sepol_module_package_read()
543 if (!mod->seusers) { in sepol_module_package_read()
547 if (read_helper(mod->seusers, file, mod->seusers_len)) { in sepol_module_package_read()
550 free(mod->seusers); in sepol_module_package_read()
551 mod->seusers = NULL; in sepol_module_package_read()
886 if ((p->seusers || p->user_extra) in sepol_module_package_write()
896 if (p->seusers) in sepol_module_package_write()
[all …]
Dmodule_to_cil.c3074 char *seusers = sepol_module_package_get_seusers(mod_pkg); in seusers_to_cil() local
3076 char *cur = seusers; in seusers_to_cil()
3077 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…