Conversation
|
I ll be rebasing this after unshare feature had been merged, thanks for its author for having opening the path :-) |
|
Can't this go into |
|
Possibly ... not a "real" new feature as such but I would need to create a new PR then. |
|
You can also first try clicking the edit above where the title is and change the target branch to point to PHP-7.4 if it goes through ok. Otherwise, yes, simplest is new pull request but probably the merger here will also know that this goes to PHP-7.4 first so new pull request is not needed just yet only for this. Thanks. |
|
I did tried already but there is branches differences :-) but I can change it back no worries. |
|
Ok, I see... Sorry for confusion then. Yes, master branch is better then for now so there is at least diff visible :D |
d9148cb to
ccd630f
Compare
|
So it looks like the usage you have in mind is to change signal delivery, my understanding is that you may also want to change fd tables behaviour but you don't seem to have registered the necessary constants ... It also appears that this is only available on bsd variants, which means we're not currently testing it. I'm not sure how generally useful it is to have the function available in PHP if it can only be used in BSD, can you point me to another example function with the same narrow scope ? |
Now is proper time to update this branch :-)
well pcntl supports also linux namespaces (unshare) it seems. |
|
This looks more complete now, and I'm much happier to accept now that we can test ... Pending CI result, if it looks good to you, it looks good to me ;) |
|
Merged as 28382aa Sorry it took so long to get back around to this ;) |
Somewhat ressembling Linux's clone, while not matching its granularity,
it gives a bit more control over the classic fork/vfork.