Re: PR28240 patch: debuginfod-client negative-hit caching for root user

2021-08-29 Thread Frank Ch. Eigler via Elfutils-devel
Hi - On Thu, Aug 26, 2021 at 11:59:24PM +0200, Mark Wielaard wrote: > [...] > Yes, this seems the right sequence, but don't we still have a little race > condition (if someone runs as root)? Yeah, I see what you mean, good point. The code should do the open(), and then fstat() the fd. - FChE

Re: PR28240 patch: debuginfod-client negative-hit caching for root user

2021-08-26 Thread Mark Wielaard
Hi Frank, On Wed, Aug 18, 2021 at 06:39:07PM -0400, Frank Ch. Eigler via Elfutils-devel wrote: > commit d2cbc610a9e6552f663e29136d19597b8fdcf832 (HEAD -> master) > Author: Frank Ch. Eigler > Date: Wed Aug 18 18:29:34 2021 -0400 > > PR28240: debuginfod client root-safe negative caching >

PR28240 patch: debuginfod-client negative-hit caching for root user

2021-08-18 Thread Frank Ch. Eigler via Elfutils-devel
Hi - Important patch. commit d2cbc610a9e6552f663e29136d19597b8fdcf832 (HEAD -> master) Author: Frank Ch. Eigler Date: Wed Aug 18 18:29:34 2021 -0400 PR28240: debuginfod client root-safe negative caching Negative cache (000-permission) files were incorrectly treated as valid