aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-10-30 17:42:18 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-10-30 17:42:18 +0100
commit4ccf7bb438737e3b0a9228178a728ddc9fc96413 (patch)
treeebee783ebe8a4454356050115fbf072ad5edb23c /executor/common_linux.h
parent06a012d997ca4a5106227bd5f8a4ae18594332ad (diff)
sys/linux: limit init_module size argument
Kernel tries to vmalloc whatever we pass as size and it's not accounted against memcg. As the result it can lead to massive OOM kills of everything running on the machine. Strictly saying, the same applies to finit_module with a sparse file too, but there is no simple way to handle that.
Diffstat (limited to 'executor/common_linux.h')
0 files changed, 0 insertions, 0 deletions