Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2020 15:01:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@FreeBSD.org
Subject:   [Bug 250179] Failing test case: sys.capsicum.functional.Pdfork__OtherUserForked
Message-ID:  <bug-250179-32464-oBUDDbtOfe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250179-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250179-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250179

--- Comment #2 from Ed Maste <emaste@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=3D%d euid=3D%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);

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250179-32464-oBUDDbtOfe>