ima: use path names cache
authorDmitry Kasatkin <dmitry.kasatkin@gmail.com>
Wed, 1 Oct 2014 18:43:10 +0000 (21:43 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Tue, 7 Oct 2014 18:32:54 +0000 (14:32 -0400)
commit456f5fd3f6017f10d04d459159ac7bd9e3815c5e
tree304de71a234e3c302f7b372f72affd5661f30221
parentc2baec7ffaf6a2c15e03028ed9ef82a92cc49a94
ima: use path names cache

__getname() uses slab allocation which is faster than kmalloc.
Make use of it.

Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima_api.c
security/integrity/ima/ima_main.c