From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 8ABF91F463 for ; Fri, 6 Dec 2019 20:10:07 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:in-reply-to:date:message-id :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=PExDBlpKqejGgEEDl/En7tucVlHBQqKscnVepY+W+MhxO+txpNDrX z9R38HdjXvSFubZf5sOFUgUtWeD0/07P6sr7Zn0UsGAYPzQ9M/qvOtqVRTil4HBs VPgQxS3RpJENXFxx/k5PVstgkyNnt88HBZF7ThFAm7MW+R1wacg7C4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:in-reply-to:date:message-id :mime-version:content-type:content-transfer-encoding; s=default; bh=2S5HQ7YidfuQBv0wEJ4H7IvEC34=; b=ZsdmQQ43ySMXMU5F7enwrU9VE7tf kP5nCz+g3udmOZ0f6ghCDdnI5TkNlj4QGYwRxRaI6hFvqum+NFqvRwX0VYZmTXxW e/bFDY8eKxisiZ9bSrZH6LnoomlZyo8kZlGoBR18GwfbD+9A7sIvYbtje6Pt7Csi ti3A0oSm7fEG4hs= Received: (qmail 125054 invoked by alias); 6 Dec 2019 20:10:05 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 125039 invoked by uid 89); 6 Dec 2019 20:10:04 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: us-smtp-delivery-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575663002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=q7dTesAWcdnm/UUD9DxIn31H/s6FmM/G191B+oTYLsk=; b=ZeOSzCcPpEHzNCAvBCNVgGyF0BR1Tc4uLDn/nALQKMuVLWUl95Koq7UIr1f5OlYjSd4997 go2rXPsne/LjKNCSNn65P8Uw3eXVY8MeJZC4hNum7P70tnfMLMxTUqnoFXoRMxuqszTh2W wgZEmYU7MVOwzGs1owy4BYaSG4yt9J4= From: DJ Delorie To: libc-alpha@sourceware.org Subject: Re: RFC: test-in-container vs ld.so In-Reply-To: (message from DJ Delorie on Thu, 05 Dec 2019 23:19:22 -0500) Date: Fri, 06 Dec 2019 15:09:57 -0500 Message-ID: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Amusingly, test-container.c has for a long time already had this code: if (strcmp (argv[1], support_objdir_elf_ldso) =3D=3D 0) { ++argv; --argc; while (argv[1][0] =3D=3D '-') =09{ =09 if (strcmp (argv[1], "--library-path") =3D=3D 0) =09 { =09 ++argv; =09 --argc; =09 } =09 ++argv; =09 --argc; =09} } 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.