Home
last modified time | relevance | path

Searched refs:file_contexts (Results 1 – 15 of 15) sorted by relevance

/external/selinux/semodule-utils/semodule_package/
Dsemodule_package.c98 char *module = NULL, *file_contexts = NULL, *seusers = in main() local
133 if (file_contexts) { in main()
138 file_contexts = strdup(optarg); in main()
139 if (!file_contexts) in main()
192 if (file_contexts) { in main()
193 if (file_to_data(file_contexts, &fcdata, &fclen)) in main()
257 free(file_contexts); in main()
/external/selinux/libsepol/src/
Dmodule.c144 free(p->file_contexts); in hidden_def()
155 return p->file_contexts; in hidden_def()
197 if (set_char(&p->file_contexts, data, len)) in sepol_module_package_set_file_contexts()
258 if ((s = (char *)realloc(base->file_contexts, fc_len)) == NULL) { in link_file_contexts()
261 base->file_contexts = s; in link_file_contexts()
263 memcpy(base->file_contexts + base->file_contexts_len, in link_file_contexts()
264 modules[i]->file_contexts, in link_file_contexts()
513 mod->file_contexts = in sepol_module_package_read()
515 if (!mod->file_contexts) { in sepol_module_package_read()
520 (mod->file_contexts, file, in sepol_module_package_read()
[all …]
/external/selinux/secilc/
Dsecilc.c82 FILE *file_contexts; in main() local
343 file_contexts = fopen("file_contexts", "w+"); in main()
345 file_contexts = fopen(filecontexts, "w+"); in main()
348 if (file_contexts == NULL) { in main()
354 if (fwrite(fc_buf, sizeof(char), fc_size, file_contexts) != fc_size) { in main()
360 fclose(file_contexts); in main()
361 file_contexts = NULL; in main()
D.gitignore6 file_contexts
DMakefile58 rm -f file_contexts
DREADME43 file_contexts file will be created.
/external/selinux/secilc/docs/
Dcil_file_labeling_statements.md7 …ng files. The compiler will produce these entries in a file called **`file_contexts`**`(5)` by def…
31 <td align="left"><p>A single keyword representing a file type in the <code>file_contexts</code> fil…
40 <td align="left"><p><strong>file_contexts entry</strong></p></td>
82 …rpreted as <code>&lt;&lt;none&gt;&gt;</code> within the <strong><code>file_contexts</code></strong…
98 to resolve/build `file_contexts` entries of (assuming MLS enabled policy):
Dcil_context_statement.md64 to resolve/build a `file_contexts` entry of (assuming MLS enabled policy):
Dcil_user_statements.md333 …roject.org/page/PolicyStoreConfigurationFiles#file_contexts.template_File) that details the `file_…
/external/selinux/libsepol/cil/
D.gitignore14 file_contexts
/external/selinux/libsepol/include/sepol/policydb/
Dmodule.h40 char *file_contexts; member
/external/selinux/policycoreutils/scripts/
Dfixfiles122 FC=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts
124 FC=/etc/security/selinux/file_contexts
/external/conscrypt/apex/testing/
DAndroid.bp19 file_contexts: "com.android.conscrypt",
/external/selinux/checkpolicy/test/
Ddismod.c756 package->file_contexts = NULL; in read_policy()
760 free(package->file_contexts); in read_policy()
/external/selinux/python/sepolgen/tests/test_data/
Dhttpd.log6879 …552:12806): avc: denied { add_name } for pid=13623 comm="cp" name="file_contexts.pre" scontext=…
6880 …1.552:12806): avc: denied { create } for pid=13623 comm="cp" name="file_contexts.pre" scontext=…
6882 …31.572:12807): avc: denied { write } for pid=13623 comm="cp" name="file_contexts.pre" dev=dm-0 …
6884 …_PATH msg=audit(1163776431.572:12807): path="/etc/selinux/strict/contexts/files/file_contexts.pre"
7073 …1): avc: denied { write } for pid=13676 comm="genhomedircon" name="file_contexts.homedirs" dev=…
7079 …12883): avc: denied { add_name } for pid=13713 comm="mktemp" name="file_contexts.ProyZ13713" sc…
7080 …1:12883): avc: denied { create } for pid=13713 comm="mktemp" name="file_contexts.ProyZ13713" sc…
7082 …:12884): avc: denied { write } for pid=13716 comm="fixfiles" name="file_contexts.pre.rVudp13714…
7090 …12886): avc: denied { append } for pid=13738 comm="fixfiles" name="file_contexts.ProyZ13713" de…
7161 …:12917): avc: denied { remove_name } for pid=14116 comm="rm" name="file_contexts.ProyZ13713" de…
[all …]