On Mon, Mar 11, 2024 at 10:08:36PM +0500, Muhammad Usama Anjum wrote: > On 3/8/24 1:39 AM, Kees Cook wrote: > > On Thu, Mar 07, 2024 at 02:22:27PM +0500, Muhammad Usama Anjum wrote: > >> I've tested this patch. Still getting same failures. > > > > Okay, thanks for testing! > > > > What environment are you testing under? It would seem like some unexpected > > userspace conditions exist that the test isn't prepared for. (I was able > > to reproduce one error with /bin/dash, for example, but not the others, > > so something must be different in the set up.) > I'm testing on Debian Bookworm with v6.1, v6.7 and next-20240304 kernels. > I've tested it on another VM which is also Debian Bookworm. The default > shell is dash on Debian as well. Do you know which kernel version this _passes_ on? I haven't been able to find when this actually returned the expected values... -- Kees Cook