Searched refs:unpriv (Results 1 – 2 of 2) sorted by relevance
206 make_sock(struct sockaddr_un *sa, const char *ifname, int unpriv) in make_sock() argument234 if (unpriv) in make_sock()
8934 static void do_test_single(struct bpf_test *test, bool unpriv, in do_test_single() argument8954 expected_ret = unpriv && test->result_unpriv != UNDEF ? in do_test_single()8956 expected_err = unpriv && test->errstr_unpriv ? in do_test_single()9052 static int do_test(bool unpriv, unsigned int from, unsigned int to) in do_test() argument9063 if (!unpriv) in do_test()9067 if (!unpriv) in do_test()9071 if (!unpriv) { in do_test()9086 bool unpriv = !is_admin(); in main() local9105 setrlimit(RLIMIT_MEMLOCK, unpriv ? &rlim : &rinf); in main()9106 return do_test(unpriv, from, to); in main()