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.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, 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 0889EC433E0 for ; Mon, 18 May 2020 22:55:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CF59D207F9 for ; Mon, 18 May 2020 22:55:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=amacapital-net.20150623.gappssmtp.com header.i=@amacapital-net.20150623.gappssmtp.com header.b="xEFLjRTP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728209AbgERWzW (ORCPT ); Mon, 18 May 2020 18:55:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726500AbgERWzU (ORCPT ); Mon, 18 May 2020 18:55:20 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D649C061A0C for ; Mon, 18 May 2020 15:55:19 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id d207so1040162wmd.0 for ; Mon, 18 May 2020 15:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CbrRoXG+bW2TyulWncy8iTxwjC+YKFA1v7y3l78jKH4=; b=xEFLjRTPUSjctOEm0r+4bFklqfQG0ZHiIOdLVfbUyvWMinyZ18EIpM9hBV7EPB6+7I 3kJESCqxx/37NLhYW11GJbI6vngFWnzVe3/2mN8le+21aarLphA0UDZaTi9oGPklLrWa OZSMFSRyJenzxnzVAzcmHYJKfoaymHRUSU08bEVofRCapx8hLvsKqS0PWr0kGKPZT9fj Fjy08XYYXs2pzSWZ/9AzoZH0Cbz9PGHKTRvJCAguHNOvZZ8sA/ZMaG2oWw2fBwpSwwor AVzHYh2B16/j1enIZpn8Fa8fXJyB7XLzx5z83PdM2EeIf/yTMOn2LV/IU4aBm20c0xTd pYGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CbrRoXG+bW2TyulWncy8iTxwjC+YKFA1v7y3l78jKH4=; b=NLlnoj2N6ADjc/3o0Q85v5sVjF2TOrdSad/mGR0FgdaNz0KY+JKv7xqlClNZccUwvF 57bJmKvtiMOY4lVkYq3p4W6jqlz9Wqa+en+4w/S9bemkaYGqVp5ujF/yapfPhSQukp2a xWfSWEhpXvdA28a+e6LaD3lO9oM91IaebysM8VhroF6b7HGWOVg38eZ82DqfAmQMFKri DHsdr2aos6/+14HKIw+ZDNhdIRy7pbatm9UFF/I9G3jb8U+lj7yh7O/3RHwLfrzuynZq bpL+jP3fhuDWwt0lBlP2/Dbkr8cKL6e0BghlaDY80ttBq2Lhdnuhmd7UaSp2w8G8SE0+ C8Bw== X-Gm-Message-State: AOAM532pBIDCMknXAFsBWsGEDz82vPB3b4ap1A3urXbwmttfenJLxkSk slMbWPCfwPGyJdIs24TyJYu/HSE1LbbsZhWU4dVZ+v3A X-Google-Smtp-Source: ABdhPJzzZW5NTOwzcd4s6iBlTCAtQm4jPksXvll7EYQRwpd36sd8KR/52N/NSgSAceSB1YnXgptzUg8u7ES88BON9U8= X-Received: by 2002:a1c:b3c1:: with SMTP id c184mr1726075wmf.36.1589842518091; Mon, 18 May 2020 15:55:18 -0700 (PDT) MIME-Version: 1.0 References: <202005181120.971232B7B@keescook> In-Reply-To: <202005181120.971232B7B@keescook> From: Andy Lutomirski Date: Mon, 18 May 2020 15:55:06 -0700 Message-ID: Subject: Re: seccomp feature development To: Kees Cook Cc: Christian Brauner , Tycho Andersen , Sargun Dhillon , Matt Denton , Chris Palmer , Jeffrey Vander Stoep , Linux Containers , Linux API , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-api-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org On Mon, May 18, 2020 at 2:05 PM Kees Cook wrote: > > Hi! > This is minor, but, if we grow seccomp_data, I would like to add the other 32 bits of the syscall nr to it. Syscall numbers are unsigned long, but they get munged into u32 for seccomp_data. Sure, no one uses those high bits yet, but if we're extending things anyway, let's support them.