OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:file_contexts
(Results
1 - 25
of
71
) 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")
28
S_(FILE_CONTEXT_SUBS, "/contexts/files/
file_contexts
.subs")
29
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
/system/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
17
Also used to compare two
file_contexts
or
file_contexts
.bin files.
24
$ checkfc -c out/target/product/shamu/system/etc/general_file_contexts out/target/product/shamu/root/
file_contexts
.bin
/system/sepolicy/tools/fc_sort/
README
1
fc_sort is a tool used for sorting the
file_contexts
entries based on a heuristic that is
/external/selinux/libselinux/man/man8/
sefcontext_compile.8
50
sefcontext_compile /etc/selinux/targeted/contexts/files/
file_contexts
54
/etc/selinux/targeted/contexts/files/
file_contexts
.bin
59
sefcontext_compile -o new_fc.bin /etc/selinux/targeted/contexts/files/
file_contexts
/system/sepolicy/
Android.mk
197
LOCAL_MODULE :=
file_contexts
.bin
204
# The
file_contexts
.bin is built in the following way:
205
# 1. Collect all
file_contexts
files in THIS repository and process them with
206
# m4 into a tmp file called
file_contexts
.local.tmp.
207
# 2. Collect all device specific
file_contexts
files and process them with m4
208
# into a tmp file called
file_contexts
.device.tmp.
210
#
file_contexts
.device.tmp and output to
file_contexts
.device.sorted.tmp.
211
# 4. Concatenate
file_contexts
.local.tmp and
file_contexts
.device.tmp int
[
all
...]
toolbox.te
19
# device/<vendor>/<product>/sepolicy/
file_contexts
file.
CleanSpec.mk
51
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/
file_contexts
)
52
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/
file_contexts
)
/external/selinux/libselinux/man/man5/
selabel_file.5
59
.I
file_contexts
.bin
96
.I /etc/selinux/{SELINUXTYPE}/contexts/files/
file_contexts
98
.I /etc/selinux/{SELINUXTYPE}/contexts/files/
file_contexts
.local
100
.I /etc/selinux/{SELINUXTYPE}/contexts/files/
file_contexts
.homedirs
102
.I /etc/selinux/{SELINUXTYPE}/contexts/files/
file_contexts
.subs
104
.I /etc/selinux/{SELINUXTYPE}/contexts/files/
file_contexts
.subs_dist
157
# ./contexts/files/
file_contexts
189
# ./contexts/files/
file_contexts
.subs
/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
/system/extras/squashfs_utils/
mksquashfsimage.sh
8
${0##*/} SRC_DIR OUTPUT_FILE [-s] [-m MOUNT_POINT] [-d PRODUCT_OUT] [-C FS_CONFIG ] [-c
FILE_CONTEXTS
] [-B BLOCK_MAP_FILE] [-b BLOCK_SIZE] [-z COMPRESSOR] [-zo COMPRESSOR_OPT] [-a ]
51
FILE_CONTEXTS
=
53
FILE_CONTEXTS
=$2
98
if [ -n "$
FILE_CONTEXTS
" ]; then
99
OPT="$OPT -context-file $
FILE_CONTEXTS
"
/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/selinux/libselinux/utils/
selabel_partial_match.c
17
" against a regex entry in the
file_contexts
file.\n\t"
18
"-f Optional
file_contexts
file (defaults to current policy).\n\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
...]
/cts/hostsidetests/security/src/android/security/cts/
SELinuxHostTest.java
274
* Tests that the
file_contexts
.bin file on the device contains
285
/* obtain
file_contexts
.bin file from running device */
286
deviceFcFile = File.createTempFile("
file_contexts
", ".bin");
288
mDevice.pullFile("/
file_contexts
.bin", deviceFcFile);
290
/* retrieve the AOSP
file_contexts
file from jar */
293
/* run checkfc -c general_file_contexts.bin
file_contexts
.bin */
303
assertTrue("The
file_contexts
.bin file did not include the AOSP entries:\n"
347
* Tests that the
file_contexts
.bin file on the device is valid.
357
/* obtain
file_contexts
.bin file from running device */
358
deviceFcFile = File.createTempFile("
file_contexts
", ".bin")
[
all
...]
/build/target/product/
embedded.mk
82
file_contexts
.bin \
Completed in 309 milliseconds
1
2
3