Yama: use atomic allocations when reporting
commit74f430cd0fdee1bdfb25708ee1e52fc860535a89
authorSasha Levin <sasha.levin@oracle.com>
Wed, 4 May 2016 14:18:15 +0000 (4 10:18 -0400)
committerKees Cook <keescook@chromium.org>
Wed, 4 May 2016 17:54:05 +0000 (4 10:54 -0700)
tree680fa0263011749210469b5aa4f20f98a2aa6644
parent470bf1f27a1472264d18c84b324389509f0e30b3
Yama: use atomic allocations when reporting

Access reporting often happens from atomic contexes. Avoid
lockups when allocating memory for command lines.

Fixes: 8a56038c2ae ("Yama: consolidate error reporting")
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
security/yama/yama_lsm.c