Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp535367pxf; Wed, 10 Mar 2021 11:12:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwDWS/YD5gbxlrM0kwrcPayrAohhCYuNXQhWohkjPiiGiMDWHKUPFFhA5vvvCIk+uct2gn/ X-Received: by 2002:aa7:c353:: with SMTP id j19mr4898583edr.263.1615403520943; Wed, 10 Mar 2021 11:12:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615403520; cv=none; d=google.com; s=arc-20160816; b=iHiHbtkWaI4IIz1FcZtvVjIhYOT3vDHQEJTqi6sOAJWK6+k1Qc5/bvt9ZMAzhND3h9 mlcPqxu/hdUfJW6UUbeM/d9oESoTFL9IaipSpKfum1LZGOWd3/vo15YJmBzT0zRS6O/B oiP3Fmh3Sa8sVeZ7Be6154gD5emem/ZOPwlKVzrIGm26d8VV/7N/OAHOMSQDcoktDNq+ KeBvIFmxORw09UteTR3xRY1RUG6rOraGuOd05O8+k1xT2AyxbhgJaKLVsygC3+F5ivXm eOVHtubEKCapr+8F0Uc4gxjElc92fUXbm7XvlCK3XBP6m3kVUFkToJEnBimqUEx8ENUu EQ2w== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KkBWh521G6K67Xk4FdgqO8Q1j+x61LG4JCDOyUXgiLs=; b=SqAMUK7zSBNuoJAKusEwgR//aQgcEh1hcYerHlryD1v80IAEKz/7EVplP1n/lOedUd PfoRFN2GNN8sC3Ij2jANVDoF8HmXA1UHZhYi68fapG2L0wiuvoZRCX4Ta2ZKIePRdo2w RE9bd7d5JX+0aCZigrYBylYSf4Pcp7qWRSYn1sQ+QoN3vSFvqSG7zobSYIIwRw3CXq14 MBHCaoZjEzkkjqts/chYqnIhkXPN3XV+ZnPTB+EkytMkEC5fxGAAtJQe04Qc7lNvGdaI vZ1GNkZQwiOo8QfkLltpiMUg8ypnONWZtOBeXDKEN1jlSKmBSjd0UsmnMMzI12f0rHlO Acrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=YHX8nZ3x; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bt14si166724edb.466.2021.03.10.11.11.37; Wed, 10 Mar 2021 11:12:00 -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=@google.com header.s=20161025 header.b=YHX8nZ3x; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229828AbhCJTId (ORCPT + 99 others); Wed, 10 Mar 2021 14:08:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233732AbhCJTIS (ORCPT ); Wed, 10 Mar 2021 14:08:18 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F94BC061760 for ; Wed, 10 Mar 2021 11:08:18 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id dx17so40944101ejb.2 for ; Wed, 10 Mar 2021 11:08:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=KkBWh521G6K67Xk4FdgqO8Q1j+x61LG4JCDOyUXgiLs=; b=YHX8nZ3xU8tzzDZTmKoBNw8OF0LwMRBYjw8hRIZYT5RmPsYTL5N7QwcL4TPttk2Pcm +UhMttODSRckYV8Mq1if03d2qV8vB96OZGUx2jN80j2PsBRz7OiEcl1mVohwJOlGNkV0 9GiR4eje2eTg1LEpc47+fSg50e1krDOp2gUTS3KDG48ZBhxh8cR5iWnocadYkrfDG0vQ SY5ZWpjoI9mbzzZH5jmCYmF7hQSelnmYrK4+qFv+tbQSmET67E8DPR3CdPjQeMyxl+Gy CvTgYzGN0fP0aNgn+oeHcZUpEFbS/Xzej7zJ9V8QEnq0qcuXW6uyRWMAqEvc216L71Hq 3yHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=KkBWh521G6K67Xk4FdgqO8Q1j+x61LG4JCDOyUXgiLs=; b=HpNfgVSa1Qn0XXHDY6nzgrQmdPYzZHc+0X3rsR0B0fOOGVuOB21rMEgqBiwwkgRHUh FoSoUaaAUIrBTs0+kIbg/ZWtNrSFb5QUVYbCQe07yYHmw9/KoNn9/qz+xcbJSZZHiu5C wEO0uUXw3/7CMhWbLhoghx8NNKRrtOVxyT/X4dqNj/fa4z2ibJkuv1ue066lHmdekxNb HY8SC5hon7sWPGzkX04E4WP5fYQPcBLLHPqo9LRhKq2JInwsNjRXnVvbq/5QbFObCjs1 6h3WO6jdhKvHUSgPQqFkGkO8Ae0NQsRpmYBwT6KnrnX/3an3cDzg3BiReGqs682W2O8y 4fxQ== X-Gm-Message-State: AOAM531HCr1s1o2+Ch4qWo0lOh6hg9oTK+bpqOrwCEojN/n5GQUoOy1Z 9Sm+USCDDJyYrJ//g3exGVcRCw== X-Received: by 2002:a17:906:3c18:: with SMTP id h24mr5068431ejg.435.1615403296678; Wed, 10 Mar 2021 11:08:16 -0800 (PST) Received: from google.com ([2a00:79e0:2:11:1c42:4cf0:d720:10e7]) by smtp.gmail.com with ESMTPSA id fw3sm170347ejb.82.2021.03.10.11.08.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Mar 2021 11:08:16 -0800 (PST) Date: Wed, 10 Mar 2021 20:08:10 +0100 From: Piotr Figiel To: Alexey Dobriyan , "Eric W. Biederman" , Andrew Morton , Kees Cook , Alexey Gladkov , Michel Lespinasse , Bernd Edlinger , Andrei Vagin , mathieu.desnoyers@efficios.com, viro@zeniv.linux.org.uk, peterz@infradead.org, paulmck@kernel.org, boqun.feng@gmail.com Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, posk@google.com, kyurtsever@google.com, ckennelly@google.com, pjt@google.com Subject: Re: [PATCH v4] fs/proc: Expose RSEQ configuration Message-ID: References: <20210202173709.4104221-1-figiel@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210202173709.4104221-1-figiel@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 02, 2021 at 06:37:09PM +0100, Piotr Figiel wrote: > For userspace checkpoint and restore (C/R) some way of getting process > state containing RSEQ configuration is needed. [...] > To achieve above goals expose the RSEQ ABI address and the signature > value with the new procfs file "/proc//rseq". For the record: this idea was dropped in favor of ptrace approach, as discussed over separate mail thread with Mathieu Desnoyers and Peter Zijlstra. The equivalent ptrace patch in its current version is here: https://lore.kernel.org/lkml/20210226135156.1081606-1-figiel@google.com/ Best regards, Piotr.