Lines Matching refs:opts
253 static void do_compare_and_die_on_error(struct selinux_opt opts[], unsigned int backend, char *path… in do_compare_and_die_on_error() argument
259 opts[0].value = NULL; /* not validating against a policy when comparing */ in do_compare_and_die_on_error()
262 opts[1].value = paths[i]; in do_compare_and_die_on_error()
263 global_state.sepolicy.sehnd[i] = selabel_open(backend, opts, 2); in do_compare_and_die_on_error()
287 static void do_test_data_and_die_on_error(struct selinux_opt opts[], unsigned int backend, in do_test_data_and_die_on_error() argument
290 opts[0].value = NULL; /* not validating against a policy */ in do_test_data_and_die_on_error()
291 opts[1].value = paths[0]; in do_test_data_and_die_on_error()
292 global_state.sepolicy.sehnd[0] = selabel_open(backend, opts, 2); in do_test_data_and_die_on_error()
356 static void do_fc_check_and_die_on_error(struct selinux_opt opts[], unsigned int backend, filemode … in do_fc_check_and_die_on_error() argument
416 opts[1].value = context_file; in do_fc_check_and_die_on_error()
418 global_state.sepolicy.sehnd[0] = selabel_open(backend, opts, 2); in do_fc_check_and_die_on_error()
427 struct selinux_opt opts[] = { in main() local
488 do_compare_and_die_on_error(opts, backend, &(argv[index])); in main()
490 do_test_data_and_die_on_error(opts, backend, &(argv[index])); in main()
496 do_fc_check_and_die_on_error(opts, backend, mode, sepolicy_file, context_file, allow_empty); in main()