Yama: consolidate error reporting
authorKees Cook <keescook@chromium.org>
Wed, 20 Apr 2016 22:46:26 +0000 (15:46 -0700)
committerJames Morris <james.l.morris@oracle.com>
Thu, 21 Apr 2016 00:47:26 +0000 (10:47 +1000)
commit8a56038c2aef97a9d4b9dd608b912b9d9a4a2d68
treec0b51f6b4c1634e2fb2c85601e59827662ec198d
parent21985319add60b55fc27230d9421a3e5af7e998a
Yama: consolidate error reporting

Use a common error reporting function for Yama violation reports, and give
more detail into the process command lines.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/yama/yama_lsm.c