git: cbdec8db18b5 - main - libc: Add pdfork to the list of interposed system calls

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Mon, 06 Dec 2021 23:34:38 UTC
The branch main has been updated by markj:

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

commit cbdec8db18b533f6d7be329da151d6b61df3f98b
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-12-06 23:02:25 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-12-06 23:32:43 +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).")
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
---
 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 5c472f835029..14740b74d6b3 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -72,6 +72,7 @@ INTERPOSED = \
 	nanosleep \
 	open \
 	openat \
+	pdfork \
 	poll \
 	ppoll \
 	pselect \