Compare commits

...

26 Commits

Author SHA1 Message Date
Michael Kerrisk fbe71b1b79 ioctl_tty.2: wfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk 1d9a03e993 ioctl_tty.2: wfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk aceee9e827 ioctl_tty.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk 1af74b2a96 ioctl_tty.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk 025a34a66f ioctl_tty.2: tfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk 5f6ad97119 mmap.2: wfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk 9340c160e2 rmdir.2: tfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk c60f2657f1 shmop.2: wfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk f6b0b0eb6c rename.2: wfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk a45168bfb1 proc.5: tfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk 3de2205aa1 sync.2: tfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk 302df5d8a2 sysvipc.7: tfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk f8b45652ca hier.7: wfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk eeb1ae037f environ.7: wfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk 17a4cff3e4 crypt.3: ffix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk c1b81aa8dd console_codes.4: tfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk 81b2a338db unicode.7: tfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:54 +02:00
Michael Kerrisk 2d72d4897f uri.7: wfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-26 01:31:48 +02:00
Michael Kerrisk bffbd4d0e2 bzero.3: wfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-25 22:29:27 +02:00
Michael Kerrisk 444cf9b152 atanh.3: tfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-25 22:28:18 +02:00
Michael Kerrisk 067c60a72e pid_namespaces.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-25 22:26:35 +02:00
Michael Kerrisk a96c61dd3b perf_event_open.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-25 22:26:01 +02:00
Michael Kerrisk 0eadc752da chmod.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-25 22:25:30 +02:00
Michael Kerrisk 4438c392d8 bdflush.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-25 22:25:10 +02:00
Michael Kerrisk c2356ba085 close_range.2: Glibc 2.34 has added a close_range() wrapper
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-12 03:23:46 +02:00
Michael Kerrisk 001439834b ld.so.8: Document --list-tunables option added in glibc 2.33
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-07-05 09:33:57 +12:00
22 changed files with 51 additions and 41 deletions

View File

@ -40,7 +40,7 @@ There is no glibc wrapper for this system call; see VERSIONS.
.SH DESCRIPTION .SH DESCRIPTION
.IR Note : .IR Note :
Since Linux 2.6, Since Linux 2.6,
.\" As noted in a changes in the 2.5.12 source .\" As noted in changes in the 2.5.12 source
this system call is deprecated and does nothing. this system call is deprecated and does nothing.
It is likely to disappear altogether in a future kernel release. It is likely to disappear altogether in a future kernel release.
Nowadays, the task performed by Nowadays, the task performed by

View File

@ -80,7 +80,7 @@ The
.BR chmod () .BR chmod ()
and and
.BR fchmod () .BR fchmod ()
system calls change a files mode bits. system calls change a file's mode bits.
(The file mode consists of the file permission bits plus the set-user-ID, (The file mode consists of the file permission bits plus the set-user-ID,
set-group-ID, and sticky bits.) set-group-ID, and sticky bits.)
These system calls differ only in how the file is specified: These system calls differ only in how the file is specified:

View File

@ -95,6 +95,7 @@ Insufficient kernel memory was available.
.SH VERSIONS .SH VERSIONS
.BR close_range () .BR close_range ()
first appeared in Linux 5.9. first appeared in Linux 5.9.
Library support was added in glibc in version 2.34.
.SH CONFORMING TO .SH CONFORMING TO
.BR close_range () .BR close_range ()
is a nonstandard function that is also present on FreeBSD. is a nonstandard function that is also present on FreeBSD.

View File

@ -26,7 +26,7 @@ or
.IR arg . .IR arg .
.PP .PP
Use of Use of
.I ioctl .BR ioctl ()
makes for nonportable programs. makes for nonportable programs.
Use the POSIX interface described in Use the POSIX interface described in
.BR termios (3) .BR termios (3)
@ -80,14 +80,15 @@ except that they take a
.I "struct termio\ *" .I "struct termio\ *"
instead of a instead of a
.IR "struct termios\ *" . .IR "struct termios\ *" .
.IP .RS
.BI "TCGETA struct termio *" argp .TS
.IP lb l.
.BI "TCSETA const struct termio *" argp TCGETA \fBstruct termio *\fPargp
.IP TCSETA \fBconst struct termio *\fPargp
.BI "TCSETAW const struct termio *" argp TCSETAW \fBconst struct termio *\fPargp
.IP TCSETAF \fBconst struct termio *\fPargp
.BI "TCSETAF const struct termio *" argp .TE
.RE
.SS Locking the termios structure .SS Locking the termios structure
The The
.I termios .I termios
@ -120,7 +121,6 @@ Window sizes are kept in the kernel, but not used by the kernel
(except in the case of virtual consoles, where the kernel will (except in the case of virtual consoles, where the kernel will
update the window size when the size of the virtual console changes, update the window size when the size of the virtual console changes,
for example, by loading a new font). for example, by loading a new font).
.PP
.TP .TP
.B TIOCGWINSZ .B TIOCGWINSZ
Argument: Argument:
@ -171,7 +171,7 @@ When
.I arg .I arg
is nonzero, nobody knows what will happen. is nonzero, nobody knows what will happen.
.IP .IP
(SVr4, UnixWare, Solaris, Linux treat (SVr4, UnixWare, Solaris, and Linux treat
.I "tcsendbreak(fd,arg)" .I "tcsendbreak(fd,arg)"
with nonzero with nonzero
.I arg .I arg
@ -530,6 +530,7 @@ The BSD ioctls
.BR TIOCSTOP , .BR TIOCSTOP ,
.BR TIOCSTART , .BR TIOCSTART ,
.BR TIOCUCNTL , .BR TIOCUCNTL ,
and
.B TIOCREMOTE .B TIOCREMOTE
have not been implemented under Linux. have not been implemented under Linux.
.SS Modem control .SS Modem control

View File

@ -254,7 +254,7 @@ restrictions.
If the memory region specified by If the memory region specified by
.I addr .I addr
and and
.I len .I length
overlaps pages of any existing mapping(s), then the overlapped overlaps pages of any existing mapping(s), then the overlapped
part of the existing mapping(s) will be discarded. part of the existing mapping(s) will be discarded.
If the specified address cannot be used, If the specified address cannot be used,

View File

@ -1270,7 +1270,7 @@ records when a new cgroup is created (and activated).
.\" commit e17d43b93e544f5016c0251d2074c15568d5d963 .\" commit e17d43b93e544f5016c0251d2074c15568d5d963
This enables the generation of This enables the generation of
.B PERF_RECORD_TEXT_POKE .B PERF_RECORD_TEXT_POKE
records when there's a changes to the kernel text records when there's a change to the kernel text
(i.e., self-modifying code). (i.e., self-modifying code).
.TP .TP
.IR wakeup_events ", " wakeup_watermark .IR wakeup_events ", " wakeup_watermark

View File

@ -418,7 +418,7 @@ and the process is not privileged
.B CAP_FOWNER .B CAP_FOWNER
capability); capability);
or the filesystem containing or the filesystem containing
.I pathname .I oldpath
does not support renaming of the type requested. does not support renaming of the type requested.
.TP .TP
.B EROFS .B EROFS

View File

@ -53,7 +53,7 @@ was not allowed, or one of the directories in the path prefix of
.I pathname .I pathname
did not allow search permission. did not allow search permission.
(See also (See also
.BR path_resolution (7). .BR path_resolution (7).)
.TP .TP
.B EBUSY .B EBUSY
.I pathname .I pathname

View File

@ -207,7 +207,6 @@ was NULL.
Could not allocate memory for the descriptor or for the page tables. Could not allocate memory for the descriptor or for the page tables.
.PP .PP
.BR shmdt () .BR shmdt ()
.I errno
can fail with one of the following errors: can fail with one of the following errors:
.TP .TP
.B EINVAL .B EINVAL

View File

@ -99,7 +99,7 @@ metadata related to the filesystem itself.
Disk space was exhausted while synchronizing. Disk space was exhausted while synchronizing.
.TP .TP
.BR ENOSPC ", " EDQUOT .BR ENOSPC ", " EDQUOT
Data was written to a files on NFS or another filesystem which does not Data was written to a file on NFS or another filesystem which does not
allocate space at the time of a allocate space at the time of a
.BR write (2) .BR write (2)
system call, and some previous write failed due to insufficient system call, and some previous write failed due to insufficient

View File

@ -159,7 +159,7 @@ In glibc 2.9 and earlier,
.\" This can be seen in sysdeps/ieee754/k_standard.c .\" This can be seen in sysdeps/ieee754/k_standard.c
when a pole error occurs, when a pole error occurs,
.I errno .I errno
as set to is set to
.BR EDOM .BR EDOM
instead of the POSIX-mandated instead of the POSIX-mandated
.BR ERANGE . .BR ERANGE .

View File

@ -100,7 +100,7 @@ The
function addresses a problem that security-conscious applications function addresses a problem that security-conscious applications
may run into when using may run into when using
.BR bzero (): .BR bzero ():
if the compiler can deduce that the location to zeroed will if the compiler can deduce that the location to be zeroed will
never again be touched by a never again be touched by a
.I correct .I correct
program, then it may remove the program, then it may remove the

View File

@ -257,20 +257,23 @@ The following values of
are supported: are supported:
.RS .RS
.TS .TS
l l. lb lb
ID | Method l lx.
ID Method
_ _
1 | MD5 1 MD5
2a | Blowfish (not in mainline glibc; added in some 2a T{
| Linux distributions) Blowfish (not in mainline glibc; added in some
Linux distributions)
T}
.\" openSUSE has Blowfish, but AFAICS, this option is not supported .\" openSUSE has Blowfish, but AFAICS, this option is not supported
.\" natively by glibc -- mtk, Jul 08 .\" natively by glibc -- mtk, Jul 08
.\" .\"
.\" md5 | Sun MD5 .\" md5 | Sun MD5
.\" glibc doesn't appear to natively support Sun MD5; I don't know .\" glibc doesn't appear to natively support Sun MD5; I don't know
.\" if any distros add the support. .\" if any distros add the support.
5 | SHA-256 (since glibc 2.7) 5 SHA-256 (since glibc 2.7)
6 | SHA-512 (since glibc 2.7) 6 SHA-512 (since glibc 2.7)
.TE .TE
.RE .RE
.PP .PP
@ -283,13 +286,15 @@ following "$\fIid\fP$" in the salt.
The "\fIencrypted\fP" The "\fIencrypted\fP"
part of the password string is the actual computed password. part of the password string is the actual computed password.
The size of this string is fixed: The size of this string is fixed:
.RS
.TS .TS
l l. lb l.
MD5 | 22 characters MD5 22 characters
SHA-256 | 43 characters SHA-256 43 characters
SHA-512 | 86 characters SHA-512 86 characters
.TE .TE
.sp 1 .RE
.PP
The characters in "\fIsalt\fP" and "\fIencrypted\fP" are drawn from the set The characters in "\fIsalt\fP" and "\fIencrypted\fP" are drawn from the set
[\fBa\-zA\-Z0\-9./\fP]. [\fBa\-zA\-Z0\-9./\fP].
In the MD5 and SHA implementations the entire In the MD5 and SHA implementations the entire

View File

@ -672,7 +672,7 @@ ESC ] 2 ; \fItxt\fP ST Set window title to \fItxt\fP.
ESC ] 4 ; \fInum\fP; \fItxt\fP ST Set ANSI color \fInum\fP to \fItxt\fP. ESC ] 4 ; \fInum\fP; \fItxt\fP ST Set ANSI color \fInum\fP to \fItxt\fP.
ESC ] 10 ; \fItxt\fP ST Set dynamic text color to \fItxt\fP. ESC ] 10 ; \fItxt\fP ST Set dynamic text color to \fItxt\fP.
ESC ] 4 6 ; \fIname\fP ST T{ ESC ] 4 6 ; \fIname\fP ST T{
Change log file to \fIname\fP (normally disabled by a compile-time option) Change log file to \fIname\fP (normally disabled by a compile-time option).
T} T}
ESC ] 5 0 ; \fIfn\fP ST Set font to \fIfn\fP. ESC ] 5 0 ; \fIfn\fP ST Set font to \fIfn\fP.
.TE .TE

View File

@ -1706,7 +1706,7 @@ Acceptable values range from \-1000
(OOM_SCORE_ADJ_MIN) to +1000 (OOM_SCORE_ADJ_MAX). (OOM_SCORE_ADJ_MIN) to +1000 (OOM_SCORE_ADJ_MAX).
This allows user space to control the preference for OOM-killing, This allows user space to control the preference for OOM-killing,
ranging from always preferring a certain ranging from always preferring a certain
task or completely disabling it from OOM killing. task or completely disabling it from OOM-killing.
The lowest possible value, \-1000, is The lowest possible value, \-1000, is
equivalent to disabling OOM-killing entirely for that task, equivalent to disabling OOM-killing entirely for that task,
since it will always report a badness score of 0. since it will always report a badness score of 0.

View File

@ -119,7 +119,7 @@ The name of the logged-in user (used by some System-V derived programs).
Set at login time, see section NOTES below. Set at login time, see section NOTES below.
.TP .TP
.B HOME .B HOME
A user's login directory, set a login time. A user's login directory.
Set at login time, see section NOTES below. Set at login time, see section NOTES below.
.TP .TP
.B LANG .B LANG

View File

@ -228,7 +228,7 @@ placed in this directory.
Commands for the MH mail handling system (optional). Commands for the MH mail handling system (optional).
.TP .TP
.I /usr/bin/X11 .I /usr/bin/X11
is the traditional place to look for X11 executables; on Linux, it This is the traditional place to look for X11 executables; on Linux, it
usually is a symbolic link to usually is a symbolic link to
.IR /usr/X11R6/bin . .IR /usr/X11R6/bin .
.TP .TP

View File

@ -275,7 +275,7 @@ can't be combined with
Threads are required to be in the same PID namespace such that Threads are required to be in the same PID namespace such that
the threads in a process can send signals to each other. the threads in a process can send signals to each other.
Similarly, it must be possible to see all of the threads Similarly, it must be possible to see all of the threads
of a processes in the of a process in the
.BR proc (5) .BR proc (5)
filesystem. filesystem.
Additionally, if two threads were in different PID Additionally, if two threads were in different PID

View File

@ -53,7 +53,7 @@ Remove a message from a queue.
Perform various control operations on a queue, including deletion. Perform various control operations on a queue, including deletion.
.\" .\"
.SS Semaphore sets .SS Semaphore sets
System V semaphores allow processes to synchronize their actions System V semaphores allow processes to synchronize their actions.
System V semaphores are allocated in groups called sets; System V semaphores are allocated in groups called sets;
each semaphore in a set is a counting semaphore. each semaphore in a set is a counting semaphore.
POSIX semaphores provide an alternative API for achieving the same result; POSIX semaphores provide an alternative API for achieving the same result;

View File

@ -188,7 +188,7 @@ can be used to transform the internal
characters and strings into the system character encoding and back characters and strings into the system character encoding and back
and and
.BR wcwidth (3) .BR wcwidth (3)
tells, how many positions (0\(en2) the cursor is advanced by the tells how many positions (0\(en2) the cursor is advanced by the
output of a character. output of a character.
.SS Private Use Areas (PUA) .SS Private Use Areas (PUA)
In the Basic Multilingual Plane, In the Basic Multilingual Plane,

View File

@ -497,7 +497,7 @@ URI but their use is limited to their reserved purpose
.PP .PP
Unreserved characters may be included in a URI. Unreserved characters may be included in a URI.
Unreserved characters Unreserved characters
include uppercase and lowercase English letters, include uppercase and lowercase Latin letters,
decimal digits, and the following decimal digits, and the following
limited set of punctuation marks and symbols: limited set of punctuation marks and symbols:
.IP .IP

View File

@ -238,6 +238,10 @@ are delimited by colons or spaces.
.B \-\-list .B \-\-list
List all dependencies and how they are resolved. List all dependencies and how they are resolved.
.TP .TP
.BR \-\-list\-tunables " (since 2.33)"
Print the names and values of all tunables,
along with the minimum and maximum allowed values.
.TP
.BR \-\-preload " \fIlist\fP (since glibc 2.30)" .BR \-\-preload " \fIlist\fP (since glibc 2.30)"
Preload the objects specified in Preload the objects specified in
.IR list . .IR list .