Package: procps Version: 2:3.3.17-5 Due to the possibility of future kernel changes affecting this issue again, a test should be added to ensure unlimited stack sizes are still viable. The following patch will implement the test:
diff -Nru procps-3.3.17/debian/tests/control procps-3.3.17/debian/tests/control --- procps-3.3.17/debian/tests/control 2021-04-06 02:17:53.000000000 -0500 +++ procps-3.3.17/debian/tests/control 2021-04-06 04:24:31.000000000 -0500 @@ -1,3 +1,4 @@ +Tests: stack-limit + Tests: version Restrictions: superficial - diff -Nru procps-3.3.17/debian/tests/stack-limit procps-3.3.17/debian/tests/stack-limit --- procps-3.3.17/debian/tests/stack-limit 1969-12-31 18:00:00.000000000 -0600 +++ procps-3.3.17/debian/tests/stack-limit 2021-03-24 10:09:08.000000000 -0500 @@ -0,0 +1,8 @@ +#!/bin/bash + +set -e + +# set the stack size to unlimited and then run pgrep +ulimit -S -s unlimited + +pgrep bash