Skip to content

WIP: unify ZTS and NTS filesystem behaviour when possible - #25864

Draft
henderkes wants to merge 3 commits into
php:masterfrom
henderkes:zts/unshare-chdir
Draft

henderkes wants to merge 3 commits into
php:masterfrom
henderkes:zts/unshare-chdir

Conversation

@henderkes

@henderkes henderkes commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

meaning, for now, on Linux.

calls unshare(CLONE_FS), which detaches the calling thread from the parent threads filesystem state. This means a few things:

sadly dockers default security policy means this doesn't work in containers (by default)... not sure what to do about that yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant