unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: DJ Delorie <dj@redhat.com>
To: libc-alpha@sourceware.org
Subject: Re: RFC: test-in-container vs ld.so
Date: Fri, 06 Dec 2019 15:09:57 -0500	[thread overview]
Message-ID: <xn1rthusfe.fsf@greed.delorie.com> (raw)
In-Reply-To: <xn5ziuulv9.fsf@greed.delorie.com> (message from DJ Delorie on Thu, 05 Dec 2019 23:19:22 -0500)


Amusingly, test-container.c has for a long time already had this code:


  if (strcmp (argv[1], support_objdir_elf_ldso) == 0)
    {
      ++argv;
      --argc;
      while (argv[1][0] == '-')
	{
	  if (strcmp (argv[1], "--library-path") == 0)
	    {
	      ++argv;
	      --argc;
	    }
	  ++argv;
	  --argc;
	}
    }


So, we're already not running ld.so in the container anyway :-P

IIRC we made a point of running the test program as PID 1 in the
container, which precludes running under other programs.


  reply	other threads:[~2019-12-06 20:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-07 22:31 RFC: test-in-container vs ld.so DJ Delorie
2019-11-08  7:27 ` Florian Weimer
2019-11-08  8:05   ` DJ Delorie
2019-11-08  8:25     ` Florian Weimer
2019-11-08 23:54   ` DJ Delorie
2019-11-09 13:24     ` Carlos O'Donell
2019-11-09 14:05     ` Florian Weimer
2019-12-06  4:19   ` DJ Delorie
2019-12-06 20:09     ` DJ Delorie [this message]
2019-12-10 19:33       ` Carlos O'Donell
2019-12-10 19:37         ` DJ Delorie
2019-11-08 15:07 ` Carlos O'Donell

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

  List information: https://www.gnu.org/software/libc/involved.html

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

  git send-email \
    --in-reply-to=xn1rthusfe.fsf@greed.delorie.com \
    --to=dj@redhat.com \
    --cc=libc-alpha@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).