Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1386617rwl; Fri, 24 Mar 2023 09:50:27 -0700 (PDT) X-Google-Smtp-Source: AKy350YS0i2fcgylWPvcOAo1mYmyGiE6GEVAHMLPhe90Lm+19VFmybXdHHUAaPr34+4HOyDrL8fq X-Received: by 2002:a17:90a:f315:b0:23f:7ab1:2891 with SMTP id ca21-20020a17090af31500b0023f7ab12891mr9498527pjb.6.1679676627529; Fri, 24 Mar 2023 09:50:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679676627; cv=none; d=google.com; s=arc-20160816; b=Ex1dTCFfYtJpSYU34IMJbXmEfg3MI7C0Z3sWxLTENhgYefvlEx0+i5DbPkbw8GKQbL GnoLcdFTxDIX+gYHYtpzOtxOhSMVfYAfoh4pqlBnJxnWlvorTlXxHxvx9LEO4JV2EZ5A F7/TUKreKlsiMUt8hisTu0gxFl54LS9Au8qucDNA0pSpqX0yM91Yse1qK2IOgKUvFZJx ohXMoKmQHa3Va1s2LZ2hdV5W4JwgGtKTBffwQB1EyZzw227gKR5cYX1Ni4Z3zfLT4/0+ ZpY/jms18QgtSrMLhftQjmSueAPRIpFSMiMnjnlAWCFxL+F4yNwNSFn19eI2bJ/lVlPq +Mdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=NkqrrrBli7iwioLLpZaqx7X4Cp1aCl3V92ectHxHlRw=; b=ay9FsA4xZoomEhWIm3N2BMJHHf3qSoYWnZ717fSaMZ9hPUgryVqxoycqPFNKkoHNAu QlUgkRK2zLtInWUl485Hv4d2RTPqXNDQzUCB2OWSNTFhX42iltsjAqSJQN9rPdaysiOU Dywl5jODOe0sjLrvGaNpIjtQaeRkqzWm9nczcy/DcAcgRbjCa+on6F4ybECZp0rli7aY jOudSx1N1htw8ccZzKTUPzGL3bIJFvBFnMrhlR/M8jltezQPzpQFHmYceaEq6gEjRJCz edqFjv6U3IvUTHCgTHpaCrAtWcudOHj7CEKlc+kVHP0JHlsimJyLJ2DLIJWu/UA8JC4n JuCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=P8fF38dq; 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 q17-20020a17090aa01100b0022c83e223desi203409pjp.58.2023.03.24.09.50.15; Fri, 24 Mar 2023 09:50:27 -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=@linux-foundation.org header.s=google header.b=P8fF38dq; 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 S231636AbjCXQkS (ORCPT + 99 others); Fri, 24 Mar 2023 12:40:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231623AbjCXQkQ (ORCPT ); Fri, 24 Mar 2023 12:40:16 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22D1F1A669 for ; Fri, 24 Mar 2023 09:40:15 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id ek18so10259748edb.6 for ; Fri, 24 Mar 2023 09:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1679676013; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NkqrrrBli7iwioLLpZaqx7X4Cp1aCl3V92ectHxHlRw=; b=P8fF38dqC7mw9gR50t3xfU0Ct4Nh3npY6bKtO0d0nGq8Nl8Rv6ETrQVG9oxcsQiDCP CHDU/FOdQ20gQdHBZQNU62irjEaj0204Jf2AYW5kuTzmAVqDaXXNkR0/h9D8HhgrPbrL yfrespfSxEuMuSQRx27xgZNMt1QigBMmFwVF8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679676013; h=content-transfer-encoding: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=NkqrrrBli7iwioLLpZaqx7X4Cp1aCl3V92ectHxHlRw=; b=qygYcNm9sbHimsv6qxnF1lHVE8UmFpdfEXlXys/i9bSQziGrLrIWYZQWUrVRMpJ2pq RfH0oo7Qg+OU219BzIaE+96wp416N8zxFxZJcFbqUdKfz/5Tr9gR2jt4EVL7XYzZiL4N /VEhDV1hdzheMQ2397hFz2WEZhGfTV5psxCyC+Bhvsd4NqCppW/OkTds6t8Lw4yHCPEx AsoaG3+Sclm3cWreuCxWuCbST6ybi3XiuC/yj1yyaMwHXXS1tfi5ntFByJtTNLvqQMVT eeO82OBsiHiOnNFszgXOQqHIuHsT8t0KSlnMIV85Uyb1n9hxq8bMSHqrm8BzHYp1z8+V fYmg== X-Gm-Message-State: AAQBX9eiEK+xbRpQLl3U5vWSE3iPJQ3HK4xBPA57m7y2RzZVsNMgwIBU MmlWqGniYh2Bod+Agp7/zusXYv4cw+yn3UdnxlR1SQ== X-Received: by 2002:a17:906:ca0c:b0:930:1914:88fe with SMTP id jt12-20020a170906ca0c00b00930191488femr3191734ejb.68.1679676013257; Fri, 24 Mar 2023 09:40:13 -0700 (PDT) Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com. [209.85.208.50]) by smtp.gmail.com with ESMTPSA id n11-20020a17090673cb00b0093dbb008281sm1623442ejl.130.2023.03.24.09.40.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Mar 2023 09:40:12 -0700 (PDT) Received: by mail-ed1-f50.google.com with SMTP id w9so10323637edc.3 for ; Fri, 24 Mar 2023 09:40:12 -0700 (PDT) X-Received: by 2002:a17:906:7846:b0:933:1967:a984 with SMTP id p6-20020a170906784600b009331967a984mr1673964ejm.15.1679676012002; Fri, 24 Mar 2023 09:40:12 -0700 (PDT) MIME-Version: 1.0 References: <20230324123626.2177476-1-sashal@kernel.org> In-Reply-To: <20230324123626.2177476-1-sashal@kernel.org> From: Linus Torvalds Date: Fri, 24 Mar 2023 09:39:55 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] capability: test_deny_namespace breakage due to capability conversion to u64 To: Sasha Levin Cc: andrii@kernel.org, mykolal@fb.com, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=no 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 Fri, Mar 24, 2023 at 5:36=E2=80=AFAM Sasha Levin wro= te: > > Commit f122a08b197d ("capability: just use a 'u64' instead of a 'u32[2]' > array") attempts to use BIT_LL() but actually wanted to use BIT_ULL(), > fix it up to make the test compile and run again. This got fixed differently by e8c8361cfdbf ("selftests/bpf: Fix progs/test_deny_namespace.c issues"). I wonder what drugs made me think BIT_LL() was ok. Maybe my wife puts something in the coffee? Linus