Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp716085pxu; Wed, 2 Dec 2020 01:13:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJwoQVwyWmgcHmwq5EH3dEy8B7Zw8U2AKtKxakyIteqzaYvTrnJ+0N1bd6HOJoSPbkVIEblc X-Received: by 2002:a50:ff0c:: with SMTP id a12mr1652455edu.79.1606900435020; Wed, 02 Dec 2020 01:13:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606900435; cv=none; d=google.com; s=arc-20160816; b=ZsRBAsX2E8G9VWlFMOZThUaq6+zvM4RjSDzThC9WitAW453fSTmXmu+vD4HyFK7Z0p 6OGF6fun9V8EWXjzE5pX3YOxs+4dhZ80pQJL7Fc7Dd/l3RH8CkwC0SleSKVE/ofjHMDk lHm7ltYiN4oFAZphK1ixOsjjteu1UxNsDbGb6KaefnyzQOppfshwYmMW0tJamryws71l wcPKEejqXrHjC2Ye+5ZlCs9HCu7eukowM5OhjcAa258sTpcyTQBJk1ydrUy+TunNZhIu yU2m/5T4Qh4sQT8C2VDEu4o66c16uiPPDYVSQyWkc+uW6CShp2JCjH1ivmIJblC05qfH XrRA== 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=zGmg8G8iBwPxXcKmj+/EjQMOA++xOZDh9fSKrIVPlQA=; b=VJyhHzjlRKuahDo4UGOJr+rh2DzlmZnaccz7SACSSUYk3D2tF/ZdovUozISPPArhQv LbYHQef/2ZWcw/rJT1h2cwSlr2+vk+yxVbfcriVSJENdk0yYPglFN2b+RQtc3e941V8P de1FuG2GdX6mpm2/GptLRglmVMsT4QOKBpsTnSDggAuEaRWxA28grC6+ETyAR6kpM8xM vvWgP8Di3i9KTxQp0od3kZnvBFEY3m0SBMZA4w/9fkarxvhqkrVJyn27AS1pbKyYLUkQ 4dUiHVmG/MUGEBnAz5y2ivpItfWrceA0ndpV9ZLpOV652RZ1eKSDpcrWoWc1HUt2M0dv spcg== 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 g2si652714edn.233.2020.12.02.01.13.31; Wed, 02 Dec 2020 01:13:55 -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 S2388045AbgLBJLX (ORCPT + 99 others); Wed, 2 Dec 2020 04:11:23 -0500 Received: from mx2.suse.de ([195.135.220.15]:46210 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387891AbgLBJLW (ORCPT ); Wed, 2 Dec 2020 04:11:22 -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 1D65DAED8; Wed, 2 Dec 2020 09:10:41 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id AC2701E1318; Wed, 2 Dec 2020 10:10:40 +0100 (CET) Date: Wed, 2 Dec 2020 10:10:40 +0100 From: Jan Kara To: Borislav Petkov Cc: Jan Kara , =?utf-8?B?UGF3ZcWC?= Jasiak , Brian Gerst , linux-kernel@vger.kernel.org, x86@kernel.org, Andy Lutomirski , Thomas Gleixner Subject: Re: [PATCH] fanotify: Fix sys_fanotify_mark() on native x86-32 Message-ID: <20201202091040.GA3534@quack2.suse.cz> References: <20201130223059.101286-1-brgerst@gmail.com> <20201201094810.GB24488@quack2.suse.cz> <20201201155126.GE22927@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201201155126.GE22927@zn.tnic> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 01-12-20 16:51:26, Borislav Petkov wrote: > On Tue, Dec 01, 2020 at 10:48:10AM +0100, Jan Kara wrote: > > 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? > > Looks sane to me too, I guess I can send it to Linus even now so that it > lands in 5.10. Is that what you'd prefer Jan? Yes, that would be fine by me. Although I don't think there's a huge rush. The thing is broken for some time already so if it goes in later with CC to stable, that would also work OK. Honza -- Jan Kara SUSE Labs, CR