Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2560532pxu; Sat, 28 Nov 2020 19:33:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzp8oEdTIydb7bGWeTE6EQXPNxMHsOuYRiFwsKLyrWWlTOSIyfXuBDv1LN9vkACORpchlJq X-Received: by 2002:a17:906:851:: with SMTP id f17mr14130524ejd.392.1606620785527; Sat, 28 Nov 2020 19:33:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606620785; cv=none; d=google.com; s=arc-20160816; b=0uLFAA3ekzuB6ABiP95Pis0fkWEE4/zjxRGpvl8Ul6GrIWS/7QiRElTRNgiOLB092A phA+8JINkuT6t0/ffAw7IhTiupEcLz4PsfICHKCWvo/vAK/cjgDwdYAdxjPnrkYlWlSK 4OXDzGKvXtk/uXi+qrcOQYz+qxC8wZIS5dIAy1WmlysZ2NXYdEYmCYM1tEw/qi5XL36k QO3iSKiqNe1hzPZ1UJZadSjeJzmmO0rNhwbLv3TdpM8I/a8i0OdotVmBPy7d2mar1YtK A5DAdwUtWQcn87GuigC23PBJvK7CzHIRaRZWNwBpBb9EjqGoiOflqkUAe6JNeNGic5V6 qvvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=sbn/C0Gpmfg/0BVzIZvBP8IwLinbzuSe53HiWa8KF4s=; b=lbiI0WN1BYRdQDw+KkDNZt2cYyILI3ChKAUXIfjvlwL4Un6YJfwquxEw1tHw4zLAW3 W+NThGUYMsy+SlwGNzIYu53cLk8iZrAR0wuA6mdEjl9esO2JuxDf8DHN11JCJ6hDQe2w y7YqopOvanjcowTLi7YushnqJS6NtrU2rYqv2Ih3TULFx2fG4dh4KvTAb67HaL8sT3/V F1/Q+SErMFMMGLAN9QZ18J+YN+YsqQO2CK8M8YFxH3HxaRXYgKme8uKbDGDm2UNulhDe K2POQZ6eJRUZzQyhI7f7hM/ln+s81tFCG9INO3OYQOrg5nx0XydPzHdCiFKyRP4psnQr F+9g== 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 k11si7974299ejb.369.2020.11.28.19.32.43; Sat, 28 Nov 2020 19:33:05 -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 S1725989AbgK2D3W (ORCPT + 99 others); Sat, 28 Nov 2020 22:29:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725616AbgK2D3W (ORCPT ); Sat, 28 Nov 2020 22:29:22 -0500 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 241CFC0613D1 for ; Sat, 28 Nov 2020 19:28:42 -0800 (PST) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjDNv-00FCcT-VO; Sun, 29 Nov 2020 03:28:24 +0000 Date: Sun, 29 Nov 2020 03:28:23 +0000 From: Al Viro To: Walt Drummond Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, brgerst@gmail.com, linux@dominikbrodowski.net, gustavoars@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/signals: Fix save/restore signal stack to correctly support sigset_t Message-ID: <20201129032823.GA3579531@ZenIV.linux.org.uk> References: <20201119221132.1515696-1-walt@drummond.us> <20201128052317.GY3576660@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 28, 2020 at 06:19:31PM -0800, Walt Drummond wrote: > Thanks Al. I want to understand the nuance, so please bear with me as I > reason this out. The cast in stone nature of this is due to both the need > to keep userspace and kernel space in sync (ie, you'd have to coordinate > libc and kernel changes super tightly to pull this off), and any change in > the size of struct rt_sigframe would break backwards compatibility with > older binaries, is that correct? Pretty much so. I would expect gdb and friends to be very unhappy about that, for starters, along with a bunch of fun stuff like JVM, etc. Ask the userland folks (libc, gdb, etc.) how would they feel about such changes. I'm fairly sure that it's _not_ going to be a matter of changing _NSIG, rebuilding the kernel and living happily ever after.