selinux: use kmemdup in security_sid_to_context_core()
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 21 Oct 2015 21:44:26 +0000 (17:44 -0400)
committerPaul Moore <pmoore@redhat.com>
Wed, 21 Oct 2015 21:44:26 +0000 (17:44 -0400)
commitaa736c36db3e583d249e1d23a3ac9223b1c55f95
tree52d40162fdeafd2b1bb4c51127416ca5ef71107a
parent20ba96aeebd40f09a1d626913235941e290992c7
selinux: use kmemdup in security_sid_to_context_core()

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <pmoore@redhat.com>
security/selinux/ss/services.c