[PATCH v5 2/5] landlock: Require LANDLOCK_ACCESS_FS_MAKE_REG for whiteout creation

Günther Noack gnoack3000 at gmail.com
Wed Aug 12 19:48:51 UTC 2026


On Fri, Jul 31, 2026 at 11:35:14PM +0200, Mickaël Salaün wrote:
> On Fri, Jul 31, 2026 at 05:43:50PM +0200, Günther Noack wrote:
> > +static __attribute_const__ access_mask_t
> 
> The __attribute_const__ is incorrect here, you can just drop it.

Thanks, will address.

> > +get_dentry_access(const struct dentry *const dentry)
> > +{
> 
> const struct inode *const inode = d_backing_inode(dentry);

Done.

-Günther



More information about the Linux-security-module-archive mailing list