Fix mmap/ioctl(3p) references in manual

mmap(3p) is passable, inasmuch as it does actually describe mmap(2).

ioctl(3p), on the other hand, describes XSI STREAMS, which bear no
relation to ioctl(2) under Linux, much less ioctl_console(2).

Both live in the non-free manpages-posix-dev.
This commit is contained in:
наб 2023-04-07 16:48:06 +02:00 committed by Karel Zak
parent 0bc13e0175
commit 7de3f50e9f
2 changed files with 3 additions and 3 deletions

View file

@ -70,10 +70,10 @@ Obsolete bug emulation flag. Turns on *WHOLE_SECONDS*.
This makes *select*(2), *pselect*(2), and *ppoll*(2) system calls preserve the timeout value instead of modifying it to reflect the amount of time not slept when interrupted by a signal handler. Use when _program_ depends on this behavior. For more details see the timeout description in *select*(2) manual page. Turns on *STICKY_TIMEOUTS*.
*-X*, *--read-implies-exec*::
If this is set then *mmap*(3p) *PROT_READ* will also add the *PROT_EXEC* bit - as expected by legacy x86 binaries. Notice that the ELF loader will automatically set this bit when it encounters a legacy binary. Turns on *READ_IMPLIES_EXEC*.
If this is set then *mmap*(2) *PROT_READ* will also add the *PROT_EXEC* bit - as expected by legacy x86 binaries. Notice that the ELF loader will automatically set this bit when it encounters a legacy binary. Turns on *READ_IMPLIES_EXEC*.
*-Z*, *--mmap-page-zero*::
SVr4 bug emulation that will set *mmap*(3p) page zero as read-only. Use when _program_ depends on this behavior, and the source code is not available to be fixed. Turns on *MMAP_PAGE_ZERO*.
SVr4 bug emulation that will set *mmap*(2) page zero as read-only. Use when _program_ depends on this behavior, and the source code is not available to be fixed. Turns on *MMAP_PAGE_ZERO*.
include::man-common/help-version.adoc[]

View file

@ -134,7 +134,7 @@ Turns keyboard repeat on or off. Virtual consoles only.
Displays the terminal reset string, which typically resets the terminal to its power-on state.
*--resize*::
Reset terminal size by assessing maximum row and column. This is useful when actual geometry and kernel terminal driver are not in sync. Most notable use case is with serial consoles, that do not use *ioctl*(3p) but just byte streams and breaks.
Reset terminal size by assessing maximum row and column. This is useful when actual geometry and kernel terminal driver are not in sync. Most notable use case is with serial consoles, that do not use *ioctl*(2) but just byte streams and breaks.
*--reverse* on|off::
Turns reverse video mode on or off. Except on a virtual console, *--reverse off* turns off all attributes (bold, half-brightness, blink, reverse).