]> git.baikalelectronics.ru Git - kernel.git/commit
apparmor: Move path lookup to using preallocated buffers
authorJohn Johansen <john.johansen@canonical.com>
Tue, 23 May 2017 10:25:14 +0000 (03:25 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Thu, 8 Jun 2017 18:29:34 +0000 (11:29 -0700)
commit4cdd119e63759c1d2f74a7acd56b664968970c38
tree4deee8d16246bc879036da19642451b8e7cdcde0
parent96eff9baf8b935b3820eaeef440022ae199886d4
apparmor: Move path lookup to using preallocated buffers

Dynamically allocating buffers is problematic and is an extra layer
that is a potntial point of failure and can slow down mediation.
Change path lookup to use the preallocated per cpu buffers.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/domain.c
security/apparmor/file.c
security/apparmor/include/path.h
security/apparmor/path.c