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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C56EFC7EE2D for ; Sat, 25 Feb 2023 09:39:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229595AbjBYJjs (ORCPT ); Sat, 25 Feb 2023 04:39:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbjBYJjr (ORCPT ); Sat, 25 Feb 2023 04:39:47 -0500 Received: from vmicros1.altlinux.org (vmicros1.altlinux.org [194.107.17.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 565831205F for ; Sat, 25 Feb 2023 01:39:45 -0800 (PST) Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 9A82772C90B; Sat, 25 Feb 2023 12:39:44 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 8AC217CFDF8; Sat, 25 Feb 2023 12:39:44 +0300 (MSK) Date: Sat, 25 Feb 2023 12:39:44 +0300 From: "Dmitry V. Levin" To: Alex Colomar Cc: =?utf-8?B?zqbPjs+EzrfPgiDOks6xzrvOsc+DzrnOrM60zrfPgg==?= , linux-man@vger.kernel.org, mtk.manpages@gmail.com, Nate Eldredge , Elvira Khabirova Subject: Re: [PATCH] ptrace.2: Add details about usage of PTRACE_GET_SYSCALL_INFO Message-ID: <20230225093944.GA16562@altlinux.org> References: <20230224163142.29934-1-fvalasiad@gmail.com> <20230224185347.GB7758@altlinux.org> <2d242bd0-becc-71d3-3666-43c9271d143b@gmail.com> <20230224220502.GA9955@altlinux.org> <23a102ec-e146-0e82-c5d2-434e9ae56b28@gmail.com> <20230224233148.GB9955@altlinux.org> <20230225000832.GA10444@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org Hi Alex, On Sat, Feb 25, 2023 at 02:21:51AM +0100, Alex Colomar wrote: > Hi Dmitry! > > On 2/25/23 01:08, Dmitry V. Levin wrote: > > On Sat, Feb 25, 2023 at 01:43:18AM +0200, Φώτης Βαλασιάδης wrote: > >> Better? > >> > >> diff --git a/man2/ptrace.2 b/man2/ptrace.2 > >> index 55d9fd36d..ad0543b0b 100644 > >> --- a/man2/ptrace.2 > >> +++ b/man2/ptrace.2 > >> @@ -1111,6 +1111,15 @@ stop. > >>  .B PTRACE_SYSCALL_INFO_NONE > >>  No component of the union contains relevant information. > >>  .RE > >> +.IP > >> +Note that in case of > >> +syscall entry or exit stops, the data returned by > >> +.B PTRACE_GET_SYSCALL_INFO > >> +is limited to type > >> +.B PTRACE_SYSCALL_INFO_NONE > >> +unless > >> +.B PTRACE_O_TRACESYSGOOD > >> +option is set before the corresponding ptrace stop has occurred. > >>  .\" > >>  .SS Death under ptrace > >>  When a (possibly multithreaded) process receives a killing signal > > > > LGTM, thanks. > > Ahh, I see you already CCd Nate. Thanks! > > Thanks for the review! I should take that as an Acked-by? Sure, feel free to add: Reviewed-by: Dmitry V. Levin -- ldv