Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1358168pxa; Sun, 2 Aug 2020 05:03:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz40TaJhb60Xas3Fh6JKQu15Nf8ulNABvnlaz8iB/9VVWyD0nsEzjnhiwEcpAtiCVE/Bki4 X-Received: by 2002:a50:ec0c:: with SMTP id g12mr11158299edr.27.1596369804079; Sun, 02 Aug 2020 05:03:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596369804; cv=none; d=google.com; s=arc-20160816; b=mwgB0+xiSSHdlTaKJhFCwkSfBTjjXKfSVkDVqew49PgolMbaWqPOvAkVHpFwnVVk7Y qt9oe+c+njM7bqHW93fYHgKNQ5XXejRD+yQ18LaESrMQp3sLqeri4tG5rtLiJ34ppe/u VnKOMZv1AyJH/pyqM2/CTkeTVSZL5iuzstCP85T382C9zVrAhHuKl/Cg0sx3dUXN6902 wLay+LT3s8v0CWg/T5Gp1UtXP/IG3xTuKgbERCDovMJPIJy/gbBV9hPdxtrZZCJG3gb8 1WfRyGssPL6vJdkV+MULb9LrQr8jPorjLFSJvhVXzl2z7qfSJ60uuVhOw269/ct6MTqe qCEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=I9wMAqeZ206zjh6D2aSb3+FjZk/vMNTz1Rq0wAciGgQ=; b=SUDyBsWdm4QNbMndqrLkugpwaiIJaTTgadGm/5ggEjIrEJkqMSskw7TdsoC1pIFZcU N77w2kA4FWQpkMnzYg9X7wDdxf6zDnk9/qAB0h3PRZUQZhkjbLrq2hCWro2qw/0HIBdq dyW1JFWm5dRGiezaZaZZM757t69VVaWU3k6xdgL1RJ/BnARDwsvA42oiQ0tQMoXBbBmR U1mu/IWKdxZbdCfflSD8cZyqTuqaZq3Ou553bXpAOlUr/RYL9+OiYW40vyXPQNzwD9x+ TLM8+7loIqu1bGwuglncHtQNLDvqILcC5cPVpyCJVsKr4zfJyb6wmiyZKRRSz0Es3nNT g1lg== 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 c15si2791814ejm.289.2020.08.02.05.03.01; Sun, 02 Aug 2020 05:03:24 -0700 (PDT) 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 S1728224AbgHBMBZ (ORCPT + 99 others); Sun, 2 Aug 2020 08:01:25 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:51464 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728179AbgHBMBZ (ORCPT ); Sun, 2 Aug 2020 08:01:25 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 640651C0BD4; Sun, 2 Aug 2020 14:01:21 +0200 (CEST) Date: Sun, 2 Aug 2020 14:01:15 +0200 From: Pavel Machek To: Gabriel Krisman Bertazi Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org, kernel@collabora.com, willy@infradead.org, luto@kernel.org, gofmanp@gmail.com, keescook@chromium.org, linux-kselftest@vger.kernel.org, shuah@kernel.org Subject: Re: [PATCH v4 0/2] Syscall User Redirection Message-ID: <20200802120115.GC1289@bug> References: <20200716193141.4068476-1-krisman@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200716193141.4068476-1-krisman@collabora.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > This is v4 of Syscall User Redirection. The implementation itself is > not modified from v3, it only applies the latest round of reviews to the > selftests. > > __NR_syscalls is not really exported in header files other than > asm-generic for every architecture, so it felt safer to optionally > expose it with a fallback to a high value. > > Also, I didn't expose tests for PR_GET as that is not currently > implemented. If possible, I'd have it supported by a future patchset, > since it is not immediately necessary to support this feature. > > Finally, one question: Which tree would this go through? Should it come with Documentation? How does it interact with ptrace, seccomp and similar? Pavel (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html