Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp7731718ybn; Mon, 30 Sep 2019 19:36:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzchBvKQOexkRGiiweA2KOZRndibC6AYKTcH7t00TvLHt9TObU+epFSASN3d2GSUDSZXQeg X-Received: by 2002:a50:b582:: with SMTP id a2mr23342074ede.98.1569897410905; Mon, 30 Sep 2019 19:36:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569897410; cv=none; d=google.com; s=arc-20160816; b=MXvh2AweC9/pJJY//RoBtsIqX0iNj4StBNih1HuQxFncCeepVtNmMLem0kRY+o9QCD OiCM7U3qVlo1btXsvt+wcJHbHlaDDt9jxLYWHODABryRjOIyoM8K1RzswjZLjLALsjmW uKHvW73T7j8esHFDuQeHqe5fHzRvpTMB8qmEBFAxkD89iMYc125u6rp2eQaaby1Xwsis +6HDuTXOYk7+jXH6cwwEoZdFAZivEoMxQe3kgDR0NYrPajP8HgxXfTw/5AHl5qn5Yg7L ehwMBoYo1fdYtX8rMe8haPfepZgu/VbLgE7Yh/DGT3Kc66P2wkAZ5eq7m69lSzMHzXs4 /pdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=cQG9f67LXWT7GJ5QpqCdO8kND7rgH6wwWRe46ikUCwk=; b=CxGfdnyrqbtfiM2By1qU/9if1rtDDGFnBJf82OxcJtXdFYwtvPRYM24bTgZ83dvSkB Ey/W2HafK0QX8nXmkuJVEm6yWILOwMHjoJ3aJLT5o2bI/i4MFS/mWeQhl8etfg67ZqUu IEp65bia1IBtmfSRj0FzXqQ8WE2lpgL3jLtCqNsXLK91hoPS7yNHqFXrFiSAX3gbFR7U b0AEvd32EvKuQ+BJUFO1df+iVlGP5GHZ8Ktjr/sQJ/wnVB1b3HYPrpjNXQ2pPZhGvgZj iuuuPCskfjU6vYkn4BqMOMVjw0aWYPwnJLlhWNQHsMBfBMfYoM7nQyXMlfTNhO41IAbU Ntuw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si8382993eda.336.2019.09.30.19.36.26; Mon, 30 Sep 2019 19:36:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731569AbfJACgU (ORCPT + 99 others); Mon, 30 Sep 2019 22:36:20 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:44052 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727645AbfJACgU (ORCPT ); Mon, 30 Sep 2019 22:36:20 -0400 Received: from [213.220.153.21] (helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iF81I-0005Zs-73; Tue, 01 Oct 2019 02:36:08 +0000 Date: Tue, 1 Oct 2019 04:36:07 +0200 From: Christian Brauner To: Aleksa Sarai Cc: Ingo Molnar , Peter Zijlstra , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Kees Cook , Rasmus Villemoes , Al Viro , Linus Torvalds , libc-alpha@sourceware.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 4/4] perf_event_open: switch to copy_struct_from_user() Message-ID: <20191001023606.bkcji3tt6bgu6p5a@wittgenstein> References: <20191001011055.19283-1-cyphar@cyphar.com> <20191001011055.19283-5-cyphar@cyphar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191001011055.19283-5-cyphar@cyphar.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 01, 2019 at 11:10:55AM +1000, Aleksa Sarai wrote: > The change is very straightforward, and helps unify the syscall > interface for struct-from-userspace syscalls. > > Reviewed-by: Kees Cook > Signed-off-by: Aleksa Sarai Reviewed-by: Christian Brauner