Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1484863ybh; Thu, 16 Jul 2020 13:32:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxwmqntAUIPeuwel+cG6slsKokRMvsDxDnd/qqjk9hq0yGT0HsV2bmaB0GHVHPGUaNW9+a X-Received: by 2002:a17:906:1151:: with SMTP id i17mr5628365eja.535.1594931539005; Thu, 16 Jul 2020 13:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594931538; cv=none; d=google.com; s=arc-20160816; b=cRI7y+fH/q4gvV14b8iXpGWykjiABldAEN2ky7j2UKdKy2fJq6crkVbksmXz84M2wf CRJnRE3t+Oz7tPbMajJjqEVu8v4A77b0CaSwBKyAOodijhdf4nxQI50A0lZJvwteF0a7 U9g5CQjAQLutw8lzxP0N3QDDvSdrSZOtkfFoxD+Th5D6hywv+PNbLazmg16pIurqMtwy fh+auEKrKRaba9PexZOkJNASfHV38CCLsgChXp4MCYsSYXSqsoIeG86QM/oWHzPJcWVJ eFUMtKisgpcgUCEJi1cWKkU9pCf/v06ummzvgujKUZy6nrsaAVrZ6DS9awOwzoH0SKAh c8tw== 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=8Q6gec+QZ6pmzwNdIjLosz8VEJHBD7/M93eWBvB5LSI=; b=Y1t1aMa3KAwTlMyBWqkF8EU5MfblMKc05DyCGixCdliszZlJ6hz7pVrkslkH1YcIIX P5c/zuQpQ0f8oKapzJwob2EDTNmLDP/y3MpVVlez7eYWl/5OmP6gRfkmmfRssXLYH7A5 axfr+IQBtxA47CtlJP/rioTiV/P3hybvM5LYG0m+Auar3tau6YMHT3TUOuUPo5kIRl69 ekWoXkmgRNR38kw2vo1mUTbMTnEW+glLc+KyQfono2DnuMt95NtnnDBy4WUYC+pdGu35 xNR9sf3Yay4n5uTPcN1C3jL/nvUEIRq2INu/0ThTifh6hajnoIgr7TL1PkOuSWUqmD9S 4MuA== 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 g2si3745564ejd.657.2020.07.16.13.31.56; Thu, 16 Jul 2020 13:32:18 -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 S1725958AbgGPU3l (ORCPT + 99 others); Thu, 16 Jul 2020 16:29:41 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:39027 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725921AbgGPU3k (ORCPT ); Thu, 16 Jul 2020 16:29:40 -0400 Received: from ip5f5af08c.dynamic.kabel-deutschland.de ([95.90.240.140] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jwAVc-0007Lm-LN; Thu, 16 Jul 2020 20:29:36 +0000 Date: Thu, 16 Jul 2020 22:29:35 +0200 From: Christian Brauner To: Kees Cook Cc: Gabriel Krisman Bertazi , Andy Lutomirski , Matthew Wilcox , tglx@linutronix.de, linux-kernel@vger.kernel.org, kernel@collabora.com, gofmanp@gmail.com, linux-api@vger.kernel.org, x86@kernel.org, linux-kselftest@vger.kernel.org, shuah@kernel.org, jannh@google.com Subject: Re: [PATCH v4 0/2] Syscall User Redirection Message-ID: <20200716202935.yorxrz2om67r366x@wittgenstein> References: <20200716193141.4068476-1-krisman@collabora.com> <202007161300.7452A2C5@keescook> <20200716202234.wryj7pj7zmwcrxxx@wittgenstein> <202007161324.E75E01B@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <202007161324.E75E01B@keescook> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 16, 2020 at 01:25:43PM -0700, Kees Cook wrote: > On Thu, Jul 16, 2020 at 10:22:34PM +0200, Christian Brauner wrote: > > On Thu, Jul 16, 2020 at 01:04:38PM -0700, Kees Cook wrote: > > > On Thu, Jul 16, 2020 at 03:31:39PM -0400, Gabriel Krisman Bertazi wrote: > > > > 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. > > > > > > Thanks! That all looks good to me. > > > > Don't have any problem with this but did this ever get exposure on > > linux-api? This is the first time I see this pop up. > > I thought I'd added it to CC in the past, but that might have been other > recent unrelated threads. Does this need a full repost there too, you > think? Nah, wasn't my intention to force a repost. Seems that several people have looked this over. :) Just curious why it didn't get to linux-api and we know quite some people who only do look at linux-api (for sanity). :) Christian