selinux: Use kmemdup instead of kmalloc + memcpy
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Thu, 26 Sep 2013 19:52:13 +0000 (15:52 -0400)
committerPaul Moore <pmoore@redhat.com>
Thu, 26 Sep 2013 19:52:13 +0000 (15:52 -0400)
commit7d1db4b242134bb4c7170f4c15491980ac064ac3
tree3d9734133276abc1a15e838210cb2e39806e8df3
parent7a362838f9ed1d6806a2b28f68699826423a7e03
selinux: Use kmemdup instead of kmalloc + memcpy

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/xfrm.c