git: a5659943e37a - stable/13 - libc: Add pdfork to the list of interposed system calls

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Mon, 13 Dec 2021 13:28:48 UTC
The branch stable/13 has been updated by markj:

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

commit a5659943e37a74c96eae5cbb5f83237c7f07f848
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-12-06 23:02:25 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-12-13 13:26:58 +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 d2b39fe65c44..33e87e513b05 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -69,6 +69,7 @@ INTERPOSED = \
 	nanosleep \
 	open \
 	openat \
+	pdfork \
 	poll \
 	ppoll \
 	pselect \