Searched refs:file_contexts (Results 1 – 18 of 18) sorted by relevance
/external/selinux/policycoreutils/semodule_package/ |
D | semodule_package.c | 94 char *module = NULL, *file_contexts = NULL, *seusers = in main() local 129 if (file_contexts) { in main() 134 file_contexts = strdup(optarg); in main() 135 if (!file_contexts) in main() 188 if (file_contexts) { in main() 189 if (file_to_data(file_contexts, &fcdata, &fclen)) in main() 253 free(file_contexts); in main()
|
/external/selinux/secilc/ |
D | secilc.c | 78 FILE *file_contexts; in main() local 305 file_contexts = fopen("file_contexts", "w+"); in main() 307 file_contexts = fopen(filecontexts, "w+"); in main() 310 if (file_contexts == NULL) { in main() 315 if (fwrite(fc_buf, sizeof(char), fc_size, file_contexts) != fc_size) { in main() 320 fclose(file_contexts); in main() 321 file_contexts = NULL; in main()
|
D | .gitignore | 4 file_contexts
|
D | Makefile | 44 rm -f file_contexts
|
D | README | 43 file_contexts file will be created.
|
/external/selinux/libsepol/src/ |
D | module.c | 143 free(p->file_contexts); in hidden_def() 154 return p->file_contexts; in hidden_def() 196 if (set_char(&p->file_contexts, data, len)) in sepol_module_package_set_file_contexts() 257 if ((s = (char *)realloc(base->file_contexts, fc_len)) == NULL) { in link_file_contexts() 260 base->file_contexts = s; in link_file_contexts() 262 memcpy(base->file_contexts + base->file_contexts_len, in link_file_contexts() 263 modules[i]->file_contexts, in link_file_contexts() 512 mod->file_contexts = in sepol_module_package_read() 514 if (!mod->file_contexts) { in sepol_module_package_read() 519 (mod->file_contexts, file, in sepol_module_package_read() [all …]
|
/external/libselinux/ |
D | README.android | 43 backend to use a binary version of the file_contexts file 44 (file_contexts.bin) that contains precompiled versions of the pcre 45 regexes. This reduces the time to load the file_contexts 52 to prune the tree walk if no change has occurred in file_contexts since
|
/external/selinux/libsepol/cil/ |
D | .gitignore | 14 file_contexts
|
/external/selinux/libselinux/ |
D | ChangeLog | 17 * Do not treat an empty file_contexts(.local) as an error, from Stephen Smalley. 19 * Fail hard on invalid file_contexts entries, from Stephen Smalley. 20 * Support context validation on file_contexts.bin, from Stephen Smalley. 21 * Test for file_contexts.bin format by magic number, from Stephen Smalley. 23 * Support specifying file_contexts.bin file path, from Stephen Smalley. 24 * Support file_contexts.bin without file_contexts, from Stephen Smalley. 30 * Fix if file_contexts not '\n' terminated, from Richard Haines. 67 * Add pcre version string to the compiled file_contexts format, from 168 * improve the file_contexts.5 manual page 520 * Fix segfault resulting from missing file_contexts file. [all …]
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | module.h | 39 char *file_contexts; member
|
/external/selinux/secilc/docs/ |
D | cil_file_labeling_statements.md | 7 …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><<none>></code> within the <strong><code>file_contexts</code></strong… 98 to resolve/build `file_contexts` entries of (assuming MLS enabled policy):
|
D | cil_context_statement.md | 64 to resolve/build a `file_contexts` entry of (assuming MLS enabled policy):
|
D | cil_user_statements.md | 333 …roject.org/page/PolicyStoreConfigurationFiles#file_contexts.template_File) that details the `file_…
|
/external/selinux/policycoreutils/scripts/ |
D | fixfiles | 135 FC=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts 137 FC=/etc/security/selinux/file_contexts
|
/external/selinux/libsemanage/ |
D | ChangeLog | 7 * Add file_contexts and seusers to the store, from Yuli Khodorkovskiy. 8 * Add policy binary and file_contexts.local to the store, from Yuli Khodorkovskiy. 257 * Fix ordering of file_contexts.homedirs from Todd Miller and Dan Walsh. 337 file_contexts.local, seusers, and netfilter_contexts if 534 - add an API for file_contexts.local and file_contexts
|
/external/selinux/checkpolicy/test/ |
D | dismod.c | 731 package->file_contexts = NULL; in read_policy() 735 free(package->file_contexts); in read_policy()
|
/external/selinux/policycoreutils/ |
D | ChangeLog | 545 * Change setfiles to validate all file_contexts files when using -c from Stephen Smalley. 1332 * Reverted fixfiles patch for file_contexts.local; 1351 * Merged fixfiles patch for file_contexts.local from Dan Walsh.
|
/external/selinux/sepolgen/tests/test_data/ |
D | httpd.log | 6879 …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 …]
|