[Bug 250179] Failing test case: sys.capsicum.functional.Pdfork__OtherUserForked

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 13 15:01:53 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250179

--- Comment #2 from Ed Maste <emaste at freebsd.org> ---
Failing case:

   533    // Now that the second process has been pdfork()ed, change euid.
   534    setuid(other_uid);
   535    if (verbose) fprintf(stderr, "uid=%d euid=%d\n", getuid(),
geteuid());
   536
   537    // Fail to kill child with normal PID operation.
   538    EXPECT_EQ(-1, kill(pid, SIGKILL));
   539    EXPECT_EQ(EPERM, errno);
   540    EXPECT_PID_ALIVE(pid);
   541
   542    // Succeed with pdkill though.
   543    EXPECT_OK(pdkill(pd, SIGKILL));
   544    EXPECT_PID_ZOMBIE(pid);

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-testing mailing list