Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: use mount API to self-clone #1606

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

giuseppe
Copy link
Member

if the new mount API is available, use it to grad a read-only reference to the current executable. The advantage is that there is no need to leak a mount in the current mount namespace.

Closes: #1383
Closes: https://issues.redhat.com/browse/RHEL-67558

if the new mount API is available, use it to grad a read-only
reference to the current executable.  The advantage is that there is
no need to leak a mount in the current mount namespace.

Closes: containers#1383
Closes: https://issues.redhat.com/browse/RHEL-67558

Signed-off-by: Giuseppe Scrivano <[email protected]>
@giuseppe
Copy link
Member Author

clang-format failures fixed with #1605

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.

Crun self clone and mount the /tmp/crun.c8hM4O to root dev
1 participant