Re: [PATCH v2 04/11] man2/open.2: punctuate octal perms with digit separators

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Brian,

On 2/8/23 21:27, Brian Inglis wrote:
> ---
>  man2/open.2 | 32 ++++++++++++++++----------------
>  1 file changed, 16 insertions(+), 16 deletions(-)
> 
> 
> v2-0004-man2-open.2-punctuate-octal-perms-with-digit-sepa.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

This is not an octal :)

Cheers,

Alex

>  .B _XOPEN_SOURCE
>  with a value greater than or equal to 700.
>  In glibc 2.11 and earlier, one obtains the definitions by defining

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux