https://github.com/torvalds/linux
Revision 08411a7554248009f26e85635f445a209604bfb5 authored by Linus Torvalds on 07 September 2016, 16:29:36 UTC, committed by Linus Torvalds on 07 September 2016, 16:29:36 UTC
Pull hardened usercopy fixes from Kees Cook:

 - inline copy_*_user() for correct use of __builtin_const_p() for
   hardened usercopy and the recent compile-time checks.

 - switch hardened usercopy to only check non-const size arguments to
   avoid meaningless checks on likely-sane const values.

 - update lkdtm usercopy tests to compenstate for the const checking.

* tag 'usercopy-v4.8-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
  lkdtm: adjust usercopy tests to bypass const checks
  usercopy: fold builtin_const check into inline function
  x86/uaccess: force copy_*_user() to be inlined
2 parent s d060e0f + 3c17648
History
Tip revision: 08411a7554248009f26e85635f445a209604bfb5 authored by Linus Torvalds on 07 September 2016, 16:29:36 UTC
Merge tag 'usercopy-v4.8-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Tip revision: 08411a7
File Mode Size
kvm
lib
Makefile -rw-r--r-- 14 bytes

back to top