You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation mentions a case of "file names that don’t exist". This got me thinking. Is it possible to whitelist a specific "path", despite no file (and therefore, no file descriptor) for a regular path to be created, without giving R/W permissions to the parent folder? (For example, so as to create a log.txt file in the current working directory, without the process being able to inspect anything else in the current working directory apart from the log?)
The documentation mentions a case of "file names that don’t exist". This got me thinking. Is it possible to whitelist a specific "path", despite no file (and therefore, no file descriptor) for a regular path to be created, without giving R/W permissions to the parent folder? (For example, so as to create a
log.txt
file in the current working directory, without the process being able to inspect anything else in the current working directory apart from the log?)rust-landlock/src/uapi/landlock.rs
Line 15 in 94721d2
rust-landlock/src/fs.rs
Line 74 in 94721d2
rust-landlock/src/fs.rs
Line 129 in 94721d2
Derived from the examples:
The text was updated successfully, but these errors were encountered: