Revert "exec: avoid RLIMIT_STACK races with prlimit()"
This reverts commit 04e35f4495dd560db30c25efca4eecae8ec8c375.
SELinux runs with secureexec for all non-"noatsecure" domain transitions,
which means lots of processes end up hitting the stack hard-limit change
that was introduced in order to fix a race with prlimit(). That race fix
will need to be redesigned.
Reported-by: Laura Abbott <firstname.lastname@example.org>
Reported-by: Tomáš Trnka <email@example.com>
Signed-off-by: Kees Cook <firstname.lastname@example.org>
Signed-off-by: Linus Torvalds <email@example.com>
1 file changed