HomeSort by relevance Sort by last modified time
    Searched refs:policy_file (Results 1 - 25 of 32) sorted by null

1 2

  /external/selinux/libsepol/cil/src/
cil_policy.h 42 int cil_combine_policy(FILE **file_arr, FILE *policy_file);
  /system/sepolicy/tools/sepolicy-analyze/
utils.h 14 int load_policy(char *filename, policydb_t * policydb, struct policy_file *pf);
sepolicy-analyze.c 45 struct policy_file pf;
utils.c 25 int load_policy(char *filename, policydb_t * policydb, struct policy_file *pf)
  /external/minijail/
syscall_filter.h 30 int compile_filter(FILE *policy_file, struct sock_fprog *prog,
syscall_filter.c 370 int compile_filter(FILE *policy_file, struct sock_fprog *prog,
379 if (!policy_file)
407 while (fgets(line, sizeof(line), policy_file)) {
  /external/selinux/policycoreutils/sepolicy/
policy.c 48 const char *policy_file; variable
53 if (!PyArg_ParseTuple(args, "z", &policy_file))
61 pol_path = apol_policy_path_create(path_type, policy_file, mod_paths);
  /external/selinux/libsepol/tests/
test-downgrade.c 206 struct policy_file f;
218 memset(&f, 0, sizeof(struct policy_file));
243 struct policy_file f;
264 memset(&f, 0, sizeof(struct policy_file));
  /cts/tools/selinux/
SELinuxNeverallowTestGen.py 13 def extract_neverallow_rules(policy_file):
14 with open(policy_file, 'r') as in_file:
  /external/selinux/libsepol/src/
private.h 62 extern int next_entry(void *buf, struct policy_file *fp, size_t bytes) hidden;
64 struct policy_file *fp) hidden;
policydb_public.c 20 struct policy_file *pf = &spf->pf;
34 struct policy_file *pf = &spf->pf;
42 struct policy_file *pf = &spf->pf;
write.c 49 struct policy_file *fp;
53 static int avrule_write_list(avrule_t * avrules, struct policy_file *fp);
55 static int ebitmap_write(ebitmap_t * e, struct policy_file *fp)
100 avtab_ptr_t cur, struct policy_file *fp,
273 static int avtab_write(struct policydb *p, avtab_t * a, struct policy_file *fp)
349 struct policy_file *fp)
380 struct policy_file *fp)
397 static int mls_write_level(mls_level_t * l, struct policy_file *fp)
417 static int mls_write_range_helper(mls_range_t * r, struct policy_file *fp)
450 struct policy_file *fp = pd->fp
    [all...]
policydb.c     [all...]
genbools.c 152 struct policy_file pf;
213 struct policy_file pf;
module.c 39 static int policy_file_seek(struct policy_file *fp, size_t offset)
62 static int policy_file_length(struct policy_file *fp, size_t *out)
346 static int read_helper(char *buf, struct policy_file *file, uint32_t bytes)
373 struct policy_file *file,
466 struct policy_file *file = &spf->pf;
651 struct policy_file *file = &spf->pf;
853 static int write_helper(char *data, size_t len, struct policy_file *file)
876 struct policy_file *file = &spf->pf;
  /external/selinux/libsepol/include/sepol/policydb/
avtab.h 120 struct policy_file;
121 extern int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a,
125 extern int avtab_read(avtab_t * a, struct policy_file *fp, uint32_t vers);
conditional.h 132 extern int cond_read_bool(policydb_t * p, hashtab_t h, struct policy_file *fp);
policydb.h 669 typedef struct policy_file { struct
682 struct policy_file pf;
687 extern int policydb_read(policydb_t * p, struct policy_file *fp,
690 struct policy_file *fp);
692 extern int policydb_write(struct policydb *p, struct policy_file *pf);
  /external/selinux/libselinux/utils/
sefcontext_compile.c 17 const char *policy_file; variable
24 if (policy_file && sepol_check_context(ctx) < 0) {
284 "usage: %s [-o out_file] [-p policy_file] fc_file\n"
317 policy_file = optarg;
334 if (policy_file) {
335 policy_fp = fopen(policy_file, "r");
339 policy_file);
345 policy_file);
  /external/libbrillo/policy/tests/
libpolicy_unittest.cc 50 base::FilePath policy_file(kPolicyFileAllSet);
53 new MockDevicePolicyImpl(policy_file, key_file, false);
160 base::FilePath policy_file(kPolicyFileNoneSet);
163 new MockDevicePolicyImpl(policy_file, key_file, false);
  /system/sepolicy/tools/
check_seapp.c 145 FILE *policy_file; /** file handle to the policy file */ member in struct:policy_info
172 .policy_file = NULL,
380 if (!pol.policy_file) {
398 if (!pol.policy_file) {
857 pol.policy_file = fopen(pol.policy_file_name, "rb");
858 if (!pol.policy_file) {
877 sepol_policy_file_set_fp(pol.pf, pol.policy_file);
1203 if (pol.policy_file) {
1206 fclose(pol.policy_file);
sepolicy-check.c 188 int load_policy(char *filename, policydb_t *policydb, struct policy_file *pf) {
237 struct policy_file pf;
  /external/selinux/checkpolicy/
checkmodule.c 56 struct policy_file f, *fp;
114 struct policy_file pf;
  /external/selinux/policycoreutils/sepolicy/sepolicy/
__init__.py 773 def policy(policy_file):
793 _policy.policy(policy_file)
795 raise ValueError(_("Failed to read %s policy file") % policy_file)
798 policy_file = get_installed_policy() variable
799 policy(policy_file)
  /external/selinux/policycoreutils/sepolgen-ifgen/
sepolgen-ifgen-attr-helper.c 148 struct policy_file pf;
191 printf("usage: %s policy_file out_file\n", progname);

Completed in 3076 milliseconds

1 2