11 tmp_file = "./tmpfile";
12 int fh = open(tmp_file, O_CREAT | O_TRUNC | O_WRONLY, 0666);
25 error = acct(tmp_file);
38 test_as_root (test_acct, 0, "acct");
39 test_as_jailed_root (test_acct, EPERM, "acct");
40 test_as_unpriv (test_acct, EPERM, "acct");
41 test_as_jailed_unpriv (test_acct, EPERM, "acct");