From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 265A5C433E2 for ; Tue, 15 Sep 2020 16:10:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CADC1206BE for ; Tue, 15 Sep 2020 16:10:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="2KDDLkEy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CADC1206BE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ubuntu.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=V0lyfQQO2p6BlVWQHBQ90SeLvEWZmthqYf7fgkosGwk=; b=2KDDLkEyV0acVU0xYAM5HcRGd TLgFHxQN5GfbGHEl6AUjj2UjjbGPxHfYIiKwzVuMknOZuwPjVfqoVTQ1lDn8f5QynIAjoLV98KWjN lJc7ySs2Hg9ufIqAgV7PcSrihxs4DYYaYASvdBfTclqxLgKJ2Ro3hdmcG8xFuA+qZGm/B4HvD0O7L P3qRRWPOZZgueeClR6zKz53oIarVRbsPyIjqZbWrrjfssIi+AWDfweYhOFJcJt75svpD4eZdX1alO kCFN7hGe0fTiNCSofmwNtOhkNMSHMF9Z6vilnocjTHz3qtBMRQvDotoJefwCtydKGrYwf+qrSmAuc MOkaJII0w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIDW6-0004N7-6u; Tue, 15 Sep 2020 16:09:14 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIDVm-0004Gd-49 for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2020 16:08:56 +0000 Received: from ip5f5af089.dynamic.kabel-deutschland.de ([95.90.240.137] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kIDVY-0006rA-V3; Tue, 15 Sep 2020 16:08:41 +0000 Date: Tue, 15 Sep 2020 18:08:40 +0200 From: Christian Brauner To: Kees Cook Subject: Re: [PATCH 10/15] selftests/seccomp: Avoid redundant register flushes Message-ID: <20200915160840.6ybm67gowqeqyms2@wittgenstein> References: <20200912110820.597135-1-keescook@chromium.org> <20200912110820.597135-11-keescook@chromium.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200912110820.597135-11-keescook@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200915_120854_382476_9415F522 X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thadeu Lima de Souza Cascardo , Will Drewry , linux-xtensa@linux-xtensa.org, Michael Ellerman , linux-kernel@vger.kernel.org, Andy Lutomirski , Max Filippov , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Christian Brauner Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Sep 12, 2020 at 04:08:15AM -0700, Kees Cook wrote: > When none of the registers have changed, don't flush them back. This can > happen if the architecture uses a non-register way to change the syscall > (e.g. arm64) , and a return value hasn't been written. > > Signed-off-by: Kees Cook > --- Looks good! Acked-by: Christian Brauner _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel