-
Notifications
You must be signed in to change notification settings - Fork 431
Switch to go 1.25 os.Root #1410
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
Conversation
7754866 to
599ab62
Compare
|
/cherry-pick release-1.18 |
ArangoGutierrez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
os.Root is a new type that allows you to perform file operations, such as opening files, within a specific directory. This enhances security by restricting filesystem access to only that directory.
b2574e3 to
3045bd7
Compare
ArangoGutierrez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-approve after new changes
ArangoGutierrez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit was updated
Signed-off-by: Evan Lezar <elezar@nvidia.com>
|
🤖 Backport PR created for |
This change switches to using standard library functions for creating files in specified root folders. This removes the direct dependency on
github.com/cyphar/filepath-securejoinand simplifies how libcontainer utilites are consumed.This should unblock (or make redundant) the following PRs: