Page MenuHomeFreeBSD

D15214.diff
No OneTemporary

D15214.diff

Index: head/tests/sys/kern/pdeathsig.c
===================================================================
--- head/tests/sys/kern/pdeathsig.c
+++ head/tests/sys/kern/pdeathsig.c
@@ -229,7 +229,6 @@
int rc;
int pipe_ca[2];
int pipe_db[2];
- int pipe_cd[2];
char buffer;
int status;
@@ -237,8 +236,6 @@
ATF_REQUIRE(rc == 0);
rc = pipe(pipe_db);
ATF_REQUIRE(rc == 0);
- rc = pipe(pipe_cd);
- ATF_REQUIRE(rc == 0);
rc = fork();
ATF_REQUIRE(rc != -1);
@@ -265,10 +262,6 @@
/* request a signal on parent death and register a handler */
rc = procctl(P_PID, 0, PROC_PDEATHSIG_CTL, &signum);
assert(rc == 0);
-
- /* tell D we are ready for it to attach */
- rc = write(pipe_cd[1], ".", 1);
- assert(rc == 1);
/* wait for B to die and signal us... */
signum = 0xdeadbeef;

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 28, 7:44 AM (1 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30464395
Default Alt Text
D15214.diff (815 B)

Event Timeline