Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4318813pxu; Tue, 1 Dec 2020 01:51:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtjj/PZQeyfRfSZcBX/hDCskGnsjV59fPOGjfXM/vxbT3q8i7HpOBuUjANZDRaYc35XNVH X-Received: by 2002:a17:906:1194:: with SMTP id n20mr2060934eja.269.1606816294475; Tue, 01 Dec 2020 01:51:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606816294; cv=none; d=google.com; s=arc-20160816; b=IZEADil4JvtAGapx33rdhjenFVTbKwlf6Dtv14JlRPFCf+5bNCk5+IIvqmBr7gqnw9 OAhpYVgr0ooq/PPVDqo/+AyQ1pRdUI+VTAUMPKddr3uwanNl5xnf/RcpmQgBxDpl6XpR 5Q/6L2MzIg7+EGGb/zdKQlKwBTmkeMR2vdrRoQ5wdVKoEDYH8Bv5a40rz/xFdOqRHkCb JSL3eEU9PcpshUzfCsyHf/0w9Rcz+smFbj6ItO9DWnUXajo7tanaFj5Z1lkFJ6WRupXg KiKkRVUKdScLequOBybY8vTg14NPENo2XlRnX1zS4QN6AJPNTTEuiCr09zdkT5/QDpOd LiPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=8wGlLXi4Qxxh7ZjwYOgWbB/bADoo4kduT3hSZD8PoSk=; b=yvfToBZe/EZnYjIUiJgcVBWN1xqq/WO+md9yNRblzsvTdpb25ilrtq15UYZlhYMDL/ 7bW0I1+HCYMwM4q9HOjlLHn/hZY8d/U9Gju+suK2t0oA7SXibTdMFsUAfwX5HkPBkecr 4/jJZcxzRxAN+iOZeBwGtfdArgO61r2at10sPLNw4DujtiSQOI3UdfT3LWASVTYlH9O/ 7mhli2n52+8aeNcIqJvvD69w74a0pPu2T233XNQoVDK/K96n2UWHycf8qHSxio6M5CTg ZlG4r8wUtGd+0fxHDLFtdnYHYPUSgDjqQtWPkiUocqf7kISySzuKLzloO6+aInoJ8K7s rmCw== ARC-Authentication-Results: i=1; mx.google.com; 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 v7si781358ede.343.2020.12.01.01.51.11; Tue, 01 Dec 2020 01:51:34 -0800 (PST) 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; 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 S1728467AbgLAJsw (ORCPT + 99 others); Tue, 1 Dec 2020 04:48:52 -0500 Received: from mx2.suse.de ([195.135.220.15]:53164 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727256AbgLAJsw (ORCPT ); Tue, 1 Dec 2020 04:48:52 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 01135AB7F; Tue, 1 Dec 2020 09:48:11 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id AD3961E1318; Tue, 1 Dec 2020 10:48:10 +0100 (CET) Date: Tue, 1 Dec 2020 10:48:10 +0100 From: Jan Kara To: Brian Gerst Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Andy Lutomirski , Borislav Petkov , Thomas Gleixner , Jan Kara , =?utf-8?B?UGF3ZcWC?= Jasiak Subject: Re: [PATCH] fanotify: Fix sys_fanotify_mark() on native x86-32 Message-ID: <20201201094810.GB24488@quack2.suse.cz> References: <20201130223059.101286-1-brgerst@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201130223059.101286-1-brgerst@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 30-11-20 17:30:59, Brian Gerst wrote: > Commit 121b32a58a3a converted native x86-32 which take 64-bit arguments to > use the compat handlers to allow conversion to passing args via pt_regs. > sys_fanotify_mark() was however missed, as it has a general compat handler. > Add a config option that will use the syscall wrapper that takes the split > args for native 32-bit. > > Reported-by: Paweł Jasiak > Fixes: 121b32a58a3a ("x86/entry/32: Use IA32-specific wrappers for syscalls taking 64-bit arguments") > Signed-off-by: Brian Gerst Thanks for the patch! It looks good to me. Feel free to add: Acked-by: Jan Kara I assume you plan to push this via x86 tree given the changes are mostly there, don't you? Honza -- Jan Kara SUSE Labs, CR