Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22186798rwd; Fri, 30 Jun 2023 05:10:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlG8kxLJ9CCx4zgrhU31S1Uwq8Qp0rFs3xMHODz/34xWUXgmKtNzfX/OUyhtcusbzvVLjzoS X-Received: by 2002:a05:6358:cd28:b0:130:5951:b268 with SMTP id gv40-20020a056358cd2800b001305951b268mr1865165rwb.31.1688127042958; Fri, 30 Jun 2023 05:10:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688127042; cv=none; d=google.com; s=arc-20160816; b=Abc5BMGljB4PUpsNSPtVWoz1f502DiSuLNvgi1CwrfafsyLS3QeJ4Wmu1fTGQYf+po r3i1nNrhsZUr/sFQfPnRxTdOzgPiDfjfxShEGqgjaqiyRomE1CNCEaoq9iCzrMyaYrm2 w8RCvLQQssiiFzZ/i5E8NJpkFygTO+gVRbXh8hTy3AC8eNqibc1RrxPJx3vNMIb36F4o wwUi9WYmGJPMpe0sbnbbiDu29vXL8BAxRd4WA3nkTtcIVimMbQipRvqwYUtqfNM0PCik ck8LDz/4UAUugQcM0dW2uISruRtQ1eND98MexgNduPQTFcD6ERsTSHrT70iCYLN68+gt mocA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=z6dJlOtBooEIS94Udp8YUW2a9n5vzH+v6o665WcAhgM=; fh=DDjcv+jyVy+mc9cXR7wNYySZcRwqg2D2DOIVQ46SwnI=; b=YBNHXdJtx67lgV8RO87A9NuSWNyX4Jhm+Csi4wI4nIDu24FUp1ORBRl6pnMQXxYky2 X8YdLmSnckTONeXEXcXvG3tiVNudSVThCM3FoFBLo+z2eizaoII/Gmc3EDEqKUGS0Moj YvJJ1AjRXJjvdE/llec0H7gGzfqyAQSZrCgm4RaFc30n1aKXb8NkUZ5p33EX/IJgT3gb QWinNgTWA+y95H/49BEcAAk4ghPJMrTilH5pArmqM/2ewxaox4T+4S87DQ6Stwh76kmY z1SJbH07WWMbzR8MJ1GhCfMq/tdZxakzG7I1D04WJtEOR5mzaryzl6oGQbfYxkYVWM1w Mwyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s73-20020a632c4c000000b0055ae51d8443si9189616pgs.584.2023.06.30.05.10.28; Fri, 30 Jun 2023 05:10:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233042AbjF3MFr (ORCPT + 99 others); Fri, 30 Jun 2023 08:05:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233048AbjF3MF2 (ORCPT ); Fri, 30 Jun 2023 08:05:28 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FA1444AA; Fri, 30 Jun 2023 05:04:43 -0700 (PDT) X-QQ-mid: bizesmtp72t1688126672t652b9nc Received: from linux-lab-host.localdomain ( [119.123.131.49]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 30 Jun 2023 20:04:31 +0800 (CST) X-QQ-SSF: 01200000000000D0W000000A0000000 X-QQ-FEAT: vLOCICHxEeAb0GlQ301aqzxbxGSaxjPZA1q5/3l0Tcb41pLyqUjcKxPWfkW19 E4I+TjreMVr4hI7doeKYjPAR7LpyM3asEdCjbHQCJweaPeHwqoVcT47+jo3yw4WMF1kwsnT R7/hb6EddEkpJRd5m9xC6aFvRr8D/SK98pn9x99sqE47336VeAMCgUFfeBeQYGtKaQZGsBH rON48fOrsdpg0xRDthyiTKrkCPaSwuloIzTRlu+SDg2oxVQZkLlioblskVAr9HT2vcvWmjf +/9q/8gJgOC2lDln8H0jNpkAvKEKBwC2pxRADLwDXEC69JWsVB+Rm3eRGVod+BtWCTOYQgR igWxuMSS6hmXxOYqYq+x23uQQCRj8k0LwfGv79UJswCeuliIxIXUJXUahlIiKKi0wByQm3R X-QQ-GoodBg: 0 X-BIZMAIL-ID: 5300123220790220409 From: Zhangjin Wu To: thomas@t-8ch.de Cc: arnd@arndb.de, falcon@tinylab.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, w@1wt.eu Subject: Re: [PATCH v2 00/15] allow run with minimal kernel config Date: Fri, 30 Jun 2023 20:04:30 +0800 Message-Id: <20230630120430.220395-1-falcon@tinylab.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <9b941cd7-1fb7-404d-a329-b831d20ce3de@t-8ch.de> References: <9b941cd7-1fb7-404d-a329-b831d20ce3de@t-8ch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz5a-1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Thomas > On 2023-06-30 07:22:39+0800, Zhangjin Wu wrote: > > Willy, Thomas > > > > This is v2 to allow run with minimal kernel config, see v1 [1]. > > > > It mainly applied the suggestions from Thomas. It is based on our > > previous v5 sysret helper series [2] and Thomas' chmod_net removal > > patchset [3]. > > > > Now, a test report on arm/vexpress-a9 without procfs, shmem, tmpfs, net > > and memfd_create looks like: > > > > LOG: testing report for arm/vexpress-a9: > > > > 14 chmod_net [SKIPPED] > > Shouldn't this be gone? > Yes, if apply your chmod_net removal patches before this series: LOG: testing report for arm/vexpress-a9: 14 chmod_self [SKIPPED] 16 chown_self [SKIPPED] 40 link_cross [SKIPPED] 0 -fstackprotector not supported [SKIPPED] 139 test(s) passed, 4 skipped, 0 failed. See all results in /labs/linux-lab/logging/nolibc/arm-vexpress-a9-nolibc-test.log LOG: testing summary: arch/board | result ------------|------------ arm/vexpress-a9 | 139 test(s) passed, 4 skipped, 0 failed. See all results in /labs/linux-lab/logging/nolibc/arm-vexpress-a9-nolibc-test.log This test also applied the new proposed chroot_exe and chmod_tmpfile from https://lore.kernel.org/lkml/20230630111433.211130-1-falcon@tinylab.org/ > > 15 chmod_self [SKIPPED] > > 17 chown_self [SKIPPED] > > 41 link_cross [SKIPPED] > > 0 -fstackprotector not supported [SKIPPED] > > > > 139 test(s) passed, 5 skipped, 0 failed. > > See all results in /labs/linux-lab/logging/nolibc/arm-vexpress-a9-nolibc-test.log > > > > LOG: testing summary: > > > > arch/board | result > > ------------|------------ > > arm/vexpress-a9 | 139 test(s) passed, 5 skipped, 0 failed. See all results in /labs/linux-lab/logging/nolibc/arm-vexpress-a9-nolibc-test.log > > > [..] > > > tools/include/nolibc/sys.h | 22 ++++ > > tools/testing/selftests/nolibc/nolibc-test.c | 102 +++++++++++++++---- > > 2 files changed, 106 insertions(+), 18 deletions(-) > > A few nitpicks left, mentioned on the patches themselves. > > In general: for the full series. > > Reviewed-by: Thomas Weißschuh > Thanks Thomas, will send v3 later. Best regards, Zhangjin