]> git.baikalelectronics.ru Git - kernel.git/commit
audit: treat s_id as an untrusted string
authorKees Cook <keescook@chromium.org>
Sat, 7 Jan 2012 18:41:04 +0000 (10:41 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 17 Jan 2012 21:17:03 +0000 (16:17 -0500)
commit422cdd69cb9414806c8ec9f9933916cecfea5c6f
tree00bb62aef2288df07eae059f344d11d32b004f69
parenta2d34c88c1c8b3a793f511a9d706205d9bab29a8
audit: treat s_id as an untrusted string

The use of s_id should go through the untrusted string path, just to be
extra careful.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
security/integrity/ima/ima_audit.c
security/lsm_audit.c