/build/tools/fs_config/ |
fs_config.c | 58 static struct selabel_handle* get_sehnd(const char* context_file) { 59 struct selinux_opt seopts[] = { { SELABEL_OPT_PATH, context_file } }; 70 fprintf(stderr, "Usage: fs_config [-D product_out_path] [-S context_file] [-C]\n"); 75 const char* context_file = NULL; local 86 context_file = optarg; 97 if (context_file != NULL) { 98 sehnd = get_sehnd(context_file);
|
/system/sepolicy/tools/ |
checkfc.c | 188 fprintf(stderr, "usage1: %s [-p|-s] [-e] sepolicy context_file\n\n" 190 "The context_file is assumed to be a file_contexts file\n" 192 "If -e is specified, then the context_file is allowed to be empty.\n\n" 251 const char *sepolicy_file, const char *context_file, bool allow_empty) 254 if (stat(context_file, &sb) < 0) { 310 opts[1].value = context_file; 314 fprintf(stderr, "Error: could not load context file from %s\n", context_file); 374 char *context_file = argv[index + 1]; local 376 do_fc_check_and_die_on_error(opts, backend, mode, sepolicy_file, context_file, allow_empty);
|
/external/selinux/policycoreutils/run_init/ |
run_init.c | 71 #define CONTEXT_FILE "initrc_context" 304 char context_file[PATH_MAX]; local 305 snprintf(context_file, sizeof(context_file) - 1, "%s/%s", 306 selinux_contexts_path(), CONTEXT_FILE); 307 fp = fopen(context_file, "r"); 309 fprintf(stderr, _("Could not open file %s\n"), context_file); 336 fprintf(stderr, _("No context in file %s\n"), context_file);
|
/external/squashfs-tools/squashfs-tools/ |
android.c | 57 struct selabel_handle *get_sehnd(const char *context_file) { 61 .value = context_file
|
android.h | 26 struct selabel_handle *get_sehnd(const char *context_file);
|
xattr.c | 107 extern char *context_file; 699 if (context_file) { 701 sehnd = get_sehnd(context_file);
|
mksquashfs.c | 90 char *context_file = NULL; variable [all...] |
/external/libselinux/utils/ |
sefcontext_compile.c | 27 FILE *context_file; local 30 context_file = fopen(filename, "r"); 31 if (!context_file) { 39 while (getline(&line_buf, &line_len, context_file) > 0) { 46 fclose(context_file);
|
/external/selinux/libselinux/utils/ |
sefcontext_compile.c | 38 FILE *context_file; local 41 context_file = fopen(filename, "r"); 42 if (!context_file) { 50 while (getline(&line_buf, &line_len, context_file) > 0) { 64 fclose(context_file);
|
/external/autotest/utils/ |
run_pylint.py | 40 def file_from_modpath(modpath, path=None, context_file=None): 46 @param context_file: path to file doing the importing. 51 return _ffm(modpath[1:], path, context_file) 53 return _ffm(modpath, path, context_file)
|