Lines Matching refs:opts
240 static void do_compare_and_die_on_error(struct selinux_opt opts[], unsigned int backend, char *paths[])
246 opts[0].value = NULL; /* not validating against a policy when comparing */
249 opts[1].value = paths[i];
250 global_state.sepolicy.sehnd[i] = selabel_open(backend, opts, 2);
261 static void do_fc_check_and_die_on_error(struct selinux_opt opts[], unsigned int backend, filemode mode,
321 opts[1].value = context_file;
323 global_state.sepolicy.sehnd[0] = selabel_open(backend, opts, 2);
332 struct selinux_opt opts[] = {
389 do_compare_and_die_on_error(opts, backend, &(argv[index]));
395 do_fc_check_and_die_on_error(opts, backend, mode, sepolicy_file, context_file, allow_empty);