Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1428907rwr; Wed, 26 Apr 2023 15:08:41 -0700 (PDT) X-Google-Smtp-Source: AKy350Z2m6szy6o1Du98uEzjeK36+ljufMKF8uizPJD32BERwXV9z0PaOduQZp/+ZOfL8UCL3VZ5 X-Received: by 2002:a05:6a20:2448:b0:f6:28de:89e1 with SMTP id t8-20020a056a20244800b000f628de89e1mr9406708pzc.33.1682546921159; Wed, 26 Apr 2023 15:08:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682546921; cv=none; d=google.com; s=arc-20160816; b=YcJC7mEddH9ovwFNPc4OtFDgHeT1+OqDKvNqDwjc+/0w/6f4p85ZomnKuXrQsnTPF7 zKKTv3ILHVF+w9xlyPJq/blP7meAAeeKhSDWyW3OxdWHyCcPvnydiCRuJnT56v4Rp93H MJjkL1ec+PeG3li2QQ61jWusr70CJloRy5MmLmJ9jaOEghI12ZhaYmG4vTo2YeI8PuH/ NlUxVdeBQExDK5zkH0r1mNO+EtPhM3roKGiMU5LBQ+V5tE5ajC1BCW8ixAnAUCas1R0d 5zhhWKqTOun0L+YTLPf3acr9nZvKx75TvJy72xxPnTPjCCPEf65AzQ+sQ9RQi6nfzwDC AhSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=6o3HhDAjNO89E3A0MRfU/b89KbqoEVo8Ba34QDXA+YA=; b=wcx6q3qgmGxNlvmWTzcZQmDKWs6FFpLYv4OC7AeBfELmxbg1spHS6Xdur6W3zYzIaK z67QwUsckPqc3UYAUiipW4LQ48f78ICJ0FkVJlMqckXCiTmbU29VJ1OAM886YzZ6ZdJG dv0md9UysneH/oCrynW0D6mAnQBKD5tTqEMmJf7o6J/B8/fMpnks9PR4YAX4iZ+s70bK 12iVUO5fNdiGhzrK18lhabQ6IL6BXCLTSY3kxZNIU10NyMO6Ab82qTLcWkqZWo8bUmYb pUrO/4YmPkLaYyv91IT+Y/CDbf1M0FmDvEAA4wzGDhsXQf6cBs5ISWhCecUaAYda7zDB FshQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=vOoliF7Y; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bs125-20020a632883000000b0051393805cd1si13613586pgb.461.2023.04.26.15.08.27; Wed, 26 Apr 2023 15:08:41 -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=@google.com header.s=20221208 header.b=vOoliF7Y; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239185AbjDZWH1 (ORCPT + 99 others); Wed, 26 Apr 2023 18:07:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234109AbjDZWHZ (ORCPT ); Wed, 26 Apr 2023 18:07:25 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E8432709 for ; Wed, 26 Apr 2023 15:07:15 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2478485fd76so5315293a91.2 for ; Wed, 26 Apr 2023 15:07:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1682546834; x=1685138834; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6o3HhDAjNO89E3A0MRfU/b89KbqoEVo8Ba34QDXA+YA=; b=vOoliF7YSsdLjONkRkZIomxWjUfYe8LKdJb6rEHeLX6RhV38s/FBR4eoLfKYHW7zE3 IavK6ET/Qqw5poSNg/YQZq3rl6vIwPoyAUWlMwIL/UgLwhldJ2/Nd9O47mnyXXXL9cvc sbFEtL3hc7qQh5FF+QVgJ+bj4+U9dfQxRkPyP9jul2D1FVAiTPMHklz+MO3UfFTHw1Xm oXIIx8QlKD6IFFHxrWK2XZK4XxjXuoHPzTZ/2hRqfXcOlir58wsKvMi0q4JRPoYFFWOv e4yhq3ur0yW91dT8QCcgI0Rp96j+86/T/j+x9r6LdVItESTZ1/6fDdvYKWk3gPn4jiib l8Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682546834; x=1685138834; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6o3HhDAjNO89E3A0MRfU/b89KbqoEVo8Ba34QDXA+YA=; b=Yt6d2JINA9uh7N394Wo9WYYYJrOui2EqojD7h8w54fS3oKcwj2B4moANGFrXT5MtpV DxTCSzK4gkycC3jviioofi4OvV/4IHvvgfd2MuA1rXgNtxH5JchsEbhR1biDDW7EfkYk n9vSX6X+UzD7apy08QrpMg2kGJ4p5k1T4Yy9OxQzycOWYUb0clyk7M6uy45S1r+24kPe Ba+NonqQdFm7eXYxFCLvB3XCVfdx3ndnvuE6sUwmFMJFOS2bNX4O/eNB812Jc8um2LuE KLf+3mcUl/mX9kmKam/KsfHoQ9nauXRUWN2WLxQNMcbqvqZArY8eoTA0XWM80qh9GLjX 9T/w== X-Gm-Message-State: AAQBX9d2KePt3eAmY9DmE6nKn00ipXgpZBxD917swWMFsA/D3sKtcnB+ 7yZieYbckSCvQYR2po6xtsBHpSSD/Q9yZ6lY9/3AvQ== X-Received: by 2002:a17:90a:8589:b0:249:7224:41cb with SMTP id m9-20020a17090a858900b00249722441cbmr22904088pjn.31.1682546834469; Wed, 26 Apr 2023 15:07:14 -0700 (PDT) MIME-Version: 1.0 References: <20230406004018.1439952-1-drosen@google.com> In-Reply-To: From: Daniel Rosenberg Date: Wed, 26 Apr 2023 15:07:03 -0700 Message-ID: Subject: Re: [PATCH 0/3] Dynptr Verifier Adjustments To: Andrii Nakryiko Cc: bpf@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Shuah Khan , Jonathan Corbet , Joanne Koong , Mykola Lysenko , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL 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 > > It is expected that you build the freshest vmlinux image before > building selftests, because we generate vmlinux.h from it. In your > case we generated vmlinux.h from your system-wide > /sys/kernel/btf/vmlinux BTF information, which doesn't yet have latest > UAPI enums. > I'm still unable to build the selftests. I've got it pointed to a locally built kernel built using the config/config.x86_64, and have tried running the vmtest.sh script, and building just the tests via make. I'm using O= to direct it to the out directory for the kernel build. I've been hitting various errors when trying this. Confusingly the error message isn't always the same. Currently from a clean build, it complains about "linux/atomic.h" not found via #include "../../../include/linux/filter.h"'s in various files. Other times it's complained about the various helper functions from bpf_helper_defs.h being unused. I'm not sure if I'm invoking the command wrong, or missing dependencies or something. I got past some earlier issues by updating clang. Any idea what I'm doing wrong?