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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 69BB7C433F5 for ; Fri, 24 Dec 2021 06:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=VhSuO5GsUxXrboAVnO/3EmpDkoSi/PKCt3LKc4e6L3k=; b=w9ReMSVT4pGSeF uFLKlDv1Uio3p5yjTZga4x+V6CN1OsFXYnVoPrkxrf5o6CDNJRehFNxeexCZnLYADkBKKKkn1zgOk EIVALuglIG7CQ170VxrqCKpY7BagIt7Zc1C8QzQxTkNO+NGB4QLg6K5p3EuRKnL6ztT27Nic9yaKX J9W8JDQInxUJGAAgLi6itf8E+Jp5vxvcr9XHUrtHgHVQv1jjczJvBAIwqGoGJfHA9CdA1tRa+KMjx e6OQrf85V45RDgjcgqSvvlod81B6SnF/+WsWrLE9ee1JAp5WXhKvpKg4ZoL5IFy4sHtUCBVAP4jZP QVFrPF3kv5PiCJad6iFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n0eRB-00Doae-NB; Fri, 24 Dec 2021 06:52:21 +0000 Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1n0eR7-00DoaW-T6; Fri, 24 Dec 2021 06:52:17 +0000 Date: Thu, 23 Dec 2021 22:52:17 -0800 From: Christoph Hellwig To: Arnd Bergmann Cc: Guo Ren , Palmer Dabbelt , Anup Patel , gregkh , liush , wefu@redhat.com, Drew Fustini , wangjunqiang@iscas.ac.cn, Wei Wu =?utf-8?B?KOWQtOS8nyk=?= , Linux Kernel Mailing List , linux-riscv , linux-csky@vger.kernel.org, Guo Ren Subject: Re: [PATCH 01/13] syscalls: compat: Fix the missing part for __SYSCALL_COMPAT Message-ID: References: <20211221163532.2636028-1-guoren@kernel.org> <20211221163532.2636028-2-guoren@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Tue, Dec 21, 2021 at 06:08:45PM +0100, Arnd Bergmann wrote: > > -__SYSCALL(__NR_ptrace, sys_ptrace) > > +__SC_COMP(__NR_ptrace, sys_ptrace, compat_sys_ptrace) > > > > Right. We could merge sys_ptrace and compat_sys_ptrace() by adding > a in_compat_syscall() check, but either way works. I think merging them would be very useful, including merging compat_arch_ptrace into arch_ptrace. But we can leave that for later. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv