Re: [PATCH 1/2] configfs: move CONFIGFS_MAGIC definition to magic.h

Frederick Lawler <[email protected]>
Newsgroups org.kernel.vger.linux-security-module,org.kernel.vger.linux-integrity,org.kernel.vger.linux-kernel
Message-ID <lr2ysbkhe6nk4bf4roguv3x4lau76clypwc4gkpebfx5wgm3qb@qpxxabipfzmg>
On Wed, Aug 19, 2026 at 02:21:58AM -0700, Breno Leitao wrote:
> On Tue, Aug 18, 2026 at 02:35:15PM -0500, Frederick Lawler wrote:
> > IMA shouldn't measure or appraise configfs, but currently does because
> > it's missing from the default exclusion policies. Move CONFIGFS_MAGIC to
> > magic.h to expose the file system's magic to IMA, as well as other userland
> > applications.
> > 
> > Suggested-by: Mimi Zohar <[email protected]>
> > Signed-off-by: Frederick Lawler <[email protected]>
> 
> Reviewed-by: Breno Leitao <[email protected]>
> 
> > +#define CONFIGFS_MAGIC		0x62656570	/* some random number */
> 
> 0x62656570 is ASCII "beep", I didn't know that :-)

I can't tell if it's a better joke to leave "some random number" as the
comment, or to change the comment to the more interesting fun fact about
the number.

Best,
Fred
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.