summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/archrandom.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2024-01-09 15:57:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-23 09:51:59 +0100
commitcd70175481f63af31901dd463e44386f033c3f4c (patch)
tree383b543e073835c12a9e1d9c337c96a93b57a5b8 /arch/x86/include/asm/archrandom.h
parent626daab3811b772086aef1bf8eed3ffe6f523eff (diff)
dm: limit the number of targets and parameter size area
commit bd504bcfec41a503b32054da5472904b404341a4 upstream. The kvmalloc function fails with a warning if the size is larger than INT_MAX. The warning was triggered by a syscall testing robot. In order to avoid the warning, this commit limits the number of targets to 1048576 and the size of the parameter area to 1073741824. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/include/asm/archrandom.h')
0 files changed, 0 insertions, 0 deletions