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

Merged
merged 1 commit into from
Nov 19, 2024

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

@giuseppe
Copy link
Member Author

clang-format failures fixed with #1605

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

@flouthoc @rhatdan PTAL

@rhatdan
Copy link
Member

rhatdan commented Nov 19, 2024

LGTM

@rhatdan rhatdan merged commit 2b3faef into containers:main Nov 19, 2024
57 checks passed
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
2 participants