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=-4.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 38560C433E0 for ; Mon, 8 Feb 2021 22:36:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ED75664E99 for ; Mon, 8 Feb 2021 22:36:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229715AbhBHWgx (ORCPT ); Mon, 8 Feb 2021 17:36:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229691AbhBHWgw (ORCPT ); Mon, 8 Feb 2021 17:36:52 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7A5EC061786 for ; Mon, 8 Feb 2021 14:36:11 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id o24so510473wmh.5 for ; Mon, 08 Feb 2021 14:36:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1R+e5JFDNh1cpRLUogyYqNfPT1Wbo7DPFxyEiJBAo7E=; b=YO9hA5UkgKVOf8vwix0rox5pJm3dfVIm8Tiqu4QbeZ4rWog1aBL555fujEyUjoYDYZ I3p88WB52JiQfgsV04FyrMt8Fm+XZnmn9C0oo/vxPK/tDmBw/dFiRuLA7wD4LlGT5sOi 4d+1oVqUT+kZk0uyhWJyPDEzg5+sMqP6mrFYo50vh9OgJsG8TM07llWM4TlxPuKhtxs7 V7cIq0sMn1GLdVCxoX70Weds1GHWlwrGHDgt8SZ+mVeeqHygHBL7QQCGMninOZNznVYp ixV6TKMnVpCktY+qm9NMx8JPqjvdhD27dOoefHGwGQSHZXMer5WldN7HJT89Yz6Xzrb0 rEKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1R+e5JFDNh1cpRLUogyYqNfPT1Wbo7DPFxyEiJBAo7E=; b=EB5j6szBAUVUbe0RhDL5ylB+kC3+fkyY7N5oaGPBESrkLpE/AHvyjuzwxPae1klLgr AMs76RgPxWDDD29qTeXgpZG2cPPkZ4xCEArw7PjePSEfYFh5uArkAE5zqSoN+6ueX4+c u6j+/ZYGO25QMkuUbxJsK1hQUslWaLrLDq4ZRkBPAdpIPX+aUxeBG8SRsuCIknVOGKmx R7cBCEv7Msjlh7Sd0ZfdHejiICZzG3mdn4PwN5dP1Th1ZbCD4irXzokwOKFs9m/Ub4jF 5sM7YGqyuwGDHk/WQs/AkUJ95DcorAEE92XTk7ndRIV+dJuH+qRuQ+hyZgqMTEp/bKBu 6xKA== X-Gm-Message-State: AOAM532jCCSeqlDVb+DytY+4Z2E1EUhEfS0RTYhCaNdc9CCkhdHenhPX keN1X03XuzgQdNqdTCmE6iBy7BkWxec= X-Google-Smtp-Source: ABdhPJy4E8Aw7RNxEfK450rAcenFmH03CC8+iApJJSWwWRi/En9O9H/j5EkKGGUH7KXIIFn8qgCXGQ== X-Received: by 2002:a7b:cc95:: with SMTP id p21mr816752wma.22.1612823769892; Mon, 08 Feb 2021 14:36:09 -0800 (PST) Received: from [192.168.1.143] ([170.253.51.130]) by smtp.gmail.com with UTF8SMTPSA id l38sm981041wmp.19.2021.02.08.14.36.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Feb 2021 14:36:09 -0800 (PST) Subject: Re: ptrace.2: Simplify signature? s/enum \w*/int/ From: "Alejandro Colomar (man-pages)" To: "Michael Kerrisk (man-pages)" References: Cc: linux-man Message-ID: Date: Mon, 8 Feb 2021 23:36:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Thunderbird/84.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org [CC += linux-man@] I forgot the list. On 2/8/21 11:34 PM, Alejandro Colomar (man-pages) wrote: > Hi Michael, > > I think we should simplify the prototype of ptrace(2) from using 'enum > __ptrace_request' to 'int'. It is an implementation detail that should > be transparent to the user. Other pages where glibc uses an 'enum' are > documented to use 'int' (I don't remember the names of those, but > remember having seen them a few days ago. Otherwise, we might have to > document 'enum' elsewhere, which I don't think adds any value. What do > you think about it? > > Thanks, > > Alex > > -- Alejandro Colomar Linux man-pages comaintainer; > https://www.kernel.org/doc/man-pages/ http://www.alejandro-colomar.es/ -- Alejandro Colomar Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/ http://www.alejandro-colomar.es/