-
- Downloads
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>
Showing
- security/apparmor/domain.c 5 additions, 3 deletionssecurity/apparmor/domain.c
- security/apparmor/file.c 7 additions, 6 deletionssecurity/apparmor/file.c
- security/apparmor/include/path.h 2 additions, 2 deletionssecurity/apparmor/include/path.h
- security/apparmor/path.c 39 additions, 75 deletionssecurity/apparmor/path.c
Loading
Please register or sign in to comment