diff options
author | 2008-04-29 00:59:34 -0700 | |
---|---|---|
committer | 2008-04-29 08:06:05 -0700 | |
commit | e1d2c8b69ad81ea103b1e87809eba51931e16874 (patch) | |
tree | bfd78fc4729f5a9911b8e1ca145ad34a17fc3e3b /include/linux/kernel.h | |
parent | smb.h: uses struct timespec but didn't include linux/time.h (diff) | |
download | wireguard-linux-e1d2c8b69ad81ea103b1e87809eba51931e16874.tar.xz wireguard-linux-e1d2c8b69ad81ea103b1e87809eba51931e16874.zip |
fdpic: check that the size returned by kernel_read() is what we asked for
Check that the size of the read returned by kernel_read() is what we asked
for. If it isn't, then reject the binary as being a badly formatted.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions