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: DJ Delorie <dj at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 06 Dec 2019 15:09:57 -0500
- Subject: Re: RFC: test-in-container vs ld.so
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.