diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2013-04-01 11:00:00 +0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2013-04-10 13:21:52 -0400 |
commit | 65ada7bc02e2dcea6dea1f11876e712d5ea7e9ba (patch) | |
tree | 26cb09addd5656bc6e9806834e41097683f5ae40 /crypto/testmgr.h | |
parent | 2540334adc1c7241a7f91a9cf7ec56776d3f601b (diff) | |
download | op-kernel-dev-65ada7bc02e2dcea6dea1f11876e712d5ea7e9ba.zip op-kernel-dev-65ada7bc02e2dcea6dea1f11876e712d5ea7e9ba.tar.gz |
audit: destroy long filenames correctly
filename should be destroyed via final_putname() instead of __putname()
Otherwise this result in following BUGON() in case of long names:
kernel BUG at mm/slab.c:3006!
Call Trace:
kmem_cache_free+0x1c1/0x850
audit_putname+0x88/0x90
putname+0x73/0x80
sys_symlinkat+0x120/0x150
sys_symlink+0x16/0x20
system_call_fastpath+0x16/0x1b
Introduced-in: 7950e3852
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'crypto/testmgr.h')
0 files changed, 0 insertions, 0 deletions