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 F00FAC63797 for ; Sun, 5 Feb 2023 22:59:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229546AbjBEW7n (ORCPT ); Sun, 5 Feb 2023 17:59:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbjBEW7m (ORCPT ); Sun, 5 Feb 2023 17:59:42 -0500 Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F25C17CEC for ; Sun, 5 Feb 2023 14:59:41 -0800 (PST) Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id OQBgpkysMc9C4Onz3pRkNN; Sun, 05 Feb 2023 22:59:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1675637981; bh=58cIBGTeVfeoU0lkxu8UO868KH2lEKwWFkuarsG6mIk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=OjX6al0Fl82Rax0izYHVECyHHkqdJr1DPaS7/qYaMEJ5oM1LOk4y6FIjTpxF5Qje8 RoR6r5Ojf2Pm7l3ETHkf04vtGyIEcA/9OKy9BaQoWTuSk4bT6NPDnnAC31e0feBSJ1 BZ3Feq/jpEvKz6jH1ocleTRX8ZE7kZEBqslYGkJe/3rzOfJFVZG4lYRnNX1JPvnwMN 3iP13Djc+f1LmsuDwLaVCf7g9EDvYgt8GEexHBhHKVvmN5EGdBAuYg5en3b4uJAysb /0p2PKqECZxnhYopgBhcO4khEgENwUfIIzfSWEDh+PZMlHuMM/P8qfn2k5cW6TPXHf vmNVViwuc5RyA== Received: from localhost.localdomain ([184.64.124.72]) by cmsmtp with ESMTP id OnyzpUKfwHFsOOnz2p3JLL; Sun, 05 Feb 2023 22:59:41 +0000 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=63e034dd a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=rcOpL44KfLnM241yspEA:9 a=QEXdDO2ut3YA:10 a=2WzCN0r21_IaNLv3IZsA:9 a=B2y7HmGcmWMA:10 From: Brian Inglis To: Linux Man-Pages Cc: Alejandro Colomar Subject: [PATCH 04/11] man2/open.2: punctuate octal perms with digit separators Date: Sun, 5 Feb 2023 15:59:17 -0700 Message-Id: <20230205225924.63300-5-Brian.Inglis@Shaw.ca> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230205225924.63300-1-Brian.Inglis@Shaw.ca> References: <20230205225924.63300-1-Brian.Inglis@Shaw.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.39.0" Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfBX9qLzm7a+aKEuZNsnkqxtO0T0WJ5k5OupKwDTFVtyl2vvIu1sWx3nqGTXKMP2AZV7mvPzCVdfMLV6Ta0+YH+ZQnBm8ZxPCr4hPJISpNUsnpzHn2VD6 koYT88MGBA7hUOpBqebdwdTJDkMbiujAG672sIQ42xm+ATJgw/D4HhkeuVgmDz6A0PXaZduaCJKB+4QtwwbxxXSt+TX/m3UWofWw9tfguhmKUMzgAmWTbJG0 jTGG5B9iDTGDIqG5VVSI1YaadXoutPCrNzRoLJIklequtUWC9KPNrh6IgX/EnBej Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org This is a multi-part message in MIME format. --------------2.39.0 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit --- man2/open.2 | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) --------------2.39.0 Content-Type: text/x-patch; name="0004-man2-open.2-punctuate-octal-perms-with-digit-separat.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0004-man2-open.2-punctuate-octal-perms-with-digit-separat.patch" diff --git a/man2/open.2 b/man2/open.2 index fc796e25537d..82e3e2102e7c 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -308,40 +308,40 @@ The following symbolic constants are provided for .RS .TP 9 .B S_IRWXU -00700 user (file owner) has read, write, and execute permission +00\[aq]700 user (file owner) has read, write, and execute permission .TP .B S_IRUSR -00400 user has read permission +00\[aq]400 user has read permission .TP .B S_IWUSR -00200 user has write permission +00\[aq]200 user has write permission .TP .B S_IXUSR -00100 user has execute permission +00\[aq]100 user has execute permission .TP .B S_IRWXG -00070 group has read, write, and execute permission +00\[aq]070 group has read, write, and execute permission .TP .B S_IRGRP -00040 group has read permission +00\[aq]040 group has read permission .TP .B S_IWGRP -00020 group has write permission +00\[aq]020 group has write permission .TP .B S_IXGRP -00010 group has execute permission +00\[aq]010 group has execute permission .TP .B S_IRWXO -00007 others have read, write, and execute permission +00\[aq]007 others have read, write, and execute permission .TP .B S_IROTH -00004 others have read permission +00\[aq]004 others have read permission .TP .B S_IWOTH -00002 others have write permission +00\[aq]002 others have write permission .TP .B S_IXOTH -00001 others have execute permission +00\[aq]001 others have execute permission .RE .IP According to POSIX, the effect when other bits are set in @@ -352,14 +352,14 @@ On Linux, the following bits are also honored in .RS .TP 9 .B S_ISUID -0004000 set-user-ID bit +0\[aq]004\[aq]000 set-user-ID bit .TP .B S_ISGID -0002000 set-group-ID bit (see +0\[aq]002\[aq]000 set-group-ID bit (see .BR inode (7)). .TP .B S_ISVTX -0001000 sticky bit (see +0\[aq]001\[aq]000 sticky bit (see .BR inode (7)). .RE .TP @@ -1319,7 +1319,7 @@ flags are not specified in POSIX.1-2001, but are specified in POSIX.1-2008. Since glibc 2.12, one can obtain their definitions by defining either .B _POSIX_C_SOURCE -with a value greater than or equal to 200809L or +with a value greater than or equal to 2008\[aq]09L or .B _XOPEN_SOURCE with a value greater than or equal to 700. In glibc 2.11 and earlier, one obtains the definitions by defining --------------2.39.0--