Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Doug Evans <dje@google.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] Add $pdir as entry for libthread-db-search-path.
Date: Fri, 29 Apr 2011 12:36:00 -0000	[thread overview]
Message-ID: <20110429123634.GA23843@host1.jankratochvil.net> (raw)
In-Reply-To: <20110429035837.9A1EA24619F@ruffy.mtv.corp.google.com>

On Fri, 29 Apr 2011 05:58:37 +0200, Doug Evans wrote:
> A better default is to look in the directory of libpthread first - that is
> the best default.

This is insecure default.  It is something like the FSF GDB insecure .gdbinit
behavior which many distros (at least Fedora but even others) have to patch.

While it is always insecure to run a foreign binary it should be secure to for
example load a foreign binary and its core file.


> (2) If the user overrides libthread-db-search-path we want to obey the
> user's choice.

I agree if the user explicitly wishes so it should be followed.


Thanks,
Jan


  reply	other threads:[~2011-04-29 12:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-29  3:59 Doug Evans
2011-04-29 12:36 ` Jan Kratochvil [this message]
2011-04-29 16:49   ` Doug Evans
2011-04-29 17:08     ` Jan Kratochvil
     [not found]       ` <BANLkTinagVcXZqvOg80eoFMnyaw9T0OYUw@mail.gmail.com>
2011-05-01 18:34         ` Doug Evans
2011-05-02 19:15           ` Jan Kratochvil
2011-05-02 19:51             ` Doug Evans
2011-05-06 18:40               ` Tom Tromey
2011-05-09 22:30                 ` Doug Evans

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=20110429123634.GA23843@host1.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.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