diff options
author | Mark Johnston <markj@FreeBSD.org> | 2021-12-06 23:02:25 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2021-12-13 13:26:58 +0000 |
commit | a5659943e37a74c96eae5cbb5f83237c7f07f848 (patch) | |
tree | 1ece9cdf8162e50a137cee5518a859f2bb0c7936 | |
parent | e302ae7756c87fe20f04578c8d2e126c17a9fa1a (diff) | |
download | src-a5659943e37a74c96eae5cbb5f83237c7f07f848.tar.gz src-a5659943e37a74c96eae5cbb5f83237c7f07f848.zip |
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)
-rw-r--r-- | lib/libc/sys/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |