Home
last modified time | relevance | path

Searched refs:pcntl_setns (Results 1 – 5 of 5) sorted by relevance

/php-src/ext/pcntl/tests/
H A Dpcntl_setns_basic.phpt2 pcntl_setns()
8 if (!function_exists("pcntl_setns")) die("skip pcntl_setns is not available");
14 if (@pcntl_setns($pid, CLONE_NEWPID) === false && pcntl_get_last_error() == PCNTL_EPERM) {
15 die("skip Insufficient privileges to use pcntl_setns()");
25 pcntl_setns($pid, 0);
32 pcntl_setns(): Argument #2 ($nstype) is an invalid nstype (%d)
H A Dpcntl_setns_newpid.phpt2 pcntl_setns()
8 if (!function_exists("pcntl_setns")) die("skip pcntl_setns is not available");
14 if (@pcntl_setns($pid, CLONE_NEWPID) === false && pcntl_get_last_error() == PCNTL_EPERM) {
15 die("skip Insufficient privileges to use pcntl_setns()");
24 var_dump(pcntl_setns($pid, CLONE_NEWPID));
/php-src/ext/pcntl/
H A Dpcntl.stub.php1092 function pcntl_setns(?int $process_id = null, int $nstype = CLONE_NEWNET): bool {} function
H A Dpcntl_arginfo.h220 ZEND_FUNCTION(pcntl_setns);
282 ZEND_FE(pcntl_setns, arginfo_pcntl_setns)
H A Dpcntl.c1569 PHP_FUNCTION(pcntl_setns) in PHP_FUNCTION() argument

Completed in 19 milliseconds