diff options
author | Kees Cook <[email protected]> | 2017-08-16 13:26:03 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2018-01-15 12:08:05 -0800 |
commit | f7d83c1cf3c77ae45876792aee5285ae970413ac (patch) | |
tree | 885c783c6717503e5935338a0fe9f4387b52a9ec /net/unix/sysctl_net_unix.c | |
parent | 5905429ad85657c28d93ec3d826ddeea1f44c3ce (diff) |
x86: Implement thread_struct whitelist for hardened usercopy
This whitelists the FPU register state portion of the thread_struct for
copying to userspace, instead of the default entire struct. This is needed
because FPU register state is dynamically sized, so it doesn't bypass the
hardened usercopy checks.
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: [email protected]
Cc: Borislav Petkov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Mathias Krause <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions