[PATCH] get rid of leak in compat_execve()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 10 May 2008 20:38:25 +0000 (16:38 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 16 May 2008 21:23:05 +0000 (17:23 -0400)
commit08a6fac1c63233c87eec129938022f1a9a4d51f6
tree4fd7a2a906cf5ca0a42b3b8cb30351465f0f6cee
parent5f719558edf9c84bfbb1f7ad37e84c483282d09f
[PATCH] get rid of leak in compat_execve()

Even though copy_compat_strings() doesn't cache the pages,
copy_strings_kernel() and stuff indirectly called by e.g.
->load_binary() is doing that, so we need to drop the
cache contents in the end.

[found by WANG Cong <wangcong@zeuux.org>]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/compat.c
fs/exec.c
include/linux/binfmts.h