Re: [PATCH v3 1/2] vfs: Allow filesystems with foreign owner IDs to override UID checks
David Howells <[email protected]>
| Newsgroups | org.kernel.vger.linux-integrity,org.kernel.vger.linux-cifs,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-nfs |
|---|---|
| Organization | Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 |
| Message-ID | <[email protected]> |
Mimi Zohar <[email protected]> wrote: > On Tue, 2026-07-28 at 15:13 +0100, David Howells wrote: > > > > (*) IMA policy ops. > > > > Unchanged for now. I'm not sure what the best way to deal with this > > is - if, indeed, it needs any changes. > > IMA policy rules may be written in terms of the uid, euid and fowner. Any > changes, if necessary, would need to be made to ima_match_rules(). I think I can probably leave this for now as using uids mapped through the namespace mapping mechanism. To do otherwise would, I think, require the possibility of encoding foreign IDs in IMA rules. Something to consider in the future, maybe, but I don't think I need to deal with that here. Possibly, we could make a general rule that "for any otherwise unmapped foreign ID, do X" sort of thing. David