git: d0fd70983b6b - main - libcasper: Use casper_pdfork()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Nov 2026 22:47:03 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=d0fd70983b6b93d4a6a4671457619eb34786b38d
commit d0fd70983b6b93d4a6a4671457619eb34786b38d
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-11-09 22:45:00 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-11-09 22:46:44 +0000
libcasper: Use casper_pdfork()
Fixes: 425e4c102f8a ("libcasper: Use pdfork() for the zygote")
---
lib/libcasper/libcasper/zygote.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libcasper/libcasper/zygote.c b/lib/libcasper/libcasper/zygote.c
index 2736957e82a1..a1caaadc2d7e 100644
--- a/lib/libcasper/libcasper/zygote.c
+++ b/lib/libcasper/libcasper/zygote.c
@@ -194,7 +194,7 @@ zygote_init(void)
if (socketpair(PF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, 0, sp) == -1)
return (-1);
- pid = pdfork(&pfd, PD_NOWAITPID);
+ pid = casper_pdfork(&pfd);
switch (pid) {
case -1:
/* Failure. */