]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user: do prlimit selectively
authorTobias Koch <tobias.koch@nonterra.com>
Thu, 5 Mar 2020 20:24:00 +0000 (21:24 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 20 Mar 2020 14:51:54 +0000 (15:51 +0100)
commit055d92f8673c9e2bc284a5976e69664c87f18cae
tree96dbdb7026a55afa36ad09eb4decc6d6ed064e50
parente0d1673d39c1768f5372a43771d3776354eb3f96
linux-user: do prlimit selectively

Analogous to what commit 5dfa88f7 did for setrlimit, this commit
selectively ignores limits for memory-related resources in prlimit64
calls. This is to prevent too restrictive limits from causing QEMU
itself to malfunction.

Signed-off-by: Tobias Koch <tobias.koch@nonterra.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200305202400.27574-1-tobias.koch@nonterra.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c