Home
last modified time | relevance | path

Searched refs:pcntl_unshare (Results 1 – 7 of 7) sorted by relevance

/php-src/ext/pcntl/tests/
H A Dpcntl_unshare_02.phpt2 pcntl_unshare() with CLONE_NEWPID
8 if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available");
13 (@pcntl_unshare(CLONE_NEWUSER) == false && pcntl_get_last_error() == PCNTL_EPERM))) {
16 if (@pcntl_unshare(CLONE_NEWPID) == false && pcntl_get_last_error() == PCNTL_EPERM) {
25 pcntl_unshare(CLONE_NEWUSER);
29 pcntl_unshare(CLONE_NEWPID);
H A Dpcntl_unshare_03.phpt2 pcntl_unshare() with CLONE_NEWNET
8 if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available");
12 (@pcntl_unshare(CLONE_NEWUSER) == false && pcntl_get_last_error() == PCNTL_EPERM))) {
15 if (@pcntl_unshare(CLONE_NEWNET) == false && pcntl_get_last_error() == PCNTL_EPERM) {
25 pcntl_unshare(CLONE_NEWUSER);
29 pcntl_unshare(CLONE_NEWNET);
H A Dpcntl_unshare_04.phpt2 pcntl_unshare() with wrong flag
8 if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available");
10 if (@pcntl_unshare(42) == false && pcntl_get_last_error() == PCNTL_EPERM) {
19 pcntl_unshare(42);
26 pcntl_unshare(): Argument #1 ($flags) must be a combination of CLONE_* flags, or at least one flag …
H A Dpcntl_unshare_01.phpt2 pcntl_unshare() with CLONE_NEWUSER
8 if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available");
10 if (@pcntl_unshare(CLONE_NEWUSER) == false && pcntl_get_last_error() == PCNTL_EPERM) {
19 pcntl_unshare(CLONE_NEWUSER);
/php-src/ext/pcntl/
H A Dpcntl.stub.php1080 function pcntl_unshare(int $flags): bool {} function
H A Dpcntl_arginfo.h211 ZEND_FUNCTION(pcntl_unshare);
273 ZEND_FE(pcntl_unshare, arginfo_pcntl_unshare)
H A Dpcntl.c1413 PHP_FUNCTION(pcntl_unshare) in PHP_FUNCTION() argument

Completed in 13 milliseconds