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

Günther Noack <[email protected]>
Newsgroups org.kernel.vger.linux-security-module,org.kernel.vger.stable
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.