public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Benjamin Berg <benjamin@sipsolutions.net>
To: Tom Tromey <tom@tromey.com>,
	benjamin--- via Gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] nat: linux-namespaces: Also enter user namespace
Date: Wed, 20 Dec 2023 12:42:09 +0100	[thread overview]
Message-ID: <dfccfa8a290a71a33bee6c4c233e67fd8c8ce694.camel@sipsolutions.net> (raw)
In-Reply-To: <87pm2e6lyu.fsf@tromey.com>

Hi Tom,

is there something I can do to unblock this patch?

I need it internally, and it is kind of annoying that I need to rebuild
GDB for this simple fix so that I don't need to run the debugger with
sudo.

Benjamin

On Tue, 2023-09-19 at 12:45 -0600, Tom Tromey wrote:
> > > > > > benjamin--- via Gdb-patches <gdb-patches@sourceware.org>
> > > > > > writes:
> 
> > From: Benjamin Berg <benjamin@sipsolutions.net>
> > The use of user namespaces is required for normal users to use
> > mount
> > namespaces. Also entering the user namespace means that a normal
> > user
> > can debug processes created that way.
> 
> I was going through my email backlog and didn't see a reply to this.
> 
> I don't know anything about mount namespaces.  How would one test
> this
> patch?  Is it possible to modify some existing test to exercise the
> new
> code?
> 
> Tom
> 


      parent reply	other threads:[~2023-12-20 11:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-21 12:01 benjamin
2023-09-19 18:45 ` Tom Tromey
2023-09-20  8:15   ` Benjamin Berg
2023-12-20 11:42   ` Benjamin Berg [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=dfccfa8a290a71a33bee6c4c233e67fd8c8ce694.camel@sipsolutions.net \
    --to=benjamin@sipsolutions.net \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.com \
    /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).