Home
last modified time | relevance | path

Searched refs:context_file (Results 1 – 6 of 6) sorted by relevance

/external/selinux/policycoreutils/run_init/
Drun_init.c304 char context_file[PATH_MAX]; local
305 snprintf(context_file, sizeof(context_file) - 1, "%s/%s",
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/
Dandroid.c53 struct selabel_handle *get_sehnd(const char *context_file) { in get_sehnd() argument
57 .value = context_file in get_sehnd()
Dandroid.h22 struct selabel_handle *get_sehnd(const char *context_file);
Dxattr.c87 extern char *context_file;
656 if (context_file) { in read_xattrs()
658 sehnd = get_sehnd(context_file); in read_xattrs()
Dmksquashfs.c84 char *context_file = NULL; variable
5577 context_file = argv[i]; in main()
/external/selinux/libselinux/utils/
Dsefcontext_compile.c22 FILE *context_file; in process_file() local
24 context_file = fopen(filename, "r"); in process_file()
25 if (!context_file) { in process_file()
31 while ((len = getline(&line_buf, &line_len, context_file)) != -1) { in process_file()
123 fclose(context_file); in process_file()