Home
last modified time | relevance | path

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

/PHP-8.0/ext/pcntl/tests/
H A Dpcntl_unshare_02.phpt2 pcntl_unshare() with CLONE_NEWPID
7 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_NEWPID) == false && pcntl_get_last_error() == PCNTL_EPERM) {
23 pcntl_unshare(CLONE_NEWUSER);
27 pcntl_unshare(CLONE_NEWPID);
H A Dpcntl_unshare_03.phpt2 pcntl_unshare() with CLONE_NEWNET
7 if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available");
11 (pcntl_unshare(CLONE_NEWUSER) == false && pcntl_get_last_error() == PCNTL_EPERM))) {
14 if (@pcntl_unshare(CLONE_NEWNET) == false && pcntl_get_last_error() == PCNTL_EPERM) {
23 pcntl_unshare(CLONE_NEWUSER);
27 pcntl_unshare(CLONE_NEWNET);
H A Dpcntl_unshare_04.phpt2 pcntl_unshare() with wrong flag
7 if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available");
9 if (@pcntl_unshare(42) == false && pcntl_get_last_error() == PCNTL_EPERM) {
18 pcntl_unshare(42);
25 pcntl_unshare(): Argument #1 ($flags) must be a combination of CLONE_* flags
H A Dpcntl_unshare_01.phpt2 pcntl_unshare() with CLONE_NEWUSER
7 if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available");
9 if (@pcntl_unshare(CLONE_NEWUSER) == false && pcntl_get_last_error() == PCNTL_EPERM) {
17 pcntl_unshare(CLONE_NEWUSER);
/PHP-8.0/ext/pcntl/
H A Dphp_pcntl.h72 PHP_FUNCTION(pcntl_unshare);
H A Dpcntl.stub.php80 function pcntl_unshare(int $flags): bool {} function
H A Dpcntl_arginfo.h159 ZEND_FUNCTION(pcntl_unshare);
201 ZEND_FE(pcntl_unshare, arginfo_pcntl_unshare)
H A Dpcntl.c1410 PHP_FUNCTION(pcntl_unshare) in PHP_FUNCTION() argument

Completed in 16 milliseconds