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.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 D1EE6C433DF for ; Fri, 29 May 2020 07:45:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A81B7205CB for ; Fri, 29 May 2020 07:45:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="O4x09lmr" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726477AbgE2Hph (ORCPT ); Fri, 29 May 2020 03:45:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725836AbgE2Hpg (ORCPT ); Fri, 29 May 2020 03:45:36 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6388CC03E969 for ; Fri, 29 May 2020 00:45:36 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id m1so1040295pgk.1 for ; Fri, 29 May 2020 00:45:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=v0WL43ZgClHvK63U8tJSQHhuv1IY+XGJwk9TrYHJBpQ=; b=O4x09lmrpd35ttX4RvYlwthcP4XZDSh1wmXrWDdHgrwpzBD/ZZhH6KfxLQQJVRMSUT ksgx+s0fuOzYCaoj9NftFtYGCVyX2658+SqHPIgc0GBGp2+HF6OOy3DVu2+RhUov7nNo kF/ooebTjEWP/zFkJmzhMTRXeqdsXI6SpoiVE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=v0WL43ZgClHvK63U8tJSQHhuv1IY+XGJwk9TrYHJBpQ=; b=dE/ZSerYocRWN+x2V25AtkwWlBmphmYMXYDyzZPPLFu4aW5qBGCSt8efWIl250i2K2 GitweJ1r4aS+wYJyFPe65fKrwcRhggKRzgkLPtpvmmhI07ldhcbofpkoZiAdikU3Aj6F 0a9Z6gf/3wHQqr/8oz+cw5kF0clmb6XdtbCCr4znOSwCsrdW4/zOZBFU5SI4mBUYXVgO RojmioSI8znm00DtxpQWra8JXJ6sb+jYuFvt6Amn4Q+lJVrZqF0tJn9xGwHTA77YGRt4 Xjpztr/gnAHMn4mrFY+EoBDgnG7674xc+P5eCjsiwK40fhS3rPE5ESbr4G0dCEwOsCKR Ftig== X-Gm-Message-State: AOAM530WlbStz9uc0wIHLkUNCbW5IFBxb7g8hTefUe4BjTR1mPZrJyQq kw6aN+D1kyTtB3kNGR5aYq0NgQ== X-Google-Smtp-Source: ABdhPJzbwFn0LKJavYqEyivVyPI9I8k58SVD1E/TsX1QWu1RxshYIIP2Z5NRX/HFonOSh2k/xMH/lA== X-Received: by 2002:a63:1165:: with SMTP id 37mr7327753pgr.424.1590738336044; Fri, 29 May 2020 00:45:36 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id 74sm3284357pfa.87.2020.05.29.00.45.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 May 2020 00:45:35 -0700 (PDT) Date: Fri, 29 May 2020 00:45:34 -0700 From: Kees Cook To: Christian Brauner Cc: Sargun Dhillon , containers@lists.linux-foundation.org, cyphar@cyphar.com, jannh@google.com, jeffv@google.com, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, palmer@google.com, rsesek@google.com, tycho@tycho.ws, Matt Denton Subject: Re: [PATCH v2 2/3] seccomp: Introduce addfd ioctl to seccomp user notifier Message-ID: <202005290043.A402A7514@keescook> References: <20200528110858.3265-1-sargun@sargun.me> <20200528110858.3265-3-sargun@sargun.me> <202005282345.573B917@keescook> <20200529073828.avywvdfprhupbkql@wittgenstein> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200529073828.avywvdfprhupbkql@wittgenstein> Sender: linux-api-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org On Fri, May 29, 2020 at 09:38:28AM +0200, Christian Brauner wrote: > On Fri, May 29, 2020 at 12:31:37AM -0700, Kees Cook wrote: > > Nit: please use BIT() > > Fwiw, I don't think we can use BIT() in uapi headers, see: Argh. How many times do I get to trip over this? :P Thank you; yes, please ignore my suggestion. :) -- Kees Cook