Lines Matching refs:unpriv
1260 static int do_prog_test_run(int fd_prog, bool unpriv, uint32_t expected_val, in do_prog_test_run() argument
1274 if (unpriv) in do_prog_test_run()
1279 if (unpriv) in do_prog_test_run()
1288 if (unpriv) { in do_prog_test_run()
1554 static void do_test_single(struct bpf_test *test, bool unpriv, in do_test_single() argument
1599 expected_ret = unpriv && test->result_unpriv != UNDEF ? in do_test_single()
1601 expected_err = unpriv && test->errstr_unpriv ? in do_test_single()
1693 if (!unpriv && test->insn_processed) { in do_test_single()
1722 if (unpriv && test->retvals[i].retval_unpriv) in do_test_single()
1727 err = do_prog_test_run(fd_prog, unpriv, expected_val, in do_test_single()
1802 static int do_test(bool unpriv, unsigned int from, unsigned int to) in do_test() argument
1822 if (!unpriv) in do_test()
1826 if (!unpriv) in do_test()
1830 if (unpriv) { in do_test()
1850 bool unpriv = !is_admin(); in main() local
1884 if (unpriv && unpriv_disabled) { in main()
1894 return do_test(unpriv, from, to); in main()