commit | 5b710f34e194c6b7710f69fdb5d798fdf35b98c1 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Thu Jun 23 15:04:01 2016 -0700 |
committer | Kees Cook <keescook@chromium.org> | Tue Jul 26 14:41:48 2016 -0700 |
tree | ed1e71a6c526cf24861803af7e48b81ce68e82b6 | |
parent | f5509cc18daa7f82bcc553be70df2117c8eedc16 [diff] |
x86/uaccess: Enable hardened usercopy Enables CONFIG_HARDENED_USERCOPY checks on x86. This is done both in copy_*_user() and __copy_*_user() because copy_*_user() actually calls down to _copy_*_user() and not __copy_*_user(). Based on code from PaX and grsecurity. Signed-off-by: Kees Cook <keescook@chromium.org> Tested-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>