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
.IR Note :
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.
It is likely to disappear altogether in a future kernel release.
Nowadays, the task performed by

View File

@ -80,7 +80,7 @@ The
.BR chmod ()
and
.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,
set-group-ID, and sticky bits.)
These system calls differ only in how the file is specified:

View File

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

View File

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

View File

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

View File

@ -1270,7 +1270,7 @@ records when a new cgroup is created (and activated).
.\" commit e17d43b93e544f5016c0251d2074c15568d5d963
This enables the generation of
.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).
.TP
.IR wakeup_events ", " wakeup_watermark

View File

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

View File

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

View File

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

View File

@ -99,7 +99,7 @@ metadata related to the filesystem itself.
Disk space was exhausted while synchronizing.
.TP
.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
.BR write (2)
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
when a pole error occurs,
.I errno
as set to
is set to
.BR EDOM
instead of the POSIX-mandated
.BR ERANGE .

View File

@ -100,7 +100,7 @@ The
function addresses a problem that security-conscious applications
may run into when using
.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
.I correct
program, then it may remove the

View File

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

View File

@ -1706,7 +1706,7 @@ Acceptable values range from \-1000
(OOM_SCORE_ADJ_MIN) to +1000 (OOM_SCORE_ADJ_MAX).
This allows user space to control the preference for OOM-killing,
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
equivalent to disabling OOM-killing entirely for that task,
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.
.TP
.B HOME
A user's login directory, set a login time.
A user's login directory.
Set at login time, see section NOTES below.
.TP
.B LANG

View File

@ -228,7 +228,7 @@ placed in this directory.
Commands for the MH mail handling system (optional).
.TP
.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
.IR /usr/X11R6/bin .
.TP

View File

@ -275,7 +275,7 @@ can't be combined with
Threads are required to be in the same PID namespace such that
the threads in a process can send signals to each other.
Similarly, it must be possible to see all of the threads
of a processes in the
of a process in the
.BR proc (5)
filesystem.
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.
.\"
.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;
each semaphore in a set is a counting semaphore.
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
and
.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.
.SS Private Use Areas (PUA)
In the Basic Multilingual Plane,

View File

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

View File

@ -238,6 +238,10 @@ are delimited by colons or spaces.
.B \-\-list
List all dependencies and how they are resolved.
.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)"
Preload the objects specified in
.IR list .