Re: [PATCH] selinux: Use kmemdup instead of kmalloc + memcpy

2013-09-26 Thread Paul Moore
On Thursday, September 26, 2013 10:47:52 AM Duan Jiong wrote: > Signed-off-by: Duan Jiong > --- > security/selinux/xfrm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) FYI: SELinux patches should be sent to the SELinux mailing list (I added it to the CC list). You can also CC the

[PATCH] selinux: Use kmemdup instead of kmalloc + memcpy

2013-09-25 Thread Duan Jiong
Signed-off-by: Duan Jiong --- security/selinux/xfrm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/selinux/xfrm.c b/security/selinux/xfrm.c index 425b9f9..5c809c1 100644 --- a/security/selinux/xfrm.c +++ b/security/selinux/xfrm.c @@ -268,10 +268,10 @@ int sel