Searched refs:file_contexts (Results 1 – 17 of 17) sorted by relevance
/external/selinux/semodule-utils/semodule_package/ |
D | semodule_package.c | 98 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/ |
D | module.c | 144 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/ |
D | secilc.c | 81 FILE *file_contexts; in main() local 334 file_contexts = fopen("file_contexts", "w+"); in main() 336 file_contexts = fopen(filecontexts, "w+"); in main() 339 if (file_contexts == NULL) { in main() 344 if (fwrite(fc_buf, sizeof(char), fc_size, file_contexts) != fc_size) { in main() 349 fclose(file_contexts); in main() 350 file_contexts = NULL; in main()
|
D | .gitignore | 6 file_contexts
|
D | Makefile | 61 rm -f file_contexts
|
D | README | 43 file_contexts file will be created.
|
/external/e2fsprogs/contrib/android/ |
D | perms.h | 18 char *file_contexts, in android_configure_fs() argument 36 char *file_contexts,
|
D | e2fsdroid.c | 22 static char *file_contexts; variable 75 file_contexts = absolute_path(optarg); in main() 143 file_contexts, fs_config_file, fixed_time); in main()
|
D | perms.c | 290 char *file_contexts, in android_configure_fs() argument 298 if (file_contexts) { in android_configure_fs() 300 seopts[0].value = file_contexts; in android_configure_fs()
|
/external/selinux/libsepol/cil/ |
D | .gitignore | 14 file_contexts
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | module.h | 40 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 | 131 FC=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts 133 FC=/etc/security/selinux/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/python/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 …]
|