Revision b0cfcdd9b9672ea90642f33d6c0dd8516553adf2 authored by Linus Torvalds on 16 July 2021, 21:01:12 UTC, committed by Linus Torvalds on 02 September 2021, 17:07:29 UTC
Instead of just marking the buffer as having overflowed, fill it up as
much as we can.  That will allow the overflow case to then return
whatever truncated result if it wants to.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 7661809
History
File Mode Size
apparmor
bpf
integrity
keys
landlock
loadpin
lockdown
safesetid
selinux
smack
tomoyo
yama
Kconfig -rw-r--r-- 10.8 KB
Kconfig.hardening -rw-r--r-- 8.8 KB
Makefile -rw-r--r-- 1.4 KB
commoncap.c -rw-r--r-- 42.8 KB
device_cgroup.c -rw-r--r-- 21.1 KB
inode.c -rw-r--r-- 10.6 KB
lsm_audit.c -rw-r--r-- 10.9 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 65.7 KB

back to top