Summary: | Failing test case: sys.capsicum.functional.Pdfork__OtherUserForked | ||
---|---|---|---|
Product: | Base System | Reporter: | Li-Wen Hsu <lwhsu> |
Component: | tests | Assignee: | freebsd-testing (Nobody) <testing> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | arichardson, emaste |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Li-Wen Hsu
2020-10-07 09:50:00 UTC
A commit references this bug: Author: lwhsu Date: Wed Oct 7 09:53:25 UTC 2020 New revision: 366512 URL: https://svnweb.freebsd.org/changeset/base/366512 Log: Temporarily skip failing test cases in CI: sys.capsicum.functional.Capability__NoBypassDAC sys.capsicum.functional.Pdfork__OtherUserForked PR: 250178, 250179 Sponsored by: The FreeBSD Foundation Changes: head/tests/sys/capsicum/functional.sh 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); |