HomeSort by relevance Sort by last modified time
    Searched full:file_contexts (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/selinux/secilc/
.gitignore 4 file_contexts
secilc.c 52 printf(" (default: file_contexts)\n");
78 FILE *file_contexts; local
305 file_contexts = fopen("file_contexts", "w+");
307 file_contexts = fopen(filecontexts, "w+");
310 if (file_contexts == NULL) {
311 fprintf(stderr, "Failed to open file_contexts file\n");
315 if (fwrite(fc_buf, sizeof(char), fc_size, file_contexts) != fc_size) {
316 fprintf(stderr, "Failed to write file_contexts file\n");
320 fclose(file_contexts);
    [all...]
Makefile 44 rm -f file_contexts
secilc.8.xml 33 <para><emphasis role="italic">secilc</emphasis> invokes the CIL compiler with the specified <emphasis role="italic">argument</emphasis>s to build a kernel binary policy. A <emphasis role="bold">file_contexts</emphasis> file will also be built as described in the <emphasis role="bold">FILE FORMAT</emphasis> section of <citerefentry><refentrytitle>file_contexts</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
45 <listitem><para>Write file contexts to <emphasis role="italic">file</emphasis> (default: <emphasis role="bold">file_contexts</emphasis>)</para></listitem>
99 <refentrytitle>file_contexts</refentrytitle>
README 43 file_contexts file will be created.
  /external/selinux/libselinux/src/
file_path_suffixes.h 4 S_(FILE_CONTEXTS, "/contexts/files/file_contexts")
19 S_(FILE_CONTEXTS_HOMEDIR, "/contexts/files/file_contexts.homedirs")
20 S_(FILE_CONTEXTS_LOCAL, "/contexts/files/file_contexts.local")
27 S_(FILE_CONTEXT_SUBS, "/contexts/files/file_contexts.subs")
28 S_(FILE_CONTEXT_SUBS_DIST, "/contexts/files/file_contexts.subs_dist")
policy.h 25 #define FILECONTEXTS "/etc/security/selinux/file_contexts"
  /external/selinux/libsepol/cil/
.gitignore 14 file_contexts
  /external/sepolicy/
procrank.te 1 # File types must be defined for file_contexts.
toolbox.te 19 # device/<vendor>/<product>/sepolicy/file_contexts file.
su.te 1 # File types must be defined for file_contexts.
  /system/extras/squashfs_utils/
mksquashfsimage.sh 8 ${0##*/} SRC_DIR OUTPUT_FILE [-s] [-m MOUNT_POINT] [-d PRODUCT_OUT] [-c FILE_CONTEXTS] [-b BLOCK_SIZE] [-z COMPRESSOR] [-zo COMPRESSOR_OPT]
45 FILE_CONTEXTS=
47 FILE_CONTEXTS=$2
77 if [ -n "$FILE_CONTEXTS" ]; then
78 OPT="$OPT -context-file $FILE_CONTEXTS"
  /external/libselinux/
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/libselinux/man/man3/
selinux_file_context_verify.3 67 .I contexts/files/file_contexts
70 .I contexts/files/file_contexts.local
73 .I contexts/files/file_contexts.homedirs
76 .I contexts/files/file_contexts.subs
  /external/selinux/libselinux/man/man8/
sefcontext_compile.8 12 sefcontext_compile /etc/selinux/targeted/contexts/files/file_contexts
  /external/selinux/libselinux/man/man5/
selabel_file.5 94 .I /etc/selinux/{SELINUXTYPE}/contexts/files/file_contexts
96 .I /etc/selinux/{SELINUXTYPE}/contexts/files/file_contexts.local
98 .I /etc/selinux/{SELINUXTYPE}/contexts/files/file_contexts.homedirs
100 .I /etc/selinux/{SELINUXTYPE}/contexts/files/file_contexts.subs
102 .I /etc/selinux/{SELINUXTYPE}/contexts/files/file_contexts.subs_dist
155 # ./contexts/files/file_contexts
187 # ./contexts/files/file_contexts.subs
  /external/selinux/policycoreutils/semodule_package/
semodule_package.c 94 char *module = NULL, *file_contexts = NULL, *seusers = local
129 if (file_contexts) {
134 file_contexts = strdup(optarg);
135 if (!file_contexts)
188 if (file_contexts) {
189 if (file_to_data(file_contexts, &fcdata, &fclen))
253 free(file_contexts);
semodule_package.8 19 $ semodule_package \-o base.pp \-m base.mod \-f file_contexts
  /external/sepolicy/tools/
README 7 A utility for checking the validity of a file_contexts or a
11 in the file_contexts or property_contexts file.
14 checkfc sepolicy file_contexts
checkfc.c 23 fprintf(stderr, "The context_file is assumed to be a file_contexts file\n");
  /external/selinux/libsepol/include/sepol/policydb/
module.h 39 char *file_contexts; member in struct:sepol_module_package
  /external/selinux/libsepol/src/
module.c 143 free(p->file_contexts);
154 return p->file_contexts;
196 if (set_char(&p->file_contexts, data, len))
257 if ((s = (char *)realloc(base->file_contexts, fc_len)) == NULL) {
260 base->file_contexts = s;
262 memcpy(base->file_contexts + base->file_contexts_len,
263 modules[i]->file_contexts,
512 mod->file_contexts =
514 if (!mod->file_contexts) {
519 (mod->file_contexts, file
    [all...]
  /build/target/product/
embedded.mk 78 file_contexts \
  /external/selinux/secilc/docs/
cil_file_labeling_statements.xml 8 <para>Define entries for labeling files. The compiler will produce these entries in a file called <emphasis role="bold"><literal>file_contexts</literal></emphasis><literal>(5)</literal> by default in the <literal>cwd</literal>. The compiler option <literal>[-f|--filecontext &lt;filename>]</literal> may be used to specify a different path or file name.</para>
38 <para>A single keyword representing a file type in the <literal>file_contexts</literal> file as follows:</para>
50 <para><emphasis role="bold">file_contexts entry</emphasis></para>
130 <listitem><para>An empty context list represented by <literal>()</literal> can be used to indicate that matching files should not be re-labeled. This will be interpreted as <literal>&lt;&lt;none>></literal> within the <emphasis role="bold"><literal>file_contexts</literal></emphasis><literal>(5)</literal> file.</para></listitem>
146 <simpara>to resolve/build <literal>file_contexts</literal> entries of (assuming MLS enabled policy):</simpara>
  /device/generic/qemu/
qemu_base.mk 74 file_contexts \

Completed in 1005 milliseconds

1 2 3