Re: [PATCH 1/2] fs: Provide function that allocates a secure anonymous inode
From: David Hildenbrand
Date: Mon Jun 02 2025 - 16:02:30 EST
On 02.06.25 21:17, Ackerley Tng wrote:
The new function, alloc_anon_secure_inode(), returns an inode after
running checks in security_inode_init_security_anon().
Also refactor secretmem's file creation process to use the new
function.
Suggested-by: David Hildenbrand <david@xxxxxxxxxx>
Signed-off-by: Ackerley Tng <ackerleytng@xxxxxxxxxx>
---
Not sure about the subject, "secure anon inode" is misleading, it's an
anon inode where we gave security callbacks a chance to intervene, right?
maybe simply "fs: factor out anon inode creation + init security"
Acked-by: David Hildenbrand <david@xxxxxxxxxx>
--
Cheers,
David / dhildenb