Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4191606pxk; Tue, 22 Sep 2020 12:41:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFPEssk+rk3gzuXYQySPoJc0Kllsa2i8YI3Exc88d3PuVUaLnlKbCAarikctfplRz63eNr X-Received: by 2002:a17:906:d7ab:: with SMTP id pk11mr6719154ejb.472.1600803714796; Tue, 22 Sep 2020 12:41:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600803714; cv=none; d=google.com; s=arc-20160816; b=s5KWF2qc5GKPdihGxA+FEeGJqPSzTwnDo7JKvfB5105mKfavf+u338bgxlstWl0b39 D5QQmVWDs2UD3d2DkqkJuEOARiDhpCBqpAoChQWOZuVDnBC1mXjJsvimdn54jC5KS6I1 e7YtBvh7AxH783nzKe3LRQAiI11MwLRlclFelJwOkIpb1/qXqtoexVEe64gpPjj1ydN6 THxx5hJcs6PVfkPVcK+P7fa2JSYP2AUzkNCwGTbQzfD9tKsA7WwSKCnPvWPArM8Dgtpy TxuwOmtnfLclbnQKo4iFiYgXKY2Mq3oZWFlWYjUtNyr9eljiRkUoLiFkeH5u9halhWqV xAxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Cl+WO00Kizr4omooNzww9UPHhmmcnUeRH4hrmQ6UKdM=; b=rwmhHnwSkEPRadQY7zCPpsfJ1AjffNSVKv5ULY/+OjVwMFKHxnGRUxcglmP5dy6Ja1 DXRutT9BEbgMj8aTnXIhPUuBgzpFcnvvBwVTY4HanrmtIp+bLxMv4GOxMYMPsgcwQyQ1 K/ST/r0Cbve0PFp9PZ3XRVzIj1MLQA9vjQbVTE/IZ/AVOgL9wf5EJ5r0jpOntdQlTPAt 2H67XUSbtHiyS11mZMKvoP6TSjLOUB6dIjrqYwL5YDGB60GecZQEUA2PNygIcQXfvjfb 06f5uD7UEiJ7YYk06RnlgV+pvaj/uHnJQZLV9YMjtI4Zyb3Qga/tEis3uCxiaiBM3j+b Y+Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=SN3IEdv9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a20si15320154edj.252.2020.09.22.12.40.49; Tue, 22 Sep 2020 12:41:54 -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=@chromium.org header.s=google header.b=SN3IEdv9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726714AbgIVTjF (ORCPT + 99 others); Tue, 22 Sep 2020 15:39:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726634AbgIVTjF (ORCPT ); Tue, 22 Sep 2020 15:39:05 -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 D072FC0613D0 for ; Tue, 22 Sep 2020 12:39:04 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id k133so8054526pgc.7 for ; Tue, 22 Sep 2020 12:39:04 -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=Cl+WO00Kizr4omooNzww9UPHhmmcnUeRH4hrmQ6UKdM=; b=SN3IEdv9DKs8YIAAClvTilYOYD+6BYnK5EIxvb5YteSFPi4IJ8WQVOl0JT2w8UYBCi kTPMlGyAECFOooThXIMqEJD1UrWSfJvddGLnyE15YglUlAfv5jrrGLk5iEUpPAmZWW6x S262k7mNa+eTKHeFPpYSoSeTbprnhPYBC6MwI= 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=Cl+WO00Kizr4omooNzww9UPHhmmcnUeRH4hrmQ6UKdM=; b=rt15Xi/si+POxHkt3CwYifwEMkJa0DB7Jt+UGv0UPUM7BqbHdfgpDVgK4L35oPw0H7 QeBRHhy4oMQB6hstJYZwqTuQTUx7WwZuWCjyRRfMVmXTwJm/+m8PCKTcoJvr2ZTWMccl hecTjMtHfxtp5UgXMK2Y6ZpG7HdwCYUAT+EYVmhSN5q9afOx21FVKYHd3UCSwyXmtKAA Y7GUDu0veI0nmf8TKsjRGXqzvjFuevYB7Gza1yRNhZ2d9KheZQ/jTQ+kiSU4fARqXZob IFjcJiLiwfG5E8s8IBR+4BG22ZznYFOiL6QgIY99Dw7Mc76DHnZGzRKp0QweaiBIPpn5 DgBw== X-Gm-Message-State: AOAM533JQq9W5jMBpolzAUiLttlL1OsFcNLQSltZsN1GjIXO92Irr9Q5 CzradFr1ela8orf/vQ3zQHI7cg== X-Received: by 2002:a17:902:7083:b029:d2:4ca:281a with SMTP id z3-20020a1709027083b02900d204ca281amr6006921plk.58.1600803544450; Tue, 22 Sep 2020 12:39:04 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id q190sm16996666pfq.99.2020.09.22.12.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Sep 2020 12:39:03 -0700 (PDT) Date: Tue, 22 Sep 2020 12:39:02 -0700 From: Kees Cook To: Gabriel Krisman Bertazi Cc: luto@kernel.org, tglx@linutronix.de, x86@kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, willy@infradead.org, linux-kselftest@vger.kernel.org, shuah@kernel.org, kernel@collabora.com Subject: Re: [PATCH v6 4/9] signal: Expose SYS_USER_DISPATCH si_code type Message-ID: <202009221238.66C17E34@keescook> References: <20200904203147.2908430-1-krisman@collabora.com> <20200904203147.2908430-5-krisman@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200904203147.2908430-5-krisman@collabora.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 04, 2020 at 04:31:42PM -0400, Gabriel Krisman Bertazi wrote: > SYS_USER_DISPATCH will be triggered when a syscall is sent to userspace > by the Syscall User Dispatch mechanism. This adjusts eventual > BUILD_BUG_ON around the tree. > > Signed-off-by: Gabriel Krisman Bertazi Yup, this looks good; seccomp is glad to have a new SIGSYS friend. ;) Acked-by: Kees Cook -- Kees Cook