]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'hch' (maccess patches from Christoph Hellwig)
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2020 19:35:51 +0000 (12:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2020 19:35:51 +0000 (12:35 -0700)
commitcffb2b58efb8107112c979ace87a4162fae98f36
treeb3b5b9a88222fe189ba44989a84932c7258c64c4
parent7d63a208195f8f341a63c25d4cd772fbfc1dce07
parent2e6a28af6d8ad5678d00fed1368660c16ec867a4
Merge branch 'hch' (maccess patches from Christoph Hellwig)

Merge non-faulting memory access cleanups from Christoph Hellwig:
 "Andrew and I decided to drop the patches implementing your suggested
  rename of the probe_kernel_* and probe_user_* helpers from -mm as
  there were way to many conflicts.

  After -rc1 might be a good time for this as all the conflicts are
  resolved now"

This also adds a type safety checking patch on top of the renaming
series to make the subtle behavioral difference between 'get_user()' and
'get_kernel_nofault()' less potentially dangerous and surprising.

* emailed patches from Christoph Hellwig <hch@lst.de>:
  maccess: make get_kernel_nofault() check for minimal type compatibility
  maccess: rename probe_kernel_address to get_kernel_nofault
  maccess: rename probe_user_{read,write} to copy_{from,to}_user_nofault
  maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofault