Received: by 2002:a17:90a:bc8d:0:0:0:0 with SMTP id x13csp1541973pjr; Mon, 18 May 2020 15:58:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDU6EnHTKzVB52CDf1P9VHQgoOYM0o7B6SPWF9GPbUEyi4dX7XK0AFV55CyfTXpI9PeMwi X-Received: by 2002:a50:8165:: with SMTP id 92mr15958458edc.263.1589842681513; Mon, 18 May 2020 15:58:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589842681; cv=none; d=google.com; s=arc-20160816; b=mluN8aQQR/8FeVEZMVeXgRhmOkMB85/GqSHN/JYat5y8GHfAjvM7y+VH2h5sKdJBwe 9kst1Yqj7Ifdbd/sHxvOqio5tmWLYpjxg1AA+P+llXI2jA9pq+1l+1hpG5FZd72yPcFN aLXaOS1vmJiYLtOqYUxCdR42x1ph5djkjwYnFmsgtEjbTyv1IvxjocnhhjpBRaq/Pa76 R9/r8+StCcvNqetJKS9dfCHn0ZBklWE03YH2qtjHsjyrVQZMLganQ62nLRntpsQvnKt7 yaN+u97Xyb6aQSWWO/xpGkD2EzPc9cpQ82gBmp6znZfT6WZ3HJbuxFmu6tpj0YAIPw7A 3ZNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=CbrRoXG+bW2TyulWncy8iTxwjC+YKFA1v7y3l78jKH4=; b=r0wEpLZHUG1ADey/9bUvslBm2Ayn3U7FHrLJm0wbgw6NSBL3cxlAXmEUczrc9mCG8l Ycenl/weWu+yu7ZjhLG2hQ7dvHv5+4PWK6uZIPMGK4F7jMgsPKGElB4jFGbmBkuHXv9Z 32SZJRymRsqCN3OM+NIMOAIgyKxK4LUwIJ/k6EIRJLXFiIZue8Ad2uyJuHt6wPjhGrL9 1mcOKCcWgLrb5qHy/ImkOMtpVrix8CgDzEttsEgYyBtAFLXsAfUVrQI+UR7eyxP+V8m8 hnxaZ+CVIKlReOmQwctRBpTaYHYi80QY5TLxhbWzaVuytRPs1TTyf2CTGyXFDm7OWWI2 C0GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=xEFLjRTP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si7413340edl.266.2020.05.18.15.57.39; Mon, 18 May 2020 15:58:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=xEFLjRTP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727900AbgERWzU (ORCPT + 99 others); Mon, 18 May 2020 18:55:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726500AbgERWzT (ORCPT ); Mon, 18 May 2020 18:55:19 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78D6DC05BD09 for ; Mon, 18 May 2020 15:55:19 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id f13so1088530wmc.5 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=nnM1HEC/lwLRjHqBFrtxYK0r0f8pmqpTY6yfYakTICDym/OFBoiEXjAsIm7NRAiBZZ Z8SK02bXe0eaqbf4U17Y1K4XKRgQPilux5y1ujeG+6+8lPS8gE+YX8FlpdiCaj44w/rV 3RJlvsmAxnTprdYYG0CLFDZII3BQ9PTmq3CoHOKUpojm/C2LLwJi/CYDuSpjKyloPMMD cq1WSOQoUc576NNMbSxl7LE1+Gh8QG78DONyz8KZdZXPHLGxpop9g6+88x4Xxed4mubg lJ0sA64SZopRbVlje38JqQvo3fDc46AxaLbHXqZ8X+hpPeg2+akhKur3eQpzbSYi+oa9 yUfA== X-Gm-Message-State: AOAM532Hw9xiFh605E1BggnyFGr5m//8DPMsKvmwQ8stj9HxAX7li3Z/ W56loJSoqt5ffWy22oFXHU1/jSA40HpSyBgf6vfTFQ== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.