On Tue, Jul 23, 2013 at 4:23 AM, Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote: > I'm waiting for an ACK from SELinux people. > ---------------------------------------- > >From 283a07233cfa2f64cb654f72bec86b9a61c60af0 Mon Sep 17 00:00:00 2001 > From: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> > Date: Tue, 23 Jul 2013 17:20:12 +0900 > Subject: [PATCH] xattr: Constify ->name member of "struct xattr". > > Since everybody sets kstrdup()ed constant string to "struct xattr"->name but > nobody modifies "struct xattr"->name , we can omit kstrdup() and its failure > checking by constifying ->name member of "struct xattr". > > Signed-off-by: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> > Reviewed-by: Joel Becker <jlbec@xxxxxxxxxxxx> [ocfs2] > Acked-by: Serge E. Hallyn <serge.hallyn@xxxxxxxxxx> > Acked-by: Casey Schaufler <casey@xxxxxxxxxxxxxxxx> > Acked-by: Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx> Looks fine to me. Acked-by: Eric Paris <eparis@xxxxxxxxxx> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.