public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: Mark Wielaard <mark@klomp.org>
Cc: elfutils-devel@sourceware.org
Subject: Re: PR28240 patch: debuginfod-client negative-hit caching for root user
Date: Sun, 29 Aug 2021 07:43:46 -0400	[thread overview]
Message-ID: <20210829114346.GD1899@redhat.com> (raw)
In-Reply-To: <YSgOvD1LXlzsdyRz@wildebeest.org>

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


      reply	other threads:[~2021-08-29 11:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18 22:39 Frank Ch. Eigler
2021-08-26 21:59 ` Mark Wielaard
2021-08-29 11:43   ` Frank Ch. Eigler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210829114346.GD1899@redhat.com \
    --to=fche@redhat.com \
    --cc=elfutils-devel@sourceware.org \
    --cc=mark@klomp.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).