Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2021 15:01:14 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 3f649694a811 - stable/12 - libc: Add pdfork to the list of interposed system calls
Message-ID:  <202112281501.1BSF1EUD025169@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=3f649694a8114320bf61e16c12130cdc48d79b96

commit 3f649694a8114320bf61e16c12130cdc48d79b96
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-12-06 23:02:25 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-12-28 15:01:02 +0000

    libc: Add pdfork to the list of interposed system calls
    
    Otherwise the asm stub is used and libthr interposition does not work.
    
    Reviewed by:    kib
    Fixes:          21f749da82e7 ("libthr: wrap pdfork(2), same as fork(2).")
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit cbdec8db18b533f6d7be329da151d6b61df3f98b)
---
 lib/libc/sys/Makefile.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index 210186e2eb38..1807a44a3519 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -66,6 +66,7 @@ INTERPOSED = \
 	nanosleep \
 	open \
 	openat \
+	pdfork \
 	poll \
 	ppoll \
 	pselect \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112281501.1BSF1EUD025169>