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
Using RestrictPath(), the call is more explicit, arguments are less
easy to mix up, and callers have more flexibility to tweak the
Landlock file system access permissions to the specific use case.
(This commit addresses the "Arguments mixup" and "Flexibility"
concerns from issue #4.)
This commit also fixes bug #3, making read-write paths truly
read-write (and not just writable).
Keep golandlock.Restrict() around for a bit to demonstrate that it's
backwards compatible, but it should disappear before golandlock v1.
Tested manually on VM with the command-line tool.
Restrict
is passing the wrong flags to Landlock - the rwDirs and rwFiles should also be readable, according to their name.The text was updated successfully, but these errors were encountered: