diff options
| author | Scott Branden <[email protected]> | 2020-10-02 17:38:24 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-10-05 11:37:04 +0000 |
| commit | 34736daeecd1608bee21e3bf5170cd4c95143109 (patch) | |
| tree | 4a9ef1ccc777e0f278eab20ffd39e53ff7a1fb19 /drivers/fpga/xilinx-spi.c | |
| parent | LSM: Add "contents" flag to kernel_read_file hook (diff) | |
| download | kernel-34736daeecd1608bee21e3bf5170cd4c95143109.tar.gz kernel-34736daeecd1608bee21e3bf5170cd4c95143109.zip | |
IMA: Add support for file reads without contents
When the kernel_read_file LSM hook is called with contents=false, IMA
can appraise the file directly, without requiring a filled buffer. When
such a buffer is available, though, IMA can continue to use it instead
of forcing a double read here.
Signed-off-by: Scott Branden <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Mimi Zohar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions
