OSDN Git Service

integrity/ima: switch to using __kernel_read
authorChristoph Hellwig <hch@lst.de>
Fri, 8 May 2020 06:54:27 +0000 (08:54 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 8 Jul 2020 06:27:57 +0000 (08:27 +0200)
commita1f9b1c0439db47ea10418b8ee7092a0d970cc2d
tree20da49ed545d1deacca51f8dca202821b0482da2
parent61a707c543e2afe3aa7e88f87267c5dafa4b5afa
integrity/ima: switch to using __kernel_read

__kernel_read has a bunch of additional sanity checks, and this moves
the set_fs out of non-core code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
security/integrity/iint.c