Skip to content

Allow multiple --sync-fd arguments - #815

Open
swick wants to merge 1 commit into
containers:mainfrom
swick:wip/multi-sync-fds
Open

swick wants to merge 1 commit into
containers:mainfrom
swick:wip/multi-sync-fds

Conversation

@swick

@swick swick commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Multiple users of the sandboxed child (e.g. the D-Bus proxy and the Wayland security context) each need their own sync fd to detect when the child exits. Allow --sync-fd to be specified more than once, keeping all fds open in the child and closing them all in the intermediate process.

/cc @smcv

Multiple users of the sandboxed child (e.g. the D-Bus proxy and the
Wayland security context) each need their own sync fd to detect when the
child exits. Allow --sync-fd to be specified more than once, keeping all
fds open in the child and closing them all in the intermediate process.

Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
@swick
swick force-pushed the wip/multi-sync-fds branch from 9dd4301 to 78409b3 Compare October 7, 2026 16:14
@swick

swick commented Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

Fixes a but in wayland security-context/dbus setup flatpak/flatpak#6873.

Will be helpful for other features which require a similar sync mechanism (such as wayland-satellite integration).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant