On Wed, 10 Nov 2021 at 16:50, Alexei Starovoitov <alexei.starovoitov@xxxxxxxxx> wrote: > > On Wed, Nov 10, 2021 at 11:41:09AM +0000, Lorenz Bauer wrote: > > > > uid changes on every invocation, and therefore regsafe() returns false? > > That's correct. > Could you please try the following fix. > I think it's less risky and more accurate than what I've tried before. It works! processed 295498 insns (limit 1000000) max_states_per_insn 29 total_states 14527 peak_states 1322 mark_read 53 Thanks for looking into this without a reproducer! Lorenz -- Lorenz Bauer | Systems Engineer 6th Floor, County Hall/The Riverside Building, SE1 7PB, UK www.cloudflare.com