Re: [PATCH 07/16] ioperm.2: fix wrong section reference

Alejandro Colomar
2024-06-18T13:32:08Z

[-- Attachment #1: Type: text/plain, Size: 1190 bytes --]

On Mon, Jun 17, 2024 at 04:10:19PM GMT, Kir Kolyshkin wrote:
> The man page says:
>
> > Permissions are inherited by the child created by fork (2)
> > (but see HISTORY).
>
> Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS,
> HISTORY: Reorganize sections"), the discussion about permission
> inheritance is in VERSIONS.

The commit message is inconsistent. Here it says VERSIONS.
>
> Fixes: 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections")
> Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
> ---
> man/man2/ioperm.2 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man/man2/ioperm.2 b/man/man2/ioperm.2
> index a2cde4721..5b6550e46 100644
> --- a/man/man2/ioperm.2
> +++ b/man/man2/ioperm.2
> @@ -50,7 +50,7 @@ .SH DESCRIPTION
> .P
> Permissions are inherited by the child created by
> .BR fork (2)
> -(but see NOTES).
> +(but see HISTORY).

But it's changed to HISTORY.

> Permissions are preserved across
> .BR execve (2);
> this is useful for giving port access permissions to unprivileged
> --
> 2.45.2
>
>

--
<https://www.alejandro-colomar.es/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]