Re: scramble printf(9) %p

2022-01-07 Thread Theo de Raadt
> As the kernel currently contains (at least) 1946 pointers leak by using > printf(9) and %p, it might be more efficient to scramble %p with a > static value (randomly assigned at boot time). Oh come on. That proposal has no security property! Over time we need to delete all such printf's, and l

Re: scramble printf(9) %p

2022-01-07 Thread Sebastien Marie
On Fri, Jan 07, 2022 at 12:25:25PM -0700, Theo de Raadt wrote: > > I agree, but the intent is replacing a debugging method with another > > debugging method (hoping it is more useful). The messages showed here > > are the same that the ones which would be shown on the console before > > the diff. >