Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032851AbbKENyu (ORCPT ); Thu, 5 Nov 2015 08:54:50 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:55700 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030850AbbKENyt (ORCPT ); Thu, 5 Nov 2015 08:54:49 -0500 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Yury Norov , catalin.marinas@arm.com, linux-kernel@vger.kernel.org, pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, Nathan_Lynch@mentor.com, agraf@suse.de, klimov.linux@gmail.com, Andrew Pinski , broonie@kernel.org, jan.dakinevich@gmail.com, Andrew Pinski , ddaney.cavm@gmail.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.com, andrey.konovalov@linaro.org, christoph.muellner@theobroma-systems.com Subject: Re: [PATCH v6 11/17] ptrace: Allow compat to use the native siginfo Date: Thu, 05 Nov 2015 14:53:54 +0100 Message-ID: <5829248.7R2q3V7fJ1@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1446507046-24604-12-git-send-email-ynorov@caviumnetworks.com> References: <1446507046-24604-1-git-send-email-ynorov@caviumnetworks.com> <1446507046-24604-12-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:gqi0P0wVILYleqRDTN+mH5FLGhDMgL8PCnDhZ09XxEPuv7PmKAo VNPhCoZiPBlBcMCuvS3E1Nj4A8+NwSARYI8YCNGjLH4DcP9Ex4aaKm/2jwhtnWYa0nur02c Z01so3qf3PLGEiGl3PEYtZPERIxTlBNfBoOwfkWBlpvt/Kv6tAtEMBwU6II3pmp+2qP/NIT iV753i7RvMrlt0Gt0Zlaw== X-UI-Out-Filterresults: notjunk:1;V01:K0:ON6PY7kPiPM=:tRUEa9Lp7frVPVK6aY+Mx8 djZHDy9yfjix+dD4yVgxiLdvtn/rOUMfSSZiv62gpdgCCSycYaap/XArKlS6LKEgCMRz1Ui1l +3bFkefllUxAiR4Fb47/7XZQ1gUQ+fn+A+jeYYAdWXdzX3BUbAAb446zBoNdqYPqTHX+1aHk5 5p1w3SHELvdB9JY/8mJJ5IY9tHlhHgTM+uQQT9nQfnCDqWchd3mnUoB1c4JIZe8uEuXvbHqTk jmJ9yn9fJBIkt4b7xX0NzLd1wmpf14zdrHWnjwcQJp0GdfWsMo7/ZwRWLfKx8IoRyBA0DFll0 SBmlvNdXHAKfeeIBEzn6JCE0SloyxlF6qV6RPDGYCjjjvSOVQaXM4wbr71BsCJ+8SPfl4l7E+ yDYyYwl6kPVVQ5CWKmlSX4vZyDW3+nobyl424IigXVWsXayOArSTXNLK+BKDl2Q/usG0l8qoa FybyhMTUeJ+dXYZQenkUgtLa/F0amWPrNUECIXQGAv7bnZnrxC+0ZtISInQNmm2T4cMYz9IDp f21m1Z7Iz7m/agFCKvyHCJo5nVifaK8fn0Xpk1krvVSFWpdp47F0lrUx4Xso3eLSghM2Rj2DI OAVfwXbmu+QH2G376AKy1HR3zQyxYLlh8fwMxVYR0rEeU8UK52DL+0CmQCQjwDayRcz70/yzd xviQKri1y49NbY6TxWtl4RbCILtdBWVYgqAepY4cpqKxaVYJqDnhSo4VKcDXw1NTqUOlOJzb7 qGq6B7kMIO9QeXjc Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 843 Lines: 21 On Tuesday 03 November 2015 02:30:40 Yury Norov wrote: > From: Andrew Pinski > > Set COMPAT_USE_NATIVE_SIGINFO to be true for non AARCH32 tasks. > > With ARM64 ILP32 ABI, we want to use the non-compat > siginfo as we want to simplify signal handling for this new ABI. > This patch just adds a new define COMPAT_USE_NATIVE_SIGINFO and > if it is true then read/write in the compat case as it was the > non-compat case. Why does this use compat_ptrace_request()? I assume there is a good reason for it, but I'm surprised you don't use the native 64-bit ptrace syscall. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/