This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC: test-in-container vs ld.so
- From: Carlos O'Donell <codonell at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>, libc-alpha at sourceware dot org
- Date: Tue, 10 Dec 2019 14:33:00 -0500
- Subject: Re: RFC: test-in-container vs ld.so
- References: <xn1rthusfe.fsf@greed.delorie.com>
On 12/6/19 3:09 PM, DJ Delorie wrote:
>
> 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.
Yay! Does that mean we don't have a bug?
--
Cheers,
Carlos.