OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:file_contexts
(Results
1 - 11
of
11
) sorted by null
/external/selinux/libsepol/include/sepol/policydb/
module.h
40
char *
file_contexts
;
member in struct:sepol_module_package
/external/selinux/secilc/
secilc.c
52
printf(" (default:
file_contexts
)\n");
82
FILE *
file_contexts
;
local
341
file_contexts
= fopen("
file_contexts
", "w+");
343
file_contexts
= fopen(filecontexts, "w+");
346
if (
file_contexts
== NULL) {
347
fprintf(stderr, "Failed to open
file_contexts
file\n");
351
if (fwrite(fc_buf, sizeof(char), fc_size,
file_contexts
) != fc_size) {
352
fprintf(stderr, "Failed to write
file_contexts
file\n");
356
fclose(
file_contexts
);
[
all
...]
Makefile
60
rm -f
file_contexts
/external/selinux/semodule-utils/semodule_package/
semodule_package.c
98
char *module = NULL, *
file_contexts
= NULL, *seusers =
local
133
if (
file_contexts
) {
138
file_contexts
= strdup(optarg);
139
if (!
file_contexts
)
192
if (
file_contexts
) {
193
if (file_to_data(
file_contexts
, &fcdata, &fclen))
257
free(
file_contexts
);
/system/sepolicy/tests/
sepolicy_tests.py
39
# This is used to allow multiple
file_contexts
files and tests to be
68
parser.add_option("-f", "--
file_contexts
", dest="
file_contexts
",
89
if not options.
file_contexts
:
90
sys.exit("Error: Must specify
file_contexts
file(s)\n" + parser.usage)
91
for f in options.
file_contexts
:
93
sys.exit("Error:
File_contexts
file " + f + " does not exist\n" +
96
pol = policy.Policy(options.policy, options.
file_contexts
, options.libpath)
treble_sepolicy_tests.py
13
Use
file_contexts
and policy to verify Treble requirements
143
# There is no
file_contexts
entry associated with postinstall_file
299
# This is used to allow multiple
file_contexts
files and tests to be
326
parser.add_option("-f", "--
file_contexts
", dest="
file_contexts
",
349
if not options.
file_contexts
:
350
sys.exit("Error: Must specify
file_contexts
file(s)\n" + parser.usage)
351
for f in options.
file_contexts
:
353
sys.exit("Error:
File_contexts
file " + f + " does not exist\n" +
373
pol = policy.Policy(options.policy, options.
file_contexts
, options.libpath
[
all
...]
/external/selinux/libsepol/src/
module.c
144
free(p->
file_contexts
);
155
return p->
file_contexts
;
197
if (set_char(&p->
file_contexts
, data, len))
258
if ((s = (char *)realloc(base->
file_contexts
, fc_len)) == NULL) {
261
base->
file_contexts
= s;
263
memcpy(base->
file_contexts
+ base->file_contexts_len,
264
modules[i]->
file_contexts
,
513
mod->
file_contexts
=
515
if (!mod->
file_contexts
) {
520
(mod->
file_contexts
, file
[
all
...]
/system/sepolicy/
Android.mk
796
LOCAL_MODULE :=
file_contexts
.bin
803
# The
file_contexts
.bin is built in the following way:
804
# 1. Collect all
file_contexts
files in THIS repository and process them with
805
# m4 into a tmp file called
file_contexts
.local.tmp.
806
# 2. Collect all device specific
file_contexts
files and process them with m4
807
# into a tmp file called
file_contexts
.device.tmp.
809
#
file_contexts
.device.tmp and output to
file_contexts
.device.sorted.tmp.
810
# 4. Concatenate
file_contexts
.local.tmp and
file_contexts
.device.tmp int
[
all
...]
/external/selinux/policycoreutils/scripts/
fixfiles
122
FC=/etc/selinux/${SELINUXTYPE}/contexts/files/
file_contexts
124
FC=/etc/security/selinux/
file_contexts
/external/selinux/checkpolicy/test/
dismod.c
756
package->
file_contexts
= NULL;
760
free(package->
file_contexts
);
/build/make/core/
Makefile
[
all
...]
Completed in 379 milliseconds