Re: Landlock and O_PATH
S.M Mukarram Nainar <[email protected]> Tue, 22 Feb 2022 16:28:17 -0500
| Newsgroups | dev.linux.lists.landlock |
|---|---|
| Message-ID | <87pmne4mmm.fsf@bentou.i-did-not-set--mail-host-address--so-tickle-me> |
> Landlock is designed to be backward and forward compatible just to avoid > this kind of issue. An application being restricted with a set of access > right will not automatically get new ones with a newer kernel: action > handling is explicit (see ruleset's handled_access_fs). I'm extending > the documentation with this specific subject: > https://lore.kernel.org/r/[email protected] Yeah, I understand that. Thanks for clarifying the documentation. But I guess my question is then: Can it be assumed that the behavior of any given flag will never change? I think that earlier I was assuming that O_PATH would go under FS_READ_DIR in the future, but I guess that is not the case? Thanks, Mukarram