/freebsd-9.3-release/tools/regression/priv/ |
H A D | priv_netinet_ipsec.c | 56 struct test *test, int af) 90 struct test *test) 93 return (priv_netinet_ipsec_policy_bypass_setup_af(asroot, injail, test, 100 struct test *test) 103 return (priv_netinet_ipsec_policy_bypass_setup_af(asroot, injail, test, 111 struct test *test, in 55 priv_netinet_ipsec_policy_bypass_setup_af(int asroot, int injail, struct test *test, int af) argument 89 priv_netinet_ipsec_policy4_bypass_setup(int asroot, int injail, struct test *test) argument 99 priv_netinet_ipsec_policy6_bypass_setup(int asroot, int injail, struct test *test) argument 110 priv_netinet_ipsec_policy_entrust_setup_af(int asroot, int injail, struct test *test, int af) argument 144 priv_netinet_ipsec_policy4_entrust_setup(int asroot, int injail, struct test *test) argument 154 priv_netinet_ipsec_policy6_entrust_setup(int asroot, int injail, struct test *test) argument 164 priv_netinet_ipsec_pfkey(int asroot, int injail, struct test *test) argument 195 priv_netinet_ipsec_policy_bypass_af(int asroot, int injail, struct test *test, int af) argument 232 priv_netinet_ipsec_policy4_bypass(int asroot, int injail, struct test *test) argument 240 priv_netinet_ipsec_policy6_bypass(int asroot, int injail, struct test *test) argument 248 priv_netinet_ipsec_policy_entrust_af(int asroot, int injail, struct test *test, int af) argument 285 priv_netinet_ipsec_policy4_entrust(int asroot, int injail, struct test *test) argument 293 priv_netinet_ipsec_policy6_entrust(int asroot, int injail, struct test *test) argument 301 priv_netinet_ipsec_policy_bypass_cleanup(int asroot, int injail, struct test *test) argument 316 priv_netinet_ipsec_policy_entrust_cleanup(int asroot, int injail, struct test *test) argument [all...] |
H A D | priv_adjtime.c | 51 priv_adjtime_setup(int asroot, int injail, struct test *test) argument 65 priv_adjtime_set(int asroot, int injail, struct test *test) argument 81 priv_adjtime_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_audit_submit.c | 52 priv_audit_submit_setup(int asroot, int injail, struct test *test) argument 63 priv_audit_submit(int asroot, int injail, struct test *test) argument 85 priv_audit_submit_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_kenv_set.c | 48 priv_kenv_set_setup(int asroot, int injail, struct test *test) argument 56 priv_kenv_set(int asroot, int injail, struct test *test) argument 72 priv_kenv_set_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_kenv_unset.c | 48 priv_kenv_unset_setup(int asroot, int injail, struct test *test) argument 59 priv_kenv_unset(int asroot, int injail, struct test *test) argument 75 priv_kenv_unset_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_netinet_raw.c | 48 priv_netinet_raw_setup(int asroot, int injail, struct test *test) argument 55 priv_netinet_raw(int asroot, int injail, struct test *test) argument 79 priv_netinet_raw_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_proc_setlogin.c | 50 priv_proc_setlogin_setup(int asroot, int injail, struct test *test) argument 65 priv_proc_setlogin(int asroot, int injail, struct test *test) argument 83 priv_proc_setlogin_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_vfs_fhstat.c | 53 priv_vfs_fhstat_setup(int asroot, int injail, struct test *test) argument 67 priv_vfs_fhstat(int asroot, int injail, struct test *test) argument 84 priv_vfs_fhstat_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_vfs_fhstatfs.c | 52 priv_vfs_fhstatfs_setup(int asroot, int injail, struct test *test) argument 66 priv_vfs_fhstatfs(int asroot, int injail, struct test *test) argument 86 priv_vfs_fhstatfs_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_vfs_getfh.c | 49 priv_vfs_getfh_setup(int asroot, int injail, struct test *test) argument 58 priv_vfs_getfh(int asroot, int injail, struct test *test) argument 75 priv_vfs_getfh_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_sched_setpriority.c | 34 * Test that privilege is required to lower nice value; first test with, then 38 * permissions test, we have to create two children processes with different 58 priv_sched_setpriority_setup(int asroot, int injail, struct test *test) argument 67 if (test->t_test_func == priv_sched_setpriority_aproc) { 71 if (test->t_test_func == priv_sched_setpriority_myproc) 96 priv_sched_setpriority_curproc(int asroot, int injail, struct test *test) argument 116 priv_sched_setpriority_myproc(int asroot, int injail, struct test *test) argument 136 priv_sched_setpriority_aproc(int asroot, int injail, struct test *test) argument 156 priv_sched_setpriority_cleanup(int asroot, int injail, struct test *test) argument [all...] |
H A D | priv_acct.c | 34 * Test that configuring accounting requires privilege. We test four cases 65 priv_acct_setup(int asroot, int injail, struct test *test) argument 85 if (test->t_test_func == priv_acct_enable || 86 test->t_test_func == priv_acct_noopdisable) { 91 } else if (test->t_test_func == priv_acct_disable || 92 test->t_test_func == priv_acct_rotate) { 102 priv_acct_cleanup(int asroot, int injail, struct test *test) argument 117 priv_acct_enable(int asroot, int injail, struct test *tes argument 133 priv_acct_disable(int asroot, int injail, struct test *test) argument 149 priv_acct_rotate(int asroot, int injail, struct test *test) argument 165 priv_acct_noopdisable(int asroot, int injail, struct test *test) argument [all...] |
H A D | priv_cred.c | 51 priv_cred_setup(int asroot, int injail, struct test *test) argument 58 priv_cred_setuid(int asroot, int injail, struct test *test) argument 74 priv_cred_seteuid(int asroot, int injail, struct test *test) argument 90 priv_cred_setgid(int asroot, int injail, struct test *test) argument 106 priv_cred_setegid(int asroot, int injail, struct test *test) argument 125 priv_cred_setgroups(int asroot, int injail, struct test *test) argument 141 priv_cred_setreuid(int asroot, int injail, struct test *test) argument 157 priv_cred_setregid(int asroot, int injail, struct test *test) argument 173 priv_cred_setresuid(int asroot, int injail, struct test *test) argument 189 priv_cred_setresgid(int asroot, int injail, struct test *test) argument 205 priv_cred_cleanup(int asroot, int injail, struct test *test) argument [all...] |
H A D | priv_audit_getaudit.c | 47 priv_audit_getaudit_setup(int asroot, int injail, struct test *test) argument 58 priv_audit_getaudit(int asroot, int injail, struct test *test) argument 78 priv_audit_getaudit_addr(int asroot, int injail, struct test *test) argument 99 priv_audit_getaudit_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_audit_setaudit.c | 51 priv_audit_setaudit_setup(int asroot, int injail, struct test *test) argument 67 priv_audit_setaudit(int asroot, int injail, struct test *test) argument 86 priv_audit_setaudit_addr(int asroot, int injail, struct test *test) argument 106 priv_audit_setaudit_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_sysctl_write.c | 59 priv_sysctl_write_setup(int asroot, int injail, struct test *test) argument 86 priv_sysctl_write(int asroot, int injail, struct test *test) argument 106 priv_sysctl_writejail(int asroot, int injail, struct test *test) argument 125 priv_sysctl_write_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_vfs_chflags.c | 70 priv_vfs_chflags_froot_setup(int asroot, int injail, struct test *test) argument 81 struct test *test) 92 struct test *test) 103 struct test *test) 127 struct test *test) 80 priv_vfs_chflags_fowner_setup(int asroot, int injail, struct test *test) argument 91 priv_vfs_chflags_fother_setup(int asroot, int injail, struct test *test) argument 102 priv_vfs_chflags_froot_uflags(int asroot, int injail, struct test *test) argument 126 priv_vfs_chflags_fowner_uflags(int asroot, int injail, struct test *test) argument 150 priv_vfs_chflags_fother_uflags(int asroot, int injail, struct test *test) argument 174 priv_vfs_chflags_froot_sflags(int asroot, int injail, struct test *test) argument 198 priv_vfs_chflags_fowner_sflags(int asroot, int injail, struct test *test) argument 222 priv_vfs_chflags_fother_sflags(int asroot, int injail, struct test *test) argument 246 priv_vfs_chflags_cleanup(int asroot, int injail, struct test *test) argument [all...] |
H A D | priv_vfs_utimes.c | 54 priv_vfs_utimes_froot_setup(int asroot, int injail, struct test *test) argument 64 priv_vfs_utimes_fowner_setup(int asroot, int injail, struct test *test) argument 74 priv_vfs_utimes_fother_setup(int asroot, int injail, struct test *test) argument 78 * In the 'other' case, we make the file writable by the test user so 90 priv_vfs_utimes_froot(int asroot, int injail, struct test *test) argument 113 priv_vfs_utimes_froot_null(int asroot, int injail, struct test *tes argument 133 priv_vfs_utimes_fowner(int asroot, int injail, struct test *test) argument 154 priv_vfs_utimes_fowner_null(int asroot, int injail, struct test *test) argument 174 priv_vfs_utimes_fother(int asroot, int injail, struct test *test) argument 197 priv_vfs_utimes_fother_null(int asroot, int injail, struct test *test) argument 217 priv_vfs_utimes_cleanup(int asroot, int injail, struct test *test) argument [all...] |
H A D | priv_msgbuf.c | 56 priv_msgbuf_privonly_setup(int asroot, int injail, struct test *test) argument 81 priv_msgbuf_privonly(int asroot, int injail, struct test *test) argument 101 priv_msgbuf_unprivok_setup(int asroot, int injail, struct test *test) argument 126 priv_msgbuf_unprivok(int asroot, int injail, struct test *test) argument 143 priv_msgbuf_cleanup(int asroot, int injail, struct test *test) argument [all...] |
H A D | priv_proc_setrlimit.c | 35 * requires privilege. We test three cases: 57 priv_proc_setrlimit_setup(int asroot, int injail, struct test *test) argument 86 priv_proc_setrlimit_raisemax(int asroot, int injail, struct test *test) argument 114 struct test *test) 141 priv_proc_setrlimit_raisecur(int asroot, int injail, struct test *test) argument 164 priv_proc_setrlimit_cleanup(int asroot, int injail, struct test *tes argument 113 priv_proc_setrlimit_raisecur_nopriv(int asroot, int injail, struct test *test) argument [all...] |
/freebsd-9.3-release/tools/regression/sockets/zerosend/ |
H A D | zerosend.c | 49 try_0send(const char *test, int fd) argument 57 err(-1, "%s: try_0send", test); 59 errx(-1, "%s: try_0send: returned %d", test, len); 63 try_0write(const char *test, int fd) argument 71 err(-1, "%s: try_0write", test); 73 errx(-1, "%s: try_0write: returned %d", test, len); 77 setup_udp(const char *test, int *fdp) argument 90 err(-1, "%s: setup_udp: socket", test); 92 err(-1, "%s: setup_udp: bind(%s, %d)", test, 96 err(-1, "%s: setup_udp: connect(%s, %d)", test, 115 setup_tcp(const char *test, int *fdp) argument 186 setup_udsstream(const char *test, int *fdp) argument 194 setup_udsdgram(const char *test, int *fdp) argument 202 setup_pipe(const char *test, int *fdp) argument 210 setup_fifo(const char *test, int *fdp) argument [all...] |
/freebsd-9.3-release/tools/regression/ia64/unaligned/ |
H A D | unaligned.t | 40 local $test = "${access}_${type}_${size}_${postinc}"; 41 local $tmpfile = "/tmp/" . $$ . "_$test"; 44 $st = system("cc -o $tmpfile -DACCESS=$access -DTYPE=$type -DSIZE=$size -DPOSTINC=$postinc -Wall -O -g $srcdir/test.c"); 46 print "not ok $nr $test # compiling $test\n"; 51 print "ok $nr $test\n"; 54 print "not ok $nr $test # invalid combination\n"; 57 print "not ok $nr $test # value mismatch\n"; 60 print "not ok $nr $test # post increment mismatch\n"; 63 print "not ok $nr $test # signalle [all...] |
/freebsd-9.3-release/tools/regression/pthread/unwind/ |
H A D | main_thread_exit.cpp | 13 Test test; local
|
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/providers/ |
H A D | err.D_PDESC_ZERO.nonprofile.d | 31 * Simple profile provider test; 45 profile:::test
|
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | test_config.c | 95 } test[] = { variable in typeref:struct:__anon4658 112 test[0].res = list0; 113 test[1].res = list1; 114 test[2].res = list2; 116 for (i = 0; i < sizeof(test)/sizeof(*test); i++) { 117 check_config_file(context, test[i].fl, test[i].res, 0); 118 check_config_file(context, test[i].fl, test[ [all...] |