Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp142691pxu; Tue, 1 Dec 2020 07:58:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhKppPVANvUk8ep0C+WArY3l1AobmV+owWClafv2mX8GNkWm4n1SomKgA/l9I1+NgM0Ds4 X-Received: by 2002:a17:906:2b95:: with SMTP id m21mr3842753ejg.134.1606838288461; Tue, 01 Dec 2020 07:58:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606838288; cv=none; d=google.com; s=arc-20160816; b=OmlzNuAElJcqQ2Dgo4Vu6CWBQPvGT/DL8QDLxVpjwU/kOlfjgIJseyDdtK2WSa5Vm9 WQ8MGD7e3RauWA7PVTrcfODgVWpCGlW18DmFOJgtb01CsY7z37Hqf5wA4CnisgdhNUzG AQ/pKEf66Om+oq9GG7PFoHVfXny2Oka/MNm1x1ur9aFf9xmgHuSjCY0kywzuefdCVGzf AMwp/owfOIXi7jXZR9xGKPC8hCkMU+N3d/ZPT+0zMkDLek1elqioLVArHTzocq0+Yqui ZNEHzERTuJ5RQ7dnsSaQ1Tutieic2sqa0O1+luEsmotLp2R77/S7iiacawG7VbLzciSK EaQA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wRYv1SLWtxLzgR/QboS0I3cMHWb72mjJTAWK7Q3su8k=; b=CSs3gu4XWw6+PpMoJH4RALFGsnlpbRDCGHXHvVR7kGoW+57UUZAmnPEfJ3Z3c+4K4/ 8B3c6IfX2BJFBHwt7gCT0rdnwkiYds509oRf2z4nMPBw0qbKxIWsjpkqszf18OOY/hsj reyXcZnxJpbxwKo8sX/Qt95fiB3NW4NvtyMePIhKtPN1DG8tocnUZb/vYfi8FP91YFYo YuQdGfI3qvbkwOn0djvscT15EAdKCS5o5+WO3/1Pq0QLSjlofHSl79pSvt0cTtpoouVg GwYja07u25d0faCDvYTzmxUjXpKX+mxgGLHmCL/Y/6uvVDi2+uE102zKGAYA7LjAQ8uu ry5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=XiJyU0OD; 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=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si128758ejw.546.2020.12.01.07.57.44; Tue, 01 Dec 2020 07:58:08 -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; dkim=pass header.i=@alien8.de header.s=dkim header.b=XiJyU0OD; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391941AbgLAPwM (ORCPT + 99 others); Tue, 1 Dec 2020 10:52:12 -0500 Received: from mail.skyhub.de ([5.9.137.197]:34968 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391886AbgLAPwM (ORCPT ); Tue, 1 Dec 2020 10:52:12 -0500 Received: from zn.tnic (p200300ec2f0e6a009ae7ed3e982f3c10.dip0.t-ipconnect.de [IPv6:2003:ec:2f0e:6a00:9ae7:ed3e:982f:3c10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id A18DA1EC0426; Tue, 1 Dec 2020 16:51:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1606837890; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wRYv1SLWtxLzgR/QboS0I3cMHWb72mjJTAWK7Q3su8k=; b=XiJyU0ODNsfVzJluKAbtEzSzksiWpXfmYAA7NgcYK5A214N1qGGmZcvveQX+aNY/feZKtn EYqdY2FwKxBEqb2xznT+igc8d7ig5JXcE/UitvOSHkOnkplWGQCXpLLiKLELwiiaojDwE1 Nb98FuvLyYi46tRgTV8qVzt15Ben20k= Date: Tue, 1 Dec 2020 16:51:26 +0100 From: Borislav Petkov To: Jan Kara , =?utf-8?B?UGF3ZcWC?= Jasiak Cc: 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: <20201201155126.GE22927@zn.tnic> References: <20201130223059.101286-1-brgerst@gmail.com> <20201201094810.GB24488@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201201094810.GB24488@quack2.suse.cz> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Also, Paweł, can you give that one a try to see if it fixes your case? It should... Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette