[bug report] landlock: Add AUDIT_LANDLOCK_DOMAIN and log domain status
Dan Carpenter
dan.carpenter at linaro.org
Wed Mar 12 11:32:33 UTC 2025
On Wed, Mar 12, 2025 at 11:50:31AM +0100, Mickaël Salaün wrote:
> On Wed, Mar 12, 2025 at 11:33:29AM +0300, Dan Carpenter wrote:
> > Hello Mickaël Salaün,
> >
> > Commit 96cc6f48a8e4 ("landlock: Add AUDIT_LANDLOCK_DOMAIN and log
> > domain status") from Mar 8, 2025 (linux-next), leads to the following
> > Smatch static checker warning:
> >
> > security/landlock/domain.c:66 get_current_exe()
> > warn: 'size' unsigned <= 0
>
> Hi,
>
> Thanks for the report, I'll fix this issue.
>
> I'm using Smatch's kchecker (commit f4f26f80d4f3) but I didn't get this
> warning. I tried with and without build_kernel_data.sh but I get the same
> result. Which command are you using?
>
Ah. Sorry, this is an unpublished warning. It's not far off from being
good enough to release. I'll dust it off and publish it later this week.
regards,
dan carpenter
More information about the Linux-security-module-archive
mailing list