]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
5 years agoReady for 5.00 man-pages-5.00
Michael Kerrisk [Wed, 6 Mar 2019 16:02:31 +0000 (17:02 +0100)] 
Ready for 5.00

5 years agoRemoved trailing white space at end of lines
Michael Kerrisk [Wed, 6 Mar 2019 16:02:22 +0000 (17:02 +0100)] 
Removed trailing white space at end of lines

5 years agoChanges: Ready for 5.00
Michael Kerrisk [Wed, 6 Mar 2019 16:01:32 +0000 (17:01 +0100)] 
Changes: Ready for 5.00

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman-pages-5.00.Announce, man-pages-5.00.lsm: Tweak "4.xx" to "5.xx"
Michael Kerrisk [Wed, 6 Mar 2019 14:30:09 +0000 (15:30 +0100)] 
man-pages-5.00.Announce, man-pages-5.00.lsm: Tweak "4.xx" to "5.xx"

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agobpf-helpers.7: wfix: fix TH line
Michael Kerrisk [Wed, 6 Mar 2019 14:19:37 +0000 (15:19 +0100)] 
bpf-helpers.7: wfix: fix TH line

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agozdump.8: ffix
Michael Kerrisk [Wed, 6 Mar 2019 14:13:43 +0000 (15:13 +0100)] 
zdump.8: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agogetent.1, iconv.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat.1, pldd...
Michael Kerrisk [Wed, 6 Mar 2019 14:11:03 +0000 (15:11 +0100)] 
getent.1, iconv.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat.1, pldd.1, sprof.1, time.1, _syscall.2, accept.2, add_key.2, adjtimex.2, bind.2, bpf.2, capget.2, chown.2, chroot.2, clock_getres.2, clone.2, connect.2, copy_file_range.2, epoll_ctl.2, epoll_wait.2, eventfd.2, fanotify_init.2, fanotify_mark.2, fcntl.2, fsync.2, futex.2, getcpu.2, getdents.2, getgid.2, getgroups.2, getpid.2, gettid.2, gettimeofday.2, getuid.2, getxattr.2, inotify_add_watch.2, inotify_init.2, ioctl_fat.2, ioctl_ns.2, ioctl_userfaultfd.2, ioprio_set.2, kcmp.2, kexec_load.2, keyctl.2, listxattr.2, lseek.2, madvise.2, memfd_create.2, migrate_pages.2, mount.2, mprotect.2, mremap.2, msgctl.2, msgop.2, nfsservctl.2, open_by_handle_at.2, perf_event_open.2, pipe.2, pivot_root.2, pkey_alloc.2, poll.2, posix_fadvise.2, prctl.2, readahead.2, readdir.2, readlink.2, reboot.2, recvmmsg.2, removexattr.2, rename.2, request_key.2, s390_guarded_storage.2, s390_runtime_instr.2, s390_sthyi.2, sched_setaffinity.2, sched_setattr.2, sched_setparam.2, seccomp.2, select.2, select_tut.2, semctl.2, sendmmsg.2, set_thread_area.2, setgid.2, setns.2, setuid.2, setxattr.2, shmctl.2, sigaction.2, signalfd.2, sigsuspend.2, socket.2, socketpair.2, spu_run.2, stat.2, statx.2, subpage_prot.2, syscalls.2, sysctl.2, tee.2, timer_create.2, timerfd_create.2, truncate.2, uname.2, unshare.2, userfaultfd.2, ustat.2, vmsplice.2, write.2, CPU_SET.3, __ppc_get_timebase.3, alloca.3, argz_add.3, asprintf.3, backtrace.3, basename.3, bsd_signal.3, bstring.3, bswap.3, bzero.3, cacos.3, cacosh.3, catan.3, catanh.3, catgets.3, clock_getcpuclockid.3, cmsg.3, confstr.3, ctermid.3, ctime.3, des_crypt.3, dl_iterate_phdr.3, dlinfo.3, dlsym.3, duplocale.3, end.3, endian.3, errno.3, exec.3, exit.3, ferror.3, fgetws.3, fmemopen.3, fnmatch.3, fopencookie.3, fputws.3, frexp.3, ftw.3, get_nprocs_conf.3, get_phys_pages.3, getaddrinfo.3, getaddrinfo_a.3, getdate.3, getgrouplist.3, getifaddrs.3, getline.3, getlogin.3, getmntent.3, getnameinfo.3, getopt.3, getpass.3, getprotoent_r.3, getpwnam.3, getservent_r.3, getsubopt.3, glob.3, gnu_get_libc_version.3, hsearch.3, if_nameindex.3, index.3, inet.3, inet_net_pton.3, inet_pton.3, insque.3, isatty.3, iswblank.3, iswspace.3, lockf.3, makecontext.3, mallinfo.3, malloc.3, malloc_hook.3, malloc_info.3, mallopt.3, matherr.3, mbrtowc.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, mcheck.3, memchr.3, mq_getattr.3, mq_notify.3, newlocale.3, nl_langinfo.3, offsetof.3, perror.3, posix_spawn.3, printf.3, pthread_attr_init.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_getattr_default_np.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_mutexattr_setrobust.3, pthread_rwlockattr_setkind_np.3, pthread_setaffinity_np.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_sigmask.3, putenv.3, qsort.3, rand.3, random.3, readdir.3, regex.3, resolver.3, rpmatch.3, rtime.3, scanf.3, sem_wait.3, setaliasent.3, setbuf.3, stpcpy.3, stpncpy.3, strcat.3, strchr.3, strcmp.3, strcpy.3, strdup.3, strerror.3, strfromd.3, strfry.3, strftime.3, string.3, strlen.3, strnlen.3, strsep.3, strstr.3, strtok.3, strtol.3, strtoul.3, strverscmp.3, strxfrm.3, system.3, termios.3, trunc.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscat.3, wcscpy.3, wcslen.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wcsstr.3, wcstok.3, wcstombs.3, wcwidth.3, wprintf.3, xcrypt.3, console_codes.4, dsp56k.4, full.4, initrd.4, lirc.4, loop.4, st.4, tty.4, vcs.4, charmap.5, core.5, host.conf.5, locale.5, proc.5, repertoiremap.5, resolv.conf.5, termcap.5, tmpfs.5, tzfile.5, aio.7, capabilities.7, cgroup_namespaces.7, cgroups.7, charsets.7, complex.7, epoll.7, fanotify.7, feature_test_macros.7, inotify.7, ip.7, locale.7, man-pages.7, man.7, namespaces.7, pid_namespaces.7, pkeys.7, pthreads.7, rtld-audit.7, sched.7, signal.7, sock_diag.7, socket.7, tcp.7, udp.7, unicode.7, user_namespaces.7, utf-8.7, zdump.8, zic.8: tstamp

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoChanges: Bump version 5.00
Michael Kerrisk [Wed, 6 Mar 2019 14:07:53 +0000 (15:07 +0100)] 
Changes: Bump version 5.00

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosched_setattr.2: tfix
Michael Kerrisk [Mon, 5 Nov 2018 14:43:37 +0000 (15:43 +0100)] 
sched_setattr.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosched_setattr.2: Note that SCHED_FLAG_DL_OVERRUN SIGXCPU signal is process-directed
Michael Kerrisk [Mon, 5 Nov 2018 14:41:14 +0000 (15:41 +0100)] 
sched_setattr.2: Note that SCHED_FLAG_DL_OVERRUN SIGXCPU signal is process-directed

And further note that this is probably a bug.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosched_setattr.2: wfix
Michael Kerrisk [Mon, 30 Apr 2018 10:37:11 +0000 (12:37 +0200)] 
sched_setattr.2: wfix

Reported-by: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosched_setattr.2: wfix: s/task/thread/
Michael Kerrisk [Mon, 30 Apr 2018 10:36:49 +0000 (12:36 +0200)] 
sched_setattr.2: wfix: s/task/thread/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosched_setattr.2: Remove mention of GRUB for bandwidth reclaim
Michael Kerrisk [Mon, 30 Apr 2018 10:03:43 +0000 (12:03 +0200)] 
sched_setattr.2: Remove mention of GRUB for bandwidth reclaim

Mention of a specific algorithm is probably too much detail for
the manual page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosched_setattr.2: Add a bit more detail for SCHED_DEADLINE
Michael Kerrisk [Fri, 27 Apr 2018 13:01:20 +0000 (15:01 +0200)] 
sched_setattr.2: Add a bit more detail for SCHED_DEADLINE

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosched_setattr.2: Minor tweaks to Claudio Scordino's patch
Michael Kerrisk [Fri, 27 Apr 2018 12:37:56 +0000 (14:37 +0200)] 
sched_setattr.2: Minor tweaks to Claudio Scordino's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosched_setattr.2: Document SCHED_FLAG_DL_OVERRUN and SCHED_FLAG_RECLAIM
Claudio Scordino [Wed, 18 Apr 2018 09:39:29 +0000 (11:39 +0200)] 
sched_setattr.2: Document SCHED_FLAG_DL_OVERRUN and SCHED_FLAG_RECLAIM

This patch documents two additional flags recently introduced
for the attr.sched_flags field of sched_setattr().

Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agodlsym.3: Describe a case where a symbol value may be NULL
Michael Kerrisk [Tue, 4 Dec 2018 08:35:39 +0000 (09:35 +0100)] 
dlsym.3: Describe a case where a symbol value may be NULL

Remove a longstanding mystery in the text of the page, by
explaining a case where the value returned for a symbol may be
NULL. (However, there are presumably other cases, since the text
in the dlsym(3) manual page pre-dates the invention of IFUNCs.)

See also
https://stackoverflow.com/questions/13941944/why-can-the-value-of-the-symbol-returned-by-dlsym-be-null

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofd.4, initrd.4, pts.4, tty.4, vcs.4: spfix: Use `user:group' instead of `user.group'
Michael Witten [Fri, 1 Mar 2019 09:52:06 +0000 (10:52 +0100)] 
fd.4, initrd.4, pts.4, tty.4, vcs.4: spfix: Use `user:group' instead of `user.group'

The `:' is aligned with the traditional format of the widely used
command-line utility `chown'.

Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman.7: SEE ALSO: remove mdoc.samples(7)
Michael Kerrisk [Wed, 27 Feb 2019 21:20:57 +0000 (22:20 +0100)] 
man.7: SEE ALSO: remove mdoc.samples(7)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agotty.4: Add `vcs(4)' and `pty(7)' to the `SEE ALSO' section
Michael Witten [Tue, 29 Jan 2019 17:26:13 +0000 (17:26 +0000)] 
tty.4: Add `vcs(4)' and `pty(7)' to the `SEE ALSO' section

Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agolirc.4: ffix
Michael Kerrisk [Wed, 27 Feb 2019 15:10:19 +0000 (16:10 +0100)] 
lirc.4: ffix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agommap.2: Bump timestamp for William Kucharski's review of "Fix description of treatmen...
Michael Kerrisk [Wed, 27 Feb 2019 14:38:35 +0000 (15:38 +0100)] 
mmap.2: Bump timestamp for William Kucharski's review of "Fix description of treatment of the hint"

Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agomdoc.7, mdoc.samples.7: Remove these pages
Michael Kerrisk [Wed, 27 Feb 2019 14:19:05 +0000 (15:19 +0100)] 
mdoc.7, mdoc.samples.7: Remove these pages

groff_mdoc(7) from the groff project provides a better
equivalent of mdoc.samples(7) and the 'mandoc' project
provides a better mdoc(7). And nowadays, there are virtually
no pages in "man-pages" that use mdoc markup.

So, drop these pages.

From a conversation on linux-man with Ingo Schwarz:

[[
Subject: Re: [groff] [PATCH] man7/mdoc_samples.7: srcfix: Avoid a warning about a wrong section
Date: Wed, 27 Feb 2019 15:28:19 +0100

> The two actual problems are both within the Linux man-pages project,
> not within groff:
>
>  1. While back in the early 1990ies, Cynthia Livingston's
>     mdoc.samples(7) manual page was an important document and the
>     de-facto language definition of the mdoc(7) language, it has
>     been outdated for a long time now.  The current groff_mdoc(7)
>     manual page is based on it but contains large numbers of important
>     improvements by Werner Lemberg and others.  As an alternative
>     language definition that is slightly more concise without being
>     less precise and complete, the mdoc(7) manual page is available
>     from the mandoc(1) distribution (mandoc.bsd.lv).  If there are
>     any contradictions between groff_mdoc(7) and mdoc(7), those are
>     unintended and i ought to fix them.
>
>     So i really believe that the Linux man-pages project ought to
>     stop distributing the woefully outdated mdoc.samples(7) manual
>     page.  If you want to include documentation for the mdoc language,
>     i suggest that you either include a copy of the current version
>     of the groff_mdoc(7) manual from the groff(1) distribution or
>     of the mdoc(7) manual from the mandoc(1) distribution, whichever
>     you think harmonizes better with the Linux man-pages project.
>     Both are BSD-style licensed, so there should be no licensing
>     issues.
>
>     I'm not sure whether it is better for you to include or not
>     include it.  There is probably value in having mdoc(7) documentation
>     out of the box with the Linux man-pages project.  Then again,
>     having groff_mdoc(7) in both the Linux man-pages package and
>     in the groff package - or having mdoc(7) in both the Linux
>     man-pages project and the mandoc(1) package - might cause
>     packaging conflicts for some distributions.  I don't rightly
>     know how such conflicts are typically handled by Linux
>     distributions.  Not being able to install the Linux man-pages
>     pages project, groff(1) and mandoc(1) all together on the same
>     Linux machine would certainly be a bad situation...
>
>     By the way, the mdoc(7) manual page distributed by the Linux
>     man-pages project also makes very little sense.  It is a partial
>     repetition of information from groff_mdoc(7)/[mandoc-]mdoc(7),
>     but so compressed that it is mostly unintelligible.  Besides,
>     it is incomplete: e.g. .Lk, .Mt, .Dx, .Ox, .Nx, .Ta, .%U, .Bk,
>     .Ek, .Lb, .In, .Ft, .Ms, .Brq, .Bro, .Brc, .Ex are missing -
>     it seems outdated by at lest 25 years.  Also, some claims are
>     outright wrong - for example, you *cannot* use .UR/.UE in an
>     mdoc(7) document, and i cannot remember ever having seen an
>     implementation of a .UN macro anywhere.  Some macros descriptions
>     are also wrong, e.g. .Fd is *not* intended for "function
>     declarations", and .Vt is *not* "Fortran only".  And so on.
>
>  2. I don't recommend keeping the old mdoc.samples(7) and mdoc(7)
>     manual pages, but if you think you must do that for some reason,
>     then you must at least revert this bogus commit:

I am *not at all* attached to keeping to these pages. Their
presence in the project has always felt a bit anomalous to me.

Back when I took over maintainership in 2004, there were a small
number of pages that used mdoc markup, and so it seemed wise
to keep these pages. Over time, most of those few pages were
converted to 'man' markup, and today the only other page in the
project that still uses mdoc markup is in queue(3). So, there is
just about zero value in having 'mdoc' documentation come with
the "Linux man-pages" box.

Since I seldom use mdoc markup myself, I've had no reason to
monitor pages such as groff_mdoc(7) or the mdoc(7) page
provided my ther 'mandoc' project and compare them with
the pages provided by "Linux man-pages". Now I've had a
closer look. It's sad.

I've removed mdoc(7) and mdoc.samples(7) from "Linux -man-pages".
]]

Reported-by: Ingo Schwarze <schwarze@usta.de>
5 years agofanotify_mark.2: Minor wording improvement
Michael Kerrisk [Wed, 27 Feb 2019 12:44:47 +0000 (13:44 +0100)] 
fanotify_mark.2: Minor wording improvement

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agobpf-helpers.7: Refresh against Linux 5.0-rc8
Michael Kerrisk [Wed, 27 Feb 2019 12:12:30 +0000 (13:12 +0100)] 
bpf-helpers.7: Refresh against Linux 5.0-rc8

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agolocale.1, memusage.1, pldd.1, _syscall.2, add_key.2, bind.2, bpf.2, chown.2, clone...
Michael Kerrisk [Wed, 27 Feb 2019 11:57:17 +0000 (12:57 +0100)] 
locale.1, memusage.1, pldd.1, _syscall.2, add_key.2, bind.2, bpf.2, chown.2, clone.2, copy_file_range.2, eventfd.2, execve.2, futex.2, getdents.2, getrlimit.2, ioctl_fat.2, ioctl_ns.2, kcmp.2, kexec_load.2, keyctl.2, listxattr.2, lseek.2, membarrier.2, memfd_create.2, mmap.2, mprotect.2, msgop.2, open_by_handle_at.2, perf_event_open.2, pipe.2, readdir.2, readlink.2, readv.2, recvmmsg.2, request_key.2, sched_setaffinity.2, seccomp.2, select.2, select_tut.2, sendmmsg.2, setns.2, signalfd.2, spu_run.2, stat.2, sysctl.2, tee.2, timer_create.2, timerfd_create.2, truncate.2, uname.2, unshare.2, userfaultfd.2, ustat.2, wait.2, CPU_SET.3, __ppc_get_timebase.3, argz_add.3, asprintf.3, backtrace.3, basename.3, bswap.3, bzero.3, cacos.3, cacosh.3, catan.3, catanh.3, catgets.3, clock_getcpuclockid.3, confstr.3, ctime.3, dl_iterate_phdr.3, dlinfo.3, duplocale.3, encrypt.3, end.3, endian.3, fgetws.3, fmemopen.3, fopencookie.3, fputws.3, frexp.3, ftw.3, get_nprocs_conf.3, get_phys_pages.3, getaddrinfo.3, getaddrinfo_a.3, getdate.3, getgrouplist.3, getifaddrs.3, getline.3, getlogin.3, getopt.3, getpass.3, getprotoent_r.3, getpwnam.3, getservent_r.3, getsubopt.3, glob.3, gnu_get_libc_version.3, hsearch.3, if_nameindex.3, index.3, inet.3, inet_net_pton.3, inet_pton.3, insque.3, iswblank.3, iswspace.3, makecontext.3, mallinfo.3, malloc_hook.3, malloc_info.3, mallopt.3, matherr.3, mbrtowc.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, mcheck.3, memchr.3, mq_getattr.3, mq_notify.3, newlocale.3, nl_langinfo.3, offsetof.3, perror.3, posix_spawn.3, printf.3, pthread_attr_init.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_create.3, pthread_getattr_default_np.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_mutexattr_setrobust.3, pthread_setaffinity_np.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_sigmask.3, qsort.3, rand.3, readdir.3, regex.3, rpmatch.3, rtime.3, scanf.3, sem_wait.3, setaliasent.3, setbuf.3, stpcpy.3, stpncpy.3, strcat.3, strchr.3, strcpy.3, strdup.3, strerror.3, strfromd.3, strftime.3, strlen.3, strnlen.3, strsep.3, strstr.3, strtok.3, strtol.3, strtoul.3, strverscmp.3, strxfrm.3, termios.3, tsearch.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscat.3, wcscpy.3, wcslen.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wcsstr.3, wcstok.3, wcstombs.3, wcwidth.3, wprintf.3, console_codes.4, dsp56k.4, full.4, initrd.4, loop.4, vcs.4, charmap.5, core.5, elf.5, locale.5, proc.5, repertoiremap.5, sysfs.5, termcap.5, aio.7, bpf-helpers.7, cgroups.7, charsets.7, complex.7, fanotify.7, feature_test_macros.7, inotify.7, locale.7, man-pages.7, man.7, pkeys.7, pthreads.7, rtld-audit.7, sock_diag.7, unix.7, user_namespaces.7, utf-8.7: Use '\e' rather than '\\' to get a backslash

Quoting Branden:

*roff escape sequences may sometimes look like C escapes, but that
is misleading.  *roff is in part a macro language and that means
recursive expansion to arbitrary depths.

You can get away with "\\" in a context where no macro expansion
is taking place, but try to spell a literal backslash this way in
the argument to a macro and you will likely be unhappy with
results.

Try viewing the attached file with "man -l".

"\e" is the preferred and portable way to get a portable "escape
literal" going back to CSTR #54, the original Bell Labs troff
paper.

groff(7) discusses the issue:

  \\     reduces to a single backslash; useful to delay its
         interpretation as escape character in copy mode.  For a
         printable backslash, use \e, or even better \[rs], to be
         independent from the current escape character.

As of groff 1.22.4, groff_man(7) does as well:

  \e     Widely used in man pages to represent a backslash output
         glyph.  It works reliably as long as the .ec request is
         not used, which should never happen in man pages, and it
         is slightly more portable than the more exact ‘\(rs’
         (“reverse solidus”) escape sequence.

People not concerned with portability to extremely old troffs should
probably just use \(rs (or \[rs]), as it means "the backslash
glyph", not "the glyph corresponding to whatever the current escape
character is".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoadjtimex.2, futex.2, mremap.2, seccomp.2, getnameinfo.3, random.3, console_codes...
Michael Kerrisk [Wed, 27 Feb 2019 11:23:42 +0000 (12:23 +0100)] 
adjtimex.2, futex.2, mremap.2, seccomp.2, getnameinfo.3, random.3, console_codes.4, sysfs.5, sched.7, unicode.7: Use zero‐width space in appropriate locations

Quoting Branden:

    *roff systems will interpret the period in the unpatched
    page as sentence-ending punctuation and put inter-sentence
    spacing after it.  (This might not be visible on
    nroff/terminal devices, but it is more likely to be on
    typesetter/PostScript/PDF output).

    groff_man(7) in groff 1.22.4 attempts to throw man page
    writers a bone here:

     \&     Zero‐width space.  Append to an input line to prevent
            an end‐of‐ sentence punctuation sequence from being
            recognized as such, or insert at the beginning of an
            input line to prevent a dot or apostrophe from being
            interpreted as the beginning of a roff request.

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Reported-by: G. Branden Robinson <g.branden.robinson@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agokexec_load.2: ffix
Michael Kerrisk [Wed, 27 Feb 2019 10:17:01 +0000 (11:17 +0100)] 
kexec_load.2: ffix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofseeko.3: srcfix
Bjarni Ingi Gislason [Wed, 27 Feb 2019 10:11:55 +0000 (11:11 +0100)] 
fseeko.3: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agomalloc.3: srcfix
Michael Kerrisk [Wed, 27 Feb 2019 10:09:46 +0000 (11:09 +0100)] 
malloc.3: srcfix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agopthread_mutex_consistent.3: ffix
Michael Kerrisk [Wed, 27 Feb 2019 10:04:19 +0000 (11:04 +0100)] 
pthread_mutex_consistent.3: ffix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoscanf.3: ffix
Michael Kerrisk [Wed, 27 Feb 2019 09:59:42 +0000 (10:59 +0100)] 
scanf.3: ffix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosignbit.3: ffix
Michael Kerrisk [Wed, 27 Feb 2019 09:57:15 +0000 (10:57 +0100)] 
signbit.3: ffix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman3/t-v.3: srcfix: Use a single-font-style macro for a single argument
Bjarni Ingi Gislason [Tue, 29 Jan 2019 01:47:52 +0000 (01:47 +0000)] 
man3/t-v.3: srcfix: Use a single-font-style macro for a single argument

  Use a single-font-style macro (".B", ".I") for a single argument.

  Remove unneeded quotation marks (").

  The output from "nroff" and "groff" is unchanged, except for the change

1) '-1' to '\-1' in the file "timegm.3"

2) to separate ',' from a word in the file "uselocale.3".

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agowcsncmp.3: ffix
Michael Kerrisk [Wed, 27 Feb 2019 09:53:15 +0000 (10:53 +0100)] 
wcsncmp.3: ffix

Reported-by: wcsncmp.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofuse.4: ffix
Michael Kerrisk [Wed, 27 Feb 2019 09:50:47 +0000 (10:50 +0100)] 
fuse.4: ffix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman5/g-n.5: srcfix: Use a single-font-style macro for a single argument
Bjarni Ingi Gislason [Wed, 30 Jan 2019 22:35:22 +0000 (22:35 +0000)] 
man5/g-n.5: srcfix: Use a single-font-style macro for a single argument

  Use a single-font-style macro (".B", ".I") for a single argument.

  The output from "nroff" and "groff" is unchanged, except for the

1) change of '-.' to '\- .' in the file "locale.5"

2) change of some '-' to '\-' in the file "locale.5".

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoproc.5: tfix
Michael Kerrisk [Wed, 27 Feb 2019 09:46:09 +0000 (10:46 +0100)] 
proc.5: tfix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agotzfile.5: tfix
Michael Kerrisk [Wed, 27 Feb 2019 09:37:04 +0000 (10:37 +0100)] 
tzfile.5: tfix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofallocate.2, futex.2, getrandom.2, mprotect.2, posix_spawn.3, address_families.7...
Michael Kerrisk [Wed, 27 Feb 2019 09:31:55 +0000 (10:31 +0100)] 
fallocate.2, futex.2, getrandom.2, mprotect.2, posix_spawn.3, address_families.7, ipv6.7, sock_diag.7, socket.7: ffix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoset_thread_area.2: tfix
Michael Kerrisk [Wed, 27 Feb 2019 09:29:42 +0000 (10:29 +0100)] 
set_thread_area.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agolocale.7, user_namespaces.7: ffix
Michael Kerrisk [Wed, 27 Feb 2019 09:25:56 +0000 (10:25 +0100)] 
locale.7, user_namespaces.7: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agopkey_alloc.2: srcfix
Michael Kerrisk [Wed, 27 Feb 2019 09:22:06 +0000 (10:22 +0100)] 
pkey_alloc.2: srcfix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoperf_event_open.2: ffix
Michael Kerrisk [Wed, 27 Feb 2019 09:20:14 +0000 (10:20 +0100)] 
perf_event_open.2: ffix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoepoll_ctl.2, ioctl_userfaultfd.2, keyctl.2, ptrace.2, socket.7: ffix
Michael Kerrisk [Wed, 27 Feb 2019 09:06:04 +0000 (10:06 +0100)] 
epoll_ctl.2, ioctl_userfaultfd.2, keyctl.2, ptrace.2, socket.7: ffix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofallocate.2, getgid.2, getpid.2, getuid.2, lseek.2, set_thread_area.2, tzset.3: srcfi...
Michael Kerrisk [Wed, 27 Feb 2019 09:03:58 +0000 (10:03 +0100)] 
fallocate.2, getgid.2, getpid.2, getuid.2, lseek.2, set_thread_area.2, tzset.3: srcfix: fix some unconventional markup

No (intended) changes to generated output

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agokeyctl.2, mlock.2, timerfd_create.2, write.2, nl_langinfo.3, posix_spawn.3: ffix
Michael Kerrisk [Wed, 27 Feb 2019 08:59:38 +0000 (09:59 +0100)] 
keyctl.2, mlock.2, timerfd_create.2, write.2, nl_langinfo.3, posix_spawn.3: ffix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoptrace.2: ffix
Michael Kerrisk [Wed, 27 Feb 2019 08:49:38 +0000 (09:49 +0100)] 
ptrace.2: ffix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman2/bpf.2: srcfix: Some fixes that only change fonts
Bjarni Ingi Gislason [Tue, 1 Jan 2019 22:51:34 +0000 (22:51 +0000)] 
man2/bpf.2: srcfix: Some fixes that only change fonts

1) Use single-font macros for a single argument.

2) Use quotation marks for arguments containing a space.

3) Use roman font for punctuation marks.

  The output has only changes of the font for a punctuation mark.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agogetent.1, iconv.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat.1, pldd...
Bjarni Ingi Gislason [Mon, 24 Dec 2018 00:20:29 +0000 (00:20 +0000)] 
getent.1, iconv.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat.1, pldd.1, sprof.1, time.1: tfix, use a one-font macro for a single argument

1) Use a single capital font macro for a genuine single argument.
  The output is unchanged.

2) Remove quotation marks (") around a single argument.
  The output is unchanged.

3) Change ".IR ab()" to ".IR ab ()"
  A font is changed in the output.

mtk: I verified that the output is unchanged (other than fonts)
by comparing the output of:

    for a in *.1; do man $a >> out.txt; done

before and after the patch.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agold.so.8: Bump timestamp for David Newall's review of --preload text
Michael Kerrisk [Wed, 27 Feb 2019 07:22:30 +0000 (08:22 +0100)] 
ld.so.8: Bump timestamp for David Newall's review of --preload text

Reviewed-by: David Newall <glibc@davidnewall.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agostat.2: tfix
Michael Kerrisk [Wed, 27 Feb 2019 07:20:46 +0000 (08:20 +0100)] 
stat.2: tfix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agomsgctl.2, semctl.2, shmctl.2: Add kernel version for *_STAT_ANY operation
Michael Kerrisk [Tue, 26 Feb 2019 20:03:53 +0000 (21:03 +0100)] 
msgctl.2, semctl.2, shmctl.2: Add kernel version for *_STAT_ANY operation

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoseccomp.2: (Briefly) document SECCOMP_FILTER_FLAG_SPEC_ALLOW
Michael Kerrisk [Tue, 26 Feb 2019 20:01:32 +0000 (21:01 +0100)] 
seccomp.2: (Briefly) document SECCOMP_FILTER_FLAG_SPEC_ALLOW

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofanotify_init.2: Add a little more detail on FAN_REPORT_TID
Michael Kerrisk [Tue, 26 Feb 2019 16:25:36 +0000 (17:25 +0100)] 
fanotify_init.2: Add a little more detail on FAN_REPORT_TID

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofanotify_init.2: Minor tweaks to Amir Goldstein's patch
Michael Kerrisk [Tue, 26 Feb 2019 16:25:14 +0000 (17:25 +0100)] 
fanotify_init.2: Minor tweaks to Amir Goldstein's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofanotify_init.2, fanotify.7: Document FAN_REPORT_TID
nixiaoming [Sat, 17 Nov 2018 16:32:10 +0000 (18:32 +0200)] 
fanotify_init.2, fanotify.7: Document FAN_REPORT_TID

fanotify_init.2: add new flag FAN_REPORT_TID
fanotify.7: update description of member pid in
    struct fanotify_event_metadata

Signed-off-by: nixiaoming <nixiaoming@huawei.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofanotify_mark.2, fanotify.7: Minor tweaks to Amir Goldstein's patch
Michael Kerrisk [Tue, 26 Feb 2019 16:19:08 +0000 (17:19 +0100)] 
fanotify_mark.2, fanotify.7: Minor tweaks to Amir Goldstein's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofanotify_mark.2, fanotify.7: Document FAN_MARK_FILESYSTEM
Amir Goldstein [Sat, 17 Nov 2018 16:32:09 +0000 (18:32 +0200)] 
fanotify_mark.2, fanotify.7: Document FAN_MARK_FILESYSTEM

Monitor fanotify events on the entire filesystem.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofanotify_mark.2, fanotify.7: Minor tweaks to Matthew Bobrowski's patch
Michael Kerrisk [Tue, 26 Feb 2019 15:35:57 +0000 (16:35 +0100)] 
fanotify_mark.2, fanotify.7: Minor tweaks to Matthew Bobrowski's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofanotify_mark.2, fanotify.7: Document FAN_OPEN_EXEC and FAN_OPEN_EXEC_PERM
Matthew Bobrowski [Sat, 12 Jan 2019 01:56:15 +0000 (12:56 +1100)] 
fanotify_mark.2, fanotify.7: Document FAN_OPEN_EXEC and FAN_OPEN_EXEC_PERM

New event masks have been added to the fanotify API. Documentation to
support the use and behaviour of these new masks has been added
accordingly.

Signed-off-by: Matthew Bobrowski <mbobrowski@mbobrowski.org>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoinotify.7: Minor tweaks
Michael Kerrisk [Tue, 26 Feb 2019 15:36:15 +0000 (16:36 +0100)] 
inotify.7: Minor tweaks

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoinotify_add_watch.2: Minor fixes to Henry Wilson's patch
Michael Kerrisk [Tue, 26 Feb 2019 14:43:25 +0000 (15:43 +0100)] 
inotify_add_watch.2: Minor fixes to Henry Wilson's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoinotify_add_watch.2: Note errors that can occur for IN_MASK_CREATE
Henry Wilson [Thu, 31 May 2018 15:16:29 +0000 (15:16 +0000)] 
inotify_add_watch.2: Note errors that can occur for IN_MASK_CREATE

Note EEXIST error that occurs when requesting a watch on a path
which is already watched with IN_MASK_CREATE.

Note EINVAL error also occurs when requesting a watch specifying
both IN_MASK_CREATE and IN_MASK_ADD.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoinotify.7: Minor fixes to Henry Wilson's patch
Michael Kerrisk [Tue, 26 Feb 2019 14:45:07 +0000 (15:45 +0100)] 
inotify.7: Minor fixes to Henry Wilson's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoinotify.7: Document IN_MASK_CREATE
Henry Wilson [Thu, 31 May 2018 15:16:28 +0000 (15:16 +0000)] 
inotify.7: Document IN_MASK_CREATE

Add documentation for new flag IN_MASK_CREATE for inotify_add_watch()
which is used to only allow new watches to be created.

Information obtained from a patch I submitted to the linux kernel
https://marc.info/?l=linux-fsdevel&m=152775980422847&w=2

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocgroups.7: Document the use of 'cgroup_no_v1=named' to disable v1 named hierarchies
Michael Kerrisk [Tue, 26 Feb 2019 12:51:50 +0000 (13:51 +0100)] 
cgroups.7: Document the use of 'cgroup_no_v1=named' to disable v1 named hierarchies

This feature was added in Linux 5.0.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agold.so.8: Bump timestamp to note Florian's review of --preload option
Michael Kerrisk [Tue, 26 Feb 2019 12:10:17 +0000 (13:10 +0100)] 
ld.so.8: Bump timestamp to note Florian's review of --preload option

Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoexec.3: execv(3) does not use execv(2) on sparc/sparc64
Michael Kerrisk [Tue, 26 Feb 2019 12:07:59 +0000 (13:07 +0100)] 
exec.3: execv(3) does not use execv(2) on sparc/sparc64

Reported-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agold.so.8: Document the --preload command-line option added in glibc 2.30
Michael Kerrisk [Tue, 26 Feb 2019 11:46:47 +0000 (12:46 +0100)] 
ld.so.8: Document the --preload command-line option added in glibc 2.30

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agold.so.8: Place OPTIONS in alphabetical order
Michael Kerrisk [Tue, 26 Feb 2019 11:18:38 +0000 (12:18 +0100)] 
ld.so.8: Place OPTIONS in alphabetical order

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agold.so.8: LD_PRELOAD-ed objects are added to link map in left-to-right order
Michael Kerrisk [Tue, 26 Feb 2019 11:13:23 +0000 (12:13 +0100)] 
ld.so.8: LD_PRELOAD-ed objects are added to link map in left-to-right order

Remove any doubt, in case the reader might wrongly think that
objects are added in reverse order (which would mean that the
last listed object would be added at the front of the link map).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agold.so.8: Minor rewording of LD_PRELOAD description, to ease readability
Michael Kerrisk [Tue, 26 Feb 2019 11:11:48 +0000 (12:11 +0100)] 
ld.so.8: Minor rewording of LD_PRELOAD description, to ease readability

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agold.so.8: Note delimiters for 'list' in --audit and --inhibit-rpath
Michael Kerrisk [Tue, 26 Feb 2019 10:06:24 +0000 (11:06 +0100)] 
ld.so.8: Note delimiters for 'list' in --audit and --inhibit-rpath

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agodes_crypt.3, encrypt.3: The functions described in these pages are removed in glibc...
Michael Kerrisk [Tue, 26 Feb 2019 09:28:24 +0000 (10:28 +0100)] 
des_crypt.3, encrypt.3: The functions described in these pages are removed in glibc 2.28

These functions were removed because they use DES, which is no
longer considered secure.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agonfsservctl.2: Add VERSIONS section noting that this system call no longer exists
Michael Kerrisk [Tue, 26 Feb 2019 09:14:33 +0000 (10:14 +0100)] 
nfsservctl.2: Add VERSIONS section noting that this system call no longer exists

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoustat.2: Starting with version 2.28, glibc no longer provides a wrapper function
Michael Kerrisk [Tue, 26 Feb 2019 09:12:18 +0000 (10:12 +0100)] 
ustat.2: Starting with version 2.28, glibc no longer provides a wrapper function

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoisatty.3: srcfix
Michael Kerrisk [Tue, 26 Feb 2019 08:24:42 +0000 (09:24 +0100)] 
isatty.3: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agogetcpu.2: Note version where glibc wrapper was added
Michael Kerrisk [Mon, 25 Feb 2019 15:42:56 +0000 (16:42 +0100)] 
getcpu.2: Note version where glibc wrapper was added

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agogetcpu.2: getcpu() now has a glibc wrapper; remove mention of syscall(2)
Tobias Klauser [Wed, 6 Feb 2019 08:07:53 +0000 (09:07 +0100)] 
getcpu.2: getcpu() now has a glibc wrapper; remove mention of syscall(2)

The glibc wrapper was added in glibc 2.29, release on 1 Feb 2019.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agobpf.2: Fix bug in example
Oded Elisha [Sat, 9 Feb 2019 17:32:24 +0000 (19:32 +0200)] 
bpf.2: Fix bug in example

mtk: checked also against examples in samples/bpf
in kernel source to confirm.

Signed-off-by: Oded Elisha <oded123456@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofsync.2: fix
Michael Kerrisk [Mon, 25 Feb 2019 15:05:40 +0000 (16:05 +0100)] 
fsync.2: fix

Reported-by: ruschein <ruschein@protonmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosched_setaffinity.2: tfix in example shell session (s/grep/egrep)
Michael Kerrisk [Mon, 25 Feb 2019 15:01:28 +0000 (16:01 +0100)] 
sched_setaffinity.2: tfix in example shell session (s/grep/egrep)

Reported-by: Bernd Petrovitsch <bernd@petrovitsch.priv.at>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agommap.2: Fix description of treatment of the hint
Jann Horn [Thu, 14 Feb 2019 16:18:36 +0000 (17:18 +0100)] 
mmap.2: Fix description of treatment of the hint

The current manpage reads to me as if the kernel will always pick
a free space close to the requested address, but that's not the
case:

mmap(0x600000000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x600000000000
mmap(0x600000000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x7f5042859000

You can also see this in the various implementations of
->get_unmapped_area() - if the specified address isn't available,
the kernel basically ignores the hint (apart from the 5level
paging hack).

Clarify how this works a bit.

Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agostat.2: SEE ALSO: add statx(2)
Benjamin Peterson [Mon, 18 Feb 2019 20:07:49 +0000 (12:07 -0800)] 
stat.2: SEE ALSO: add statx(2)

Signed-off-by: Benjamin Peterson <benjamin@python.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agomlock.2: tfix
Jakub Wilk [Tue, 19 Feb 2019 15:25:51 +0000 (16:25 +0100)] 
mlock.2: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoisatty.3: Most non-tty files nowadays result in the error ENOTTY
Michael Kerrisk [Mon, 25 Feb 2019 14:39:59 +0000 (15:39 +0100)] 
isatty.3: Most non-tty files nowadays result in the error ENOTTY

Historically, at least FIFOs and pipes yielded the error EINVAL.

Reported-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agogetrlimit.2: Correct information about large limits on 32-bit architectures
Eugene Syromyatnikov [Wed, 19 Sep 2018 17:12:22 +0000 (19:12 +0200)] 
getrlimit.2: Correct information about large limits on 32-bit architectures

Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosyscalls.2: Comment out details of a few system calls that only ever briefly existed
Michael Kerrisk [Mon, 25 Feb 2019 13:22:12 +0000 (14:22 +0100)] 
syscalls.2: Comment out details of a few system calls that only ever briefly existed

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosyscalls.2: Various edits of Eugene Syromyatnikov's patch
Michael Kerrisk [Mon, 25 Feb 2019 13:20:06 +0000 (14:20 +0100)] 
syscalls.2: Various edits of Eugene Syromyatnikov's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosyscalls.2: Update syscall table
Eugene Syromyatnikov [Mon, 25 Feb 2019 12:27:14 +0000 (13:27 +0100)] 
syscalls.2: Update syscall table

Added: arc_gettls, arc_settls, arc_usr_cmpxchg, arch_prctl,
atomic_barrier, atomic_cmpxchg_32, bfin_spinlock, breakpoint,
clone2, cmpxchg, cmpxchg_badaddr, dma_memcpy, execv, get_tls,
getdomainname, getdtablesize, gethostname, getxgid, getxpid,
getxuid, metag_get_tls, metag_set_fpu_flags,metag_set_tls,
metag_set_global_bit, newfstatat, old_adjtimex, oldumount,
or1k_atomic, pread, pwrite, riscv_flush_icache,
sched_get_affinity, sched_set_affinity, set_tls, setaltroot,
sethae, setpgrp, spill, sram_alloc, sram_free, swapcontext,
switch_endian, sys_debug_setcontext, syscall, sysmips, timerfd,
usr26, usr32, xtensa.

Uncommented: memory_ordering

Renamed: ppc_rtas to rtas (__NR_rtas), ppc_swapcontext to
swapcontext (__NR_swacontext).

Typo: s/remaed/renamed to/

Other: s/ia64/IA-64/, s/Sparc/SPARC/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoexec.3: Note that SPARCC provides an execv() system call
Michael Kerrisk [Mon, 25 Feb 2019 11:52:33 +0000 (12:52 +0100)] 
exec.3: Note that SPARCC provides an execv() system call

Reported-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosocket.2: Remove notes concerning AF_ALG and AF_XDP
Nikola Forró [Fri, 22 Feb 2019 16:14:14 +0000 (17:14 +0100)] 
socket.2: Remove notes concerning AF_ALG and AF_XDP

All address families are now documented in address_families.7,
which is already present in SEE ALSO section. Also, the AF_ALG
note contains dead link to kernel HTML documentation.

Signed-off-by: Nikola Forró <nforro@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofilesystems.5: Minor wording fixes
Michael Kerrisk [Mon, 25 Feb 2019 10:22:43 +0000 (11:22 +0100)] 
filesystems.5: Minor wording fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofilesystems.5: Minor tweaks to Eugene Syromyatnikov's patch
Michael Kerrisk [Mon, 25 Feb 2019 10:21:52 +0000 (11:21 +0100)] 
filesystems.5: Minor tweaks to Eugene Syromyatnikov's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofilesystems.5: Mention sysfs(2)
Eugene Syromyatnikov [Fri, 22 Feb 2019 16:26:23 +0000 (17:26 +0100)] 
filesystems.5: Mention sysfs(2)

* man5/filesystems.5 (.SH DESCRIPTION): Add a note that the
  information about available file systems can be obtained
  via sysfs() syscall.

Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoaddress_families.7: tfix
Eugene Syromyatnikov [Fri, 22 Feb 2019 16:26:21 +0000 (17:26 +0100)] 
address_families.7: tfix

Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosocket.2: Reinstate AF_VSOCK mention
Eugene Syromyatnikov [Fri, 22 Feb 2019 16:26:16 +0000 (17:26 +0100)] 
socket.2: Reinstate AF_VSOCK mention

It has its own man page, so it probably makes sense to mention
it here.

* man2/socket.2 (.SH DESCRIPTION): Add mention of AF_VSOCK back.

Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosocket.2: tfix
Eugene Syromyatnikov [Fri, 22 Feb 2019 16:26:13 +0000 (17:26 +0100)] 
socket.2: tfix

Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosocket.2, address_families.7: Mention that address family names are Linux-specific
Eugene Syromyatnikov [Fri, 22 Feb 2019 16:26:11 +0000 (17:26 +0100)] 
socket.2, address_families.7: Mention that address family names are Linux-specific

* man2/socket.2 (.SH DESCRIPTION): Mention that the list of
  address families is Linux-specific.
* man7/address_families.7 (.SH DESCRIPTION): Likewise.

Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>