On Sat, Aug 20, 2022 at 2:12 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > > cast of ->d_name.name to char * is completely wrong - nothing is > allowed to modify its contents. > > Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> > --- > fs/proc/base.c | 2 +- > include/linux/lsm_hook_defs.h | 2 +- > include/linux/security.h | 4 ++-- > security/apparmor/lsm.c | 2 +- > security/security.c | 4 ++-- > security/selinux/hooks.c | 2 +- > security/smack/smack_lsm.c | 2 +- > 7 files changed, 9 insertions(+), 9 deletions(-) Thanks Al. Based on your other email it sounds like you are going to send these up to Linus, which is fine by me, but if that changes let me know and I'll make sure this patch gets sent up. Acked-by: Paul Moore <paul@xxxxxxxxxxxxxx> -- paul-moore.com