On Tue, Oct 03, 2023 at 12:02:17PM -0700, Munehisa Kamata wrote:
Hi Sasha,
On Tue, 2023-10-03 11:26:57 +0000, Sasha Levin wrote:
On Thu, Sep 28, 2023 at 06:51:35PM -0700, Munehisa Kamata wrote:
This series backports the following fixes for Smack problems with overlayfs to 4.19.y.
2c085f3a8f23 smack: Record transmuting in smk_transmuted 3a3d8fce31a4 smack: Retrieve transmuting information in smack_inode_getsecurity() 387ef964460f Smack:- Use overlay inode label in smack_inode_copy_up()
This slightly modifies the original commits, because the commits rely on some helper functions introduced after v4.19 by different commits that touch more code than just Smack, require even more prerequisite commits and also need some adjustments for 4.19.y. Instead, this series makes minor modifications for only the overlayfs-related fixes to not use the helper functions rather than backporting everything.
What about newer trees? We can't take fixes for 4.19 if the fixes don't exist in 5.4+.
Sorry if it was not clear enough in the first post[1]. For 5.4+, please just cherry-pick the 3 commits. Those should apply cleanly.
[1] https://lore.kernel.org/stable/20230929015033.835263-1-kamatam@amazon.com/
Ah I didn't see this one, perfect, now queued up.