Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp378155imn; Wed, 3 Aug 2022 07:43:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sa+83hjx5msmYUHe2Ldwh3sKQpj2KkqyVsC2rajiV4PU0T7Z0zJxUy1f48B2pzwmntmesc X-Received: by 2002:a17:907:724d:b0:72f:2366:be86 with SMTP id ds13-20020a170907724d00b0072f2366be86mr21086454ejc.146.1659537827397; Wed, 03 Aug 2022 07:43:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659537827; cv=none; d=google.com; s=arc-20160816; b=UDvk/PkH/TA5DN77yVvsesly5qGmPRf0kLP9a0r+ao97uyoaUeuFNxDTfKvjrlM2aj SUhXAEWW88q+ZB+cc/smy28wkoyr06wW9aoG8upiGp03nXw3N1W2s+lps/2uaGdqyFfL zTajQ8qHJWH54xJLGZou/ipXaSXKqeaSI1f5US+f1C5KfNkFd+2Ea4+61ssQre/XtHVv tEjy2Vd7xPYV+noFjzFjT9PYmNG/kbdSVpCE48jiGEAVxhd6M9VHT5JksMPa5STGBAOO YhuqVj/Fz/kEaRbyFx2qEYo9fIgXx4HZFkrRGzRmX6uQ/iO5ljGEi1gvw8gMiP40+Js2 hVXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=/j3Fr9QfRk1x010uV68rYVXfeBewZsxPUcsGA68QruU=; b=tCRwF6sYEq+qWfJ9ZAJFSma+3qsE6AJR++lZeUkXSOGFAbbCXxNKpOGD0KigF5ucuv tJd7bR8icpYntRtiLiXj2cwPPKHOyxC3q8UIlGpi2/mr6gKq3jOhsj7qCejA+9MUrAun 84McWMzY9KooZ13vYVCTh0fnq8dVscJ5Ay2rMIaOMz7qk0FDLNR1yNSXKouDvHmSlXNl NbKLW08lWL7HiZ0eTci9T29hbKnmfEC4Bsg5AUVJ3MyODlXInxC65wiIvnNZf09SxRbm DX327r/l/ZVwHIzxWNwvmd8MNJB2r/MnaXkc/IbmY2+8BDejCHIKVaV5mcsgVbfwTQYK 8fzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=ZT3M9S40; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e14-20020a056402190e00b0043e05d2b2ccsi4737860edz.116.2022.08.03.07.43.21; Wed, 03 Aug 2022 07:43:47 -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; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=ZT3M9S40; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236948AbiHCOcR (ORCPT + 99 others); Wed, 3 Aug 2022 10:32:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236377AbiHCOcQ (ORCPT ); Wed, 3 Aug 2022 10:32:16 -0400 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD0641C905 for ; Wed, 3 Aug 2022 07:32:14 -0700 (PDT) Received: by mail-io1-xd29.google.com with SMTP id r70so12988703iod.10 for ; Wed, 03 Aug 2022 07:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/j3Fr9QfRk1x010uV68rYVXfeBewZsxPUcsGA68QruU=; b=ZT3M9S40JMm27FIyb88LE0A+y31FE3ad/p6C/2XVdnxiIhnM2OFNQ1iGSQ9l+zGNPL fhOl6eg9vCmzgIEHGt66RUNLluN+PHl9v8eoy9SDJkTtUBL8odKOA35IwkxOMPVfyAV9 /2PiWH9AkH6iVsy/TEqhuNrzE+97ete50KaRk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/j3Fr9QfRk1x010uV68rYVXfeBewZsxPUcsGA68QruU=; b=xqzNlDCmpS9N8wz301g5ewF+jwcw6yNMCmAaA8Ni+Fn78ugQ3eUyVv5NzMBOGFw2fM sez1nN/BNpkUt+b6/ZQf344J6aiSL8e0CpmiHggM1vdhyEJOYpxcLCunAlK2kZZaWFDK 4lrSQfNi+Dwrkt5Bcy+od+lryCmReyPUERrZSMLJbXSfWmBLAg7xopGUY/pS6pAHe/h5 v7DeEMU1oFR2/oujfMR1z67pnAkaeOFxEV6vcbNnvO5eb/mF7w0yV45tG3cnDyFawu3a UshScV1BxtAtM3xniM4+DsvCGzZpfepB4vKzmrSstDumyT7g7s4n6gkg6q9zhW6lnXQW O7jQ== X-Gm-Message-State: AJIora9rlfNfUJFh4xvK+ctWis2nsPkcar0XDxYdLRvW41YarzXAIPIB DV/9XGrIzZxNl9G77hDageWeig== X-Received: by 2002:a6b:6911:0:b0:67b:f03b:74c1 with SMTP id e17-20020a6b6911000000b0067bf03b74c1mr8859031ioc.58.1659537134101; Wed, 03 Aug 2022 07:32:14 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id z7-20020a056e02088700b002de213ddb31sm1721276ils.71.2022.08.03.07.32.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Aug 2022 07:32:13 -0700 (PDT) Subject: Re: [GIT PULL] Kselftest update for Linux 5.20-rc1 To: Guillaume Tucker , =?UTF-8?Q?Micka=c3=abl_Sala=c3=bcn?= , Linus Torvalds Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada , linux-security-module , Shuah Khan References: <430ef132-2ac7-e1be-68ed-3d9c27382143@linuxfoundation.org> <2838c247-0648-3828-efb3-e11d7a0616b2@digikod.net> <84560b65-12ed-da24-3698-45484f80802a@linuxfoundation.org> From: Shuah Khan Message-ID: <15a23d4b-ee26-a6a1-a785-b640c550bfb8@linuxfoundation.org> Date: Wed, 3 Aug 2022 08:32:12 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 8/2/22 10:44 PM, Guillaume Tucker wrote: > On 02/08/2022 15:29, Shuah Khan wrote: >> On 8/2/22 3:51 AM, Mickaël Salaün wrote: >>> Hi, >>> >>> This change breaks the Landlock test build when performed on the tools/testing/selftests/landlock directory because the (non-system/up-to-date) kernel headers aren't found. Looking at the use of top_srcdir and HDR_PATH, it seems that multiple subsystems are using this feature. I consider this change a regression. >>> >> >> I did a build test from the top level before sending the pull request >> and didn't catch this breakage as a result. This breaks when build is >> run from the test directory. >> >> We have had several problems related to khdr_dir and target and decided >> to move away from it with this change. >> >>> It also removes the check on up-to-date kernel headers (thanks to the Makefile's target timestamp). >>> >>> I wasn't CCed for this change impacting Landlock [1]. Please keep in mind to add at least maintainers and related mailing-lists for changes on related subsystems. >>> >> >> That is the usual practice and if I notice missing maintainers, I add >> them. We missed this one. >> >>> The following patch almost revert commit a917dd94b832 ("selftests/landlock: drop deprecated headers dependency") and partially fixes commit 49de12ba06ef ("selftests: drop KSFT_KHDR_INSTALL make target"): >>> >> >> Guillaume, >> >> Will you be able to look at this and send a patch on top? I will >> send another pull request before merge window closes? > > Sure, I'll take a look today. > Thank you. > Also I'll see if we can add some extra build tests in KernelCI > for the kselftest tree to catch issues like these automatically. > Yes. Adding tests to catch these automatically will be great. Please refer to use-cases for kselftest for tips on tests to add. Beig able to build from individual test directory is one of the use-cases. thanks, -- Shuah