Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754387AbdGJQYZ (ORCPT ); Mon, 10 Jul 2017 12:24:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43612 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753890AbdGJQYY (ORCPT ); Mon, 10 Jul 2017 12:24:24 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1E6F6C0587C1 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=oleg@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 1E6F6C0587C1 Date: Mon, 10 Jul 2017 18:24:21 +0200 From: Oleg Nesterov To: James Morse Cc: linux-kernel@vger.kernel.org, Roland McGrath , linuxppc-dev@lists.ozlabs.org, Zhou Chengming , Yury Norov , Andrey Vagin Subject: Re: [PATCH] ptrace: Add compat PTRACE_{G,S}ETSIGMASK handlers Message-ID: <20170710162421.GA24729@redhat.com> References: <20170629162637.10676-1-james.morse@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170629162637.10676-1-james.morse@arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 10 Jul 2017 16:24:24 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 292 Lines: 8 On 06/29, James Morse wrote: > > compat_ptrace_request() lacks handlers for PTRACE_{G,S}ETSIGMASK, > instead using those in ptrace_request(). The compat variant should > read a compat_sigset_t from userspace instead of ptrace_request()s > sigset_t. Acked-by: Oleg Nesterov