Subject: man-pages-5.12 is released

Gidday,

Alex Colomar and I are proud to announce:

man-pages-5.12 - man pages for Linux

This release resulted from patches, bug reports, reviews, and
comments from around 40 contributors. The release includes
around 300 commits that changed approximately 180 pages.

Tarball download:
http://www.kernel.org/doc/man-pages/download.html
Git repository:
https://git.kernel.org/cgit/docs/man-pages/man-pages.git/
Online changelog:
http://man7.org/linux/man-pages/changelog.html#release_5.12

A short summary of the release is blogged at:
https://linux-man-pages.blogspot.com/2021/06/man-pages-512-released.html

The current version of the pages is browsable at:
http://man7.org/linux/man-pages/

You are receiving this message either because:

a) You contributed to the content of this release.

b) You are subscribed to [email protected] or
[email protected].

c) I have information (possibly inaccurate) that you are the maintainer
of a translation of the manual pages, or are the maintainer of the
manual pages set in a particular distribution, or have expressed
interest in helping with man-pages maintenance, or have otherwise
expressed interest in being notified about man-pages releases.
If you don't want to receive such messages from me, or you know of
some other translator or maintainer who may want to receive such
notifications, send me a message.

Cheers,

Michael

==================== Changes in man-pages-5.12 ====================

Released: 2021-06-20, Christchurch


New and rewritten pages
-----------------------

seccomp_unotify.2
Michael Kerrisk [Tycho Andersen, Jann Horn, Kees Cook, Christian Brauner
Sargun Dhillon]
New page documenting the seccomp user-space notification mechanism

MAX.3
Alejandro Colomar
New page to document MAX() and MIN()


Newly documented interfaces in existing pages
---------------------------------------------

seccomp.2
Tycho Andersen [MichaelKerrisk]
Document SECCOMP_GET_NOTIF_SIZES
Tycho Andersen
Document SECCOMP_FILTER_FLAG_NEW_LISTENER [Michael Kerrisk]
Tycho Andersen
Document SECCOMP_RET_USER_NOTIF [Michael Kerrisk]

set_mempolicy.2
Huang Ying [Alejandro Colomar, "Huang, Ying"]
Add mode flag MPOL_F_NUMA_BALANCING

userfaultfd.2
Peter Xu [Alejandro Colomar, Mike Rapoport]
Add UFFD_FEATURE_THREAD_ID docs
Peter Xu [Alejandro Colomar, Mike Rapoport]
Add write-protect mode docs

proc.5
Michael Kerrisk
Document /proc/sys/vm/sysctl_hugetlb_shm_group

system_data_types.7
Alejandro Colomar
Add 'blksize_t'
Alejandro Colomar
Add 'blkcnt_t'
Alejandro Colomar
Add 'mode_t'
Alejandro Colomar
Add 'struct sockaddr'
Alejandro Colomar
Add 'cc_t'
Alejandro Colomar
Add 'socklen_t'


Global changes
--------------

Many pages
Alejandro Colomar
SYNOPSIS: Use syscall(SYS_...); for system calls without a wrapper

Many pages
Alejandro Colomar
SYNOPSIS: Document why each header is required


Changes to individual pages
---------------------------

dup.2
Michael Kerrisk
Rewrite the description of dup() somewhat
As can be seen by any number of StackOverflow questions, people
persistently misunderstand what dup() does, and the existing manual
page text, which talks of "copying" a file descriptor doesn't help.
Rewrite the text a little to try to prevent some of these
misunderstandings, in particular noting at the start that dup()
allocates a new file descriptor.
Michael Kerrisk
Clarify what silent closing means

_exit.2
Michael Kerrisk
Add a little more detail on the raw _exit() system cal

flock.2
Aurelien Aptel [Alejandro Colomar]
Add CIFS details
CIFS flock() locks behave differently than the standard.
Give an overview of those differences.

memfd_create.2
mmap.2
shmget.2
Michael Kerrisk [Yang Xu]
Document the EPERM error for huge page allocations
This error can occur if the caller is does not have CAP_IPC_LOCK
and is not a member of the sysctl_hugetlb_shm_group.

mmap.2
Bruce Merry
Clarify that MAP_POPULATE is best-effort

mount.2
Topi Miettinen
Document SELinux use of MS_NOSUID mount flag

open.2
Alejandro Colomar [Walter Harms]
Fix bug in linkat(2) call example
AT_EMPTY_PATH works with empty strings (""), but not with NULL
(or at least it's not obvious).

perfmonctl.2
Michael Kerrisk
This system call was removed in Linux 5.10

select.2
Michael Kerrisk
Strengthen the warning regarding the low value of FD_SETSIZE
All modern code should avoid select(2) in favor of poll(2)
or epoll(7).

capabilities.7
Michael Kerrisk
CAP_IPC_LOCK also governs memory allocation using huge pages

signal.7
Michael Kerrisk
Add reference to seccomp_unotify(2)
The seccomp user-space notification feature can cause changes in
the semantics of SA_RESTART with respect to system calls that
would never normally be restarted. Point the reader to the page
that provide further details.

--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/