Re: [PATCH] audit: fix undefined behavior in bit shift for AUDIT_BIT

Paul Moore <[email protected]>
Newsgroups com.redhat.linux-audit
Message-ID <CAHC9VhRcuHHRMshLekU0aP=pwvxKpbxKwgjxoh8kZUKPAB-TPg@mail.gmail.com>
On Mon, Oct 31, 2022 at 7:50 AM cuigaosheng <[email protected]> wrote:
> > Thanks, this patch looks good, although the 'Fixes:' line above isn't
> > correct.  The commit you reference may be the commit which created
> > AUDIT_BIT in include/uapi/linux/audit.h, but before that it was
> > defined in include/linux/audit.h with the original implementation
> > shipping in v2.6.6-rc1.  As the original AUDIT_BIT implementation
> > predates git itself, I would suggest removing the 'Fixes' line
> > entirely and I'll simply add the usual stable marking when I merge it
> > into audit/stable-6.1.  If that is okay with you I'll go ahead and
> > merge this patch which that tweak - is that okay?
>
> Yes, you are right, thanks for taking time to review this patch!

You're welcome, thanks for the fix :)

I just merged this into audit/stable-6.1 and I'll send this up to
Linus next week.

-- 
paul-moore.com

--
Linux-audit mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-audit
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.