public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Gilbert <floppym@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] sandbox and /proc/<pid>/clear_refs [was: problems with media-gfx/asymptote]
Date: Wed, 19 Feb 2025 00:02:40 -0500	[thread overview]
Message-ID: <CAJ0EP42H0mVcfhYe-ihLnsAegG7icwLoJWOmDT0-ObMeBdjWqA@mail.gmail.com> (raw)
In-Reply-To: <d03f1b31-96d2-ad3c-8d15-b272861aaf91@gentoo.org>

On Tue, Feb 18, 2025 at 11:40 PM Andrey Grozin <grozin@gentoo.org> wrote:
>
> Some additional information:
>
> # strace -e trace=file ./cordtest
> ...
> openat(AT_FDCWD, "/proc/3702/clear_refs", O_WRONLY) = 3
> ...
> SUCCEEDED
> +++ exited with 0 +++
>
> It is absolutely legal for the owner of a process to write to
> /proc/<pid>/clear_refs
> I think it is a bug in Gentoo sandbox that this is not allowed.

Please use Bugzilla.


      reply	other threads:[~2025-02-19  5:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-18 12:18 [gentoo-dev] problems with media-gfx/asymptote Andrey Grozin
2025-02-18 14:37 ` Jérôme Carretero
2025-02-18 19:03   ` Andrey Grozin
2025-02-19  4:40     ` [gentoo-dev] sandbox and /proc/<pid>/clear_refs [was: problems with media-gfx/asymptote] Andrey Grozin
2025-02-19  5:02       ` Mike Gilbert [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=CAJ0EP42H0mVcfhYe-ihLnsAegG7icwLoJWOmDT0-ObMeBdjWqA@mail.gmail.com \
    --to=floppym@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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