mirror of
https://github.com/lxc/incus.git
synced 2026-02-05 09:46:19 +01:00
The forkbpf helper creates a socket pair and forks, the child process then enters the user and mount namespaces of the container. The child process creates a filesystem configuration context and passes it to the parent process via the socketpair. The parent process configures the token delegation options and creates a mount file descriptor and passes that back to the child. The child process then attaches the mount to the desired path. Signed-off-by: Gwendolyn <me@gwendolyn.dev>