From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DF23C0044D for ; Wed, 11 Mar 2020 22:23:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 70A512074F for ; Wed, 11 Mar 2020 22:23:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OyDSL1Co"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fcOAeQvT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 70A512074F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date: In-Reply-To:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: References:List-Owner; bh=4X0Gua92ihJJ4oXv5nudUfpTFPU0lLcm0flsXdPLmrc=; b=OyD SL1CoVCOfUhuZcUHqEIVoYCl/RpGfDWmff1lU2CesoEEm5a/8KcAljSLiCy7iewnYsp88EqIgMlyd x091oE7JnvQnqgpLda/psX9ysAjYqvPKyjWtM3zsK1cz4Dvx2hxevw1FrAO/EuLLOoRNAtu3+Q7+S z/mEhzyXFAmyxAlLaj8FH7vgjOHHGwMrWcDmYQcbonz3xgQcdxdzDcF1rTp3ZLFfhhtAZoZAjmtWU +cnh3S+HXRIwBYeW3TqvEZj1k44aeNUkF/5dWtOXs8RsAiYWArv+Fz4+jwcS+fpeMW9Zjs786xD6C D7piuYZXAAOJxusRYh26U8ZNs3291ew==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jC9lU-0002tV-50; Wed, 11 Mar 2020 22:23:48 +0000 Received: from us-smtp-1.mimecast.com ([207.211.31.81] helo=us-smtp-delivery-1.mimecast.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jC9lQ-0002t7-O5 for linux-snps-arc@lists.infradead.org; Wed, 11 Mar 2020 22:23:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583965422; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=dLfgRonudvs51V0/5iYK125hAV7Z0UJAyubWRgBec5M=; b=fcOAeQvTDwU4nZcjY5flPgFMOV7LGDZ1aq1WBiasIwfGTl54JB30vOoKEJ/j0whAO493Dg Xc9PlBRE5hQdDNNGAS1dGtPBc6FudDPPblE2ey5b8P1bRw9l7ShTUVgs8OQRGzptKSCr6H vC2aIQDfSvuHAeqMCvGcXISAPb3vQhI= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-201-T3BtbrmuPx2090RC6iuxww-1; Wed, 11 Mar 2020 18:23:40 -0400 X-MC-Unique: T3BtbrmuPx2090RC6iuxww-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 606FE107ACC4; Wed, 11 Mar 2020 22:23:39 +0000 (UTC) Received: from greed.delorie.com (ovpn-116-104.phx2.redhat.com [10.3.116.104]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 323D25C1C3; Wed, 11 Mar 2020 22:23:39 +0000 (UTC) Received: from greed.delorie.com.redhat.com (localhost [127.0.0.1]) by greed.delorie.com (8.14.7/8.14.7) with ESMTP id 02BMNbW6005509; Wed, 11 Mar 2020 18:23:37 -0400 From: DJ Delorie To: Vineet Gupta Subject: Re: How to elf/tst-ldconfig-* in cross test setup In-Reply-To: <59f54822-4b8e-fefb-045d-cbd447e0e72d@synopsys.com> (message from Vineet Gupta on Wed, 11 Mar 2020 22:14:26 +0000) Date: Wed, 11 Mar 2020 18:23:37 -0400 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200311_152344_867255_3EED66CC X-CRM114-Status: UNSURE ( 5.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-snps-arc@lists.infradead.org, libc-alpha@sourceware.org, ahajkova@redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org Vineet Gupta writes: > When you say containers is this linux cgroups or something at a higher > level: does it need any specific distro container package. Please > remember this is a constrained system built off of buildroot. It should not require anything beyond what kernel/glibc provides - we even build our own /bin/sh for in-container use. All the containerization code is in support/test-container.c. However, some kernels and/or OSs are *configured* (i.e. for security reasons) to disallow certain types of namespace unsharing - those should be detected by test-container and flagged as unsupported tests. By "container" I mean a simple filesystem/pid namespace using unshare, sort of a fancy chroot() but it changes your UID and PID also. See https://developers.redhat.com/blog/2018/11/16/microcontainers-for-unit-testing/ for some background info. _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc