Skip to content

Commit 2d96abb

Browse files
committed
ext/pcntl: pcntl_setns stub taking in account recent changes.
removing last instance of HAVE_PIDFD_OPEN
1 parent aab2815 commit 2d96abb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ext/pcntl/pcntl.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ function pcntl_rfork(int $flags, int $signal = 0): int{}
10911091
function pcntl_forkx(int $flags): int{}
10921092
#endif
10931093

1094-
#ifdef HAVE_PIDFD_OPEN
1094+
#ifdef HAVE_LINUX_RAW_SYSCALL_PIDFD_OPEN
10951095
function pcntl_setns(?int $process_id = null, int $nstype = CLONE_NEWNET): bool {}
10961096
#endif
10971097

ext/pcntl/pcntl_arginfo.h

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)