Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1503953pxb; Sat, 30 Oct 2021 15:26:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5SmSpJI5E3MS5WFH1+v8/Qh62c3K7GcwRj6Gxh5/kMFK8mhKfbkEJcZez/Ha8mS9uKntP X-Received: by 2002:a6b:8b16:: with SMTP id n22mr9296703iod.0.1635632763475; Sat, 30 Oct 2021 15:26:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635632763; cv=none; d=google.com; s=arc-20160816; b=xIy4aL9ycL90VhsHALukLEZwPu89mW3n665cl3UwKQNO1+ebKLkEIXrvcb7kEzdiiP G8wC60sxzNGnBKw0rlGK8xNK2LSfAo3GcFbhvJX2EXI1EOt11S5yBtkJygHkZguZsncj 97oPTxix8CxJX6Q9coaSjZyyMZi681wC+AWn5WOnMDssnoJMn/5t/cKzNIr+vSQqEUuR wJjtrGPjS7aRxO+MvPU0krREZtk0gbLR8n6LeuN+Nk8iPFiJvk1SY6uJZYc1wJ9XTFcn sbSEfiO37C1StBEf3L70Fhowy4G5neoEi7xlCVYDrX4ElqVwZFFAZ3c2b+0YvwEWP3k8 kbjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:to:subject:message-id :date:from:in-reply-to:references:mime-version; bh=47xqYsuIuzTiY7GUuSQDYjQaT7yKvAV7uAkdxn427OI=; b=mfWAUHQb1D538jAhEWDr3memhSP1P/qBYIGGRvD6Kf48yW5YH4S8ullCk/L2yTnWkG +fEBiHkc1LrPQrEzMTYiX0zRkHkEYR65kjdHoekL3zDUhi7DcMbAkRuFQRDPs3xIxE9Z hAV8E3rLJCwNFJAP1EH3iN6KbMdzylcS3tPVCeQlCKaxphxlaLQMcKUySM7HB+p+fO07 jrw7AW4WXrJ2Ma41pF83GyG/IOSAGlryONoTKukB7MiJPjNeIDPz5LURb89rtlO597G0 Bedh3WBzrBvUOGbJCz56iG0qVs0yDlMkNHRGZsM4RWh6hcUI9ARACNotumzKLi81IGV3 lEdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=pobox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n1si3943516jav.34.2021.10.30.15.25.50; Sat, 30 Oct 2021 15:26:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=pobox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230323AbhJ3W0S convert rfc822-to-8bit (ORCPT + 99 others); Sat, 30 Oct 2021 18:26:18 -0400 Received: from mail-ed1-f51.google.com ([209.85.208.51]:45747 "EHLO mail-ed1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbhJ3W0R (ORCPT ); Sat, 30 Oct 2021 18:26:17 -0400 Received: by mail-ed1-f51.google.com with SMTP id m17so49688768edc.12 for ; Sat, 30 Oct 2021 15:23:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=6drv69/pM7yrcbQ7IO1p79Cg3RwPJZH2L/nzdEToZh0=; b=odYrFeIdINEZtFBEwEiQfUvtidcvv2CzPYsV9uKh68QF6eMQp9L58KVOm11MA+L/0D ysjflXiTyTqjb4RDhz11Pn2MNs6iIV+FUleDYU1LL4dxM3ZfopN/+wtbKdjjpj5Y8tzA z45MCQwkZ0yUpx1ksuH6ODp6MLTXCnaPL8RrmP3opLE7aJbPpqKrU5Z+/CmSXudrtaHy 1dHKw7N8wCvuVOmUIgJl31jHLWZxyd9t4rk03wVOkzfB0oEMpL2fzTpQlTX5uzwjX+LO HKqTcn8By1zVZt8LZk+IeGHA8swGyy5dP+Ii4AMWyPhRp51CFuz7Y/9EezjZV1Kr87wf I3AQ== X-Gm-Message-State: AOAM530eeJSueE6unJKV9KGdl9pNuj8SgXDjofxtysryuZt02reK9Xbn aTlaWEotkrJRWEdPrGyAXjDajX0q5iRudvrlplM= X-Received: by 2002:a17:907:6e04:: with SMTP id sd4mr24343841ejc.40.1635632625633; Sat, 30 Oct 2021 15:23:45 -0700 (PDT) MIME-Version: 1.0 References: <20211030213131.140429-1-alx.manpages@gmail.com> In-Reply-To: <20211030213131.140429-1-alx.manpages@gmail.com> From: Junio C Hamano Date: Sat, 30 Oct 2021 15:23:34 -0700 Message-ID: Subject: Re: [PATCH 00/22] man2: Add [[deprecated]] attribute To: Alejandro Colomar Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [jc: moved everybody else to bcc] Please do not spam the git mailing list with these manual page update patches. We may be interested in the final contents of the manual pages, we appreciate the work done by the linux-man project, but we already have our share of patch traffic on this list that people are swamped with. 2021年10月30日(土) 14:32 Alejandro Colomar : > > Hello Michael, > > I added the C2X [[deprecated]] attribute to the prototypes of some > system calls. All of the cases where I added that were already > marked as deprecated or obsolete somewhere in the manual page, > so this is just about uniformity and visual effect rather than > a new deprecation notice. > > There are cases where the syscalls have been simply removed, and > so they are obviously not to be used any more. > > There are cases where some implementation (not necessarily Linux) > is dangerous. > > In some other cases, the functions have been obsoleted by POSIX, > but are still there in Linux without any deprecation notices. > In these cases, if there's no clear replacement, or if the > replacement is not a straight drop-in, or if the replacement adds > more complexity, I didn't add the [[deprecated]] attribute. > > A list of the system calls that I skipped in this patch set: > > - utime(2) > Many filesystems have 1 second resolution, so it makes > sense to use it in those cases. git(1) for example uses > utime(2) consistently. Although deprecated by POSIX, it > is still part of POSIX; if it ever removes it, we can > reconsider. > > - setpgrp(2) (the POSIX/SysV version) > POSIX deprecated it (not yet removed), but the manual page > doesn't mention any replacement. > > Cheers, > > Alex > > > --- > > Alejandro Colomar (22): > bdflush.2: SYNOPSIS: Mark as [[deprecated]] > create_module.2: SYNOPSIS: Mark as [[deprecated]] > get_kernel_syms.2: SYNOPSIS: Mark as [[deprecated]] > getunwind.2: SYNOPSIS: Mark as [[deprecated]] > iopl.2: SYNOPSIS: Mark as [[deprecated]] > query_module.2: SYNOPSIS: Mark as [[deprecated]] > remap_file_pages.2: SYNOPSIS: Mark as [[deprecated]] > sigprocmask.2: SYNOPSIS: Mark the legacy system call as [[deprecated]] > statfs.2: SYNOPSIS: Mark as [[deprecated]] > stime.2: SYNOPSIS: Mark as [[deprecated]] > ustat.2: SYNOPSIS: Mark as [[deprecated]] > pthread_mutex_consistent.3: Mark *_np() old function as [[deprecated]] > sysctl.2: SYNOPSIS: Mark as [[deprecated]] > vfork.2: SYNOPSIS: Mark as [[deprecated]] > tkill.2: SYNOPSIS: Mark tkill() as [[deprecated]] > sgetmask.2: SYNOPSIS: Mark as [[deprecated]] > getitimer.2: SYNOPSIS: Mark as [[deprecated]] > futimesat.2: SYNOPSIS: Mark as [[deprecated]] > gettimeofday.2: SYNOPSIS: Mark as [[deprecated]] > setpgid.2: SYNOPSIS: Mark BSD versions of getpgrp() and setpgrp() as > [[deprecated]] > sysfs.2: SYNOPSIS: Mark as [[deprecated]] > uselib.2: SYNOPSIS: Mark as [[deprecated]] > > man2/bdflush.2 | 4 ++-- > man2/create_module.2 | 2 +- > man2/futimesat.2 | 4 ++-- > man2/get_kernel_syms.2 | 2 +- > man2/getitimer.2 | 7 ++++--- > man2/gettimeofday.2 | 8 ++++---- > man2/getunwind.2 | 3 ++- > man2/iopl.2 | 2 +- > man2/query_module.2 | 5 +++-- > man2/remap_file_pages.2 | 5 +++-- > man2/setpgid.2 | 8 ++++---- > man2/sgetmask.2 | 4 ++-- > man2/sigprocmask.2 | 12 +++++++----- > man2/statfs.2 | 4 ++-- > man2/stime.2 | 2 +- > man2/sysctl.2 | 2 +- > man2/sysfs.2 | 6 +++--- > man2/tkill.2 | 2 +- > man2/uselib.2 | 2 +- > man2/ustat.2 | 2 +- > man2/vfork.2 | 2 +- > man3/pthread_mutex_consistent.3 | 1 + > 22 files changed, 48 insertions(+), 41 deletions(-) > > -- > 2.33.1 >