]>
git.karo-electronics.de Git - karo-tx-linux.git/commit
prctl: use access_ok() instead of TASK_SIZE in prctl_set_mm()
Eric pointed that better to use access_ok instead of TASK_SIZE for testing
if address is allowed for use.
Reported-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Mark Salter <msalter@redhat.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>