]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
5 years agommap.2: tfix
Michael Kerrisk [Thu, 25 Jun 2020 06:10:21 +0000 (08:10 +0200)] 
mmap.2: tfix

Reported-by: Bruno Haible <bruno@clisp.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocapabilities.7: Clarify that CAP_SYS_NICE relates to *lowering* the nice value
Dan Kenigsberg [Wed, 24 Jun 2020 11:43:06 +0000 (13:43 +0200)] 
capabilities.7: Clarify that CAP_SYS_NICE relates to *lowering* the nice value

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agostandards.7: Add an entry for POSIX.1-1988
Michael Kerrisk [Wed, 24 Jun 2020 11:20:45 +0000 (13:20 +0200)] 
standards.7: Add an entry for POSIX.1-1988

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agostandards.7: Correct various details in the explanation of XPG/POSIX/SUS
Michael Kerrisk [Wed, 24 Jun 2020 11:06:26 +0000 (13:06 +0200)] 
standards.7: Correct various details in the explanation of XPG/POSIX/SUS

As reported by mail from Geoff Clare, there are some details that
need correcting:

Subject: standards(7) (was: man-pages-5.07 released)
Date: Wed, 10 Jun 2020 10:53:14 +0100
From: Geoff Clare <gwc@opengroup.org>

...

The first isn't really a problem, just an oddity. You list
POSIX.1b as "formerly known as POSIX.4", but you don't do the
equivalent for POSIX.1c ("formerly known as POSIX.4a").

There are several problems with the XPG3 entry:

    "first significant release" - although I suppose XPG3 could
    be considered more significant than XPG2 because it was the
    first one to incorporate POSIX.1, I don't think it's fair to
    imply that XPG2 was not significant.  (E.g. XPG2 was
    significant in that it was the first release to include
    I18N, and the first that had a conformance test suite.)

    "produced by the X/Open Company, a multivendor consortium" -
    this conflates two different things called X/Open. X/Open
    Company Limited is the UK company that did the editing work,
    organised meetings, etc. X/Open Group is the consortium
    whose members developed the technical content.

    "This multivolume guide was based on the POSIX standards" -
    at the time there was only one POSIX standard, namely
    POSIX.1-1988.  The first release to incorporate POSIX.2 was
    XPG4 (which you may consider worth noting in the XPG4
    entry).

To fix these problems I would suggest changing the entry to:

XPG3  Released in 1989, this was the first release of the X/Open
      Portability Guide to be based on a POSIX standard
      (POSIX.1-1988).  This multivolume guide was developed by the
      X/Open Group, a multivendor consortium.

Under SUSv2 I would suggest changing:

    Sometimes also referred to as XPG5.

to:

    Sometimes also referred to (incorrectly) as XPG5.

Under POSIX.1-2001, SUSv3: "XSI conformance constitutes the Single
UNIX Specification version 3 (SUSv3)" is problematic.  I think I
touched on this in the previous discussion. I would suggest
deleting that sentence and instead inserting, before "Two
Technical Corrigenda ...", the following:

    The Single UNIX Specification version 3 (SUSv3) comprises the
    Base Specifications containing XBD, XSH, XCU and XRAT as
    above, plus X/Open Curses Issue 4 version 2 as an extra volume
    that is not in POSIX.1-2001.

Something similar is needed in the POSIX.1-2008, SUSv4 entry where
it talks about "the same four parts". The extra volume this time
is X/Open Curses Issue 7.
]]

Cowritten-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocapabilities.7: srcfix
Michael Kerrisk [Wed, 24 Jun 2020 10:02:18 +0000 (12:02 +0200)] 
capabilities.7: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocapabilities.7: tfix
Michael Kerrisk [Wed, 24 Jun 2020 10:01:06 +0000 (12:01 +0200)] 
capabilities.7: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocapabilities.7: Clarify wording around increasing process nice value
Michael Kerrisk [Wed, 24 Jun 2020 09:59:49 +0000 (11:59 +0200)] 
capabilities.7: Clarify wording around increasing process nice value

The fact that a more negative nice value means higher
priority is a continuing source of confusion.

Reported-by: Dan Kenigsberg <danken@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agozic.8: ffix
Michael Kerrisk [Mon, 27 Apr 2020 05:26:47 +0000 (07:26 +0200)] 
zic.8: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agozic.8: Sync to 2020a tzdb release
Michael Kerrisk [Mon, 27 Apr 2020 05:24:29 +0000 (07:24 +0200)] 
zic.8: Sync to 2020a tzdb release

From https://www.iana.org/time-zones, version 2020a.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosysctl.2: glibc removed support for sysctl() starting in version 2.32
Michael Kerrisk [Tue, 23 Jun 2020 19:26:51 +0000 (21:26 +0200)] 
sysctl.2: glibc removed support for sysctl() starting in version 2.32

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoconnect.2, pidfd_send_signal.2, ptrace.2, socket.7: ffix
Michael Kerrisk [Sun, 21 Jun 2020 07:26:30 +0000 (09:26 +0200)] 
connect.2, pidfd_send_signal.2, ptrace.2, socket.7: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman3/*: srcfix: fix warnings from "mandoc -Tlint"
Bjarni Ingi Gislason [Sat, 20 Jun 2020 20:43:49 +0000 (20:43 +0000)] 
man3/*: srcfix: fix warnings from "mandoc -Tlint"

Remove superfluous paragraph macros.

Remove request ".br" if it precedes a line, that begins with a
space, as such lines automatically cause a break.

There is no change in the output from "nroff" and "groff".

###

Examples of warnings from "mandoc -Tlint":

mandoc: bindresvport.3:41:2: WARNING: skipping paragraph macro: PP after SH

mandoc: crypt.3:228:2: WARNING: skipping paragraph macro: PP empty

mandoc: dlinfo.3:151:2: WARNING: skipping paragraph macro: IP empty

mandoc: exec.3:86:2: WARNING: skipping paragraph macro: PP after SS

mandoc: getsubopt.3:45:2: WARNING: skipping paragraph macro: br before text line with leading blank

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman2/*: srcfix: fix warnings from "mandoc -Tlint"
Bjarni Ingi Gislason [Sat, 20 Jun 2020 19:29:31 +0000 (19:29 +0000)] 
man2/*: srcfix: fix warnings from "mandoc -Tlint"

  Remove superfluous paragraph macros.

  Remove ".br" if it is before a line that starts with a space
character, as such lines automatically cause a break.

###

  The output is unchanged, except two empty lines are added at the
bottom (before the footer line) in the output of "nroff" for the files
"alloc_hugepages.2" and "userfaultfd.2".

###

  Examples of warnings from "mandoc -Tlint":

mandoc: access.2:283:2: WARNING: skipping paragraph macro: PP after SH

mandoc: adjtimex.2:185:2: WARNING: skipping paragraph macro: PP empty

mandoc: futex.2:728:2: WARNING: skipping paragraph macro: IP empty

mandoc: getsid.2:48:2: WARNING: skipping paragraph macro: br before text line with leading blank

mandoc: init_module.2:290:2: WARNING: skipping paragraph macro: PP after SS

mandoc: ioctl_fideduperange.2:27:2: WARNING: skipping paragraph macro: br after SH

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman7/*: srcfix: trim trailing space
Bjarni Ingi Gislason [Sat, 20 Jun 2020 17:06:40 +0000 (17:06 +0000)] 
man7/*: srcfix: trim trailing space

  Trim tailing space in "strings".

  There is no change in the output from "nroff" and "groff".

###

Output is from: test-groff -b -mandoc -T utf8 -rF0 -t -w w -z

  [ "test-groff" is a developmental version of "groff" ]

troff: <attributes.7>:510: warning: trailing space
troff: <attributes.7>:512: warning: trailing space
troff: <attributes.7>:513: warning: trailing space
troff: <attributes.7>:516: warning: trailing space
troff: <attributes.7>:649: warning: trailing space
troff: <attributes.7>:681: warning: trailing space
troff: <attributes.7>:720: warning: trailing space
####

troff: <environ.7>:181: warning: trailing space
troff: <environ.7>:182: warning: trailing space
####

troff: <ip.7>:820: warning: trailing space
####

troff: <signal.7>:316: warning: trailing space
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
####

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoproc.5: srcfix: trim trailing space
Bjarni Ingi Gislason [Sat, 20 Jun 2020 16:03:38 +0000 (16:03 +0000)] 
proc.5: srcfix: trim trailing space

Output is from: test-groff -b -mandoc -T utf8 -rF0 -t -w w -z

  [ "test-groff" is a developmental version of "groff" ]

Input file is ./proc.5

troff: <proc.5>:4410: warning: trailing space
troff: <proc.5>:5206: warning: trailing space
troff: <proc.5>:5488: warning: trailing space

###

  There is no change in the output from "nroff" and "groff".

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman4/*: srcfix: remove trailing space in "strings"
Bjarni Ingi Gislason [Sat, 20 Jun 2020 15:39:48 +0000 (15:39 +0000)] 
man4/*: srcfix: remove trailing space in "strings"

Trim trailing space.

There is no change in the output from "nroff" and "groff".

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofstatvfs.2, getcontext.2, getcwd.2, gethostid.2, killpg.2, mq_notify.2, mq_open.2...
Michael Kerrisk [Sat, 20 Jun 2020 07:24:32 +0000 (09:24 +0200)] 
fstatvfs.2, getcontext.2, getcwd.2, gethostid.2, killpg.2, mq_notify.2, mq_open.2, mq_timedreceive.2, mq_timedsend.2, mq_unlink.2, setcontext.2, sethostid.2, statvfs.2: Remove historical .so links

These links were mostly created when pages were moved between
sections, in almost every case several years ago. The idea
was to allow people time to get used to the new section numbers
while still having commands of the form "man <sec> <page>"
work as before. Let's assume that people have now had time to
get used to the new section numbers, and remove these links.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agogetdtablesize.2, sigqueue.2, clock_getres.3, clock_gettime.3, clock_settime.3, attr...
Michael Kerrisk [Fri, 19 Jun 2020 18:50:47 +0000 (20:50 +0200)] 
getdtablesize.2, sigqueue.2, clock_getres.3, clock_gettime.3, clock_settime.3, attr.5, numa_maps.5: Remove old links

These are all links that were created several years ago, mainly
when pages were migrated to different sections, in order to
allow the 'man' commands using the old section numbers to work.
However, the plan was always to eventually remove them, after
allowing people who cared to get used to the new section numbers.
Now, after 5+ years in each case, it's time to remove
these links.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosymlink.7: Minor fixes to Aleksa Sarai's patch
Michael Kerrisk [Fri, 19 Jun 2020 12:54:27 +0000 (14:54 +0200)] 
symlink.7: Minor fixes to Aleksa Sarai's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosymlink.7: Document magic links more completely
Aleksa Sarai [Wed, 10 Jun 2020 05:53:19 +0000 (15:53 +1000)] 
symlink.7: Document magic links more completely

Traditionally, magic links have not been a well-understood topic
in Linux. This helps clarify some of the terminology used in
openat2.2.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agokeyctl.2: Declare auth_key
Oleksandr Kravchuk [Fri, 12 Jun 2020 15:35:33 +0000 (17:35 +0200)] 
keyctl.2: Declare auth_key

The variable is used in the code example, but not declared,
leading to a compilation error.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofread.3: srcfix: remove crufty line
Michael Kerrisk [Fri, 19 Jun 2020 12:38:11 +0000 (14:38 +0200)] 
fread.3: srcfix: remove crufty line

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofread.3: Add example
Arkadiusz Drabczyk [Thu, 18 Jun 2020 14:22:32 +0000 (16:22 +0200)] 
fread.3: Add example

Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofread.3: Explain that file position is moved after calling fread()/fwrite()
Arkadiusz Drabczyk [Tue, 16 Jun 2020 22:15:20 +0000 (00:15 +0200)] 
fread.3: Explain that file position is moved after calling fread()/fwrite()

Corresponding manpage on FreeBSD already contains that
information.

Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoatoi.3: Minor tweaks to Arkadiusz Drabczyk's patch
Michael Kerrisk [Fri, 19 Jun 2020 12:23:38 +0000 (14:23 +0200)] 
atoi.3: Minor tweaks to Arkadiusz Drabczyk's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoatoi.3: Relocate BUGS section
Michael Kerrisk [Fri, 19 Jun 2020 12:22:18 +0000 (14:22 +0200)] 
atoi.3: Relocate BUGS section

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoatoi.3: Add NOTES section explaining 0 return value on error
Michael Kerrisk [Fri, 19 Jun 2020 12:19:27 +0000 (14:19 +0200)] 
atoi.3: Add NOTES section explaining 0 return value on error

And note that this is not specified by POSIX.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoatoi.3: Explain disadvantages of atoi()
Arkadiusz Drabczyk [Thu, 18 Jun 2020 20:42:41 +0000 (22:42 +0200)] 
atoi.3: Explain disadvantages of atoi()

I believe new users should be discouraged from using atoi() and
that its disadvantages should be explained.

I added the information that 0 is returned on error - although C
standard and POSIX say that "If the value of the result cannot be
represented, the behavior is undefined." there are some
interpretations that 0 has to be returned
https://stackoverflow.com/questions/38393162/what-can-i-assume-about-the-behaviour-of-atoi-on-error
and this is also what happens in practice with glibc, musl and
uClibc.

Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoproc.5: Inform that comm in /proc/pid/{stat,status} might also be truncated
Arkadiusz Drabczyk [Wed, 17 Jun 2020 20:51:25 +0000 (22:51 +0200)] 
proc.5: Inform that comm in /proc/pid/{stat,status} might also be truncated

pgrep for example searches for a process name in /proc/pid/status
and therefore cannot find processes whose names are longer than 15
characters unless -f is specified.

Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman-pages.7: wfix
Jakub Wilk [Thu, 18 Jun 2020 21:26:49 +0000 (23:26 +0200)] 
man-pages.7: wfix

Reorder full wordings to match the order of abbreviations.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosetns.2: ERRORS: add ESRCH for PID FD that refers to a terminated process
Michael Kerrisk [Mon, 15 Jun 2020 20:41:49 +0000 (22:41 +0200)] 
setns.2: ERRORS: add ESRCH for PID FD that refers to a terminated process

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosetns.2: Minor wording fixes
Michael Kerrisk [Mon, 15 Jun 2020 20:16:32 +0000 (22:16 +0200)] 
setns.2: Minor wording fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosetns.2: wfix
Michael Kerrisk [Mon, 15 Jun 2020 20:12:42 +0000 (22:12 +0200)] 
setns.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosetns.2: Minor tweak
Michael Kerrisk [Mon, 15 Jun 2020 14:32:52 +0000 (16:32 +0200)] 
setns.2: Minor tweak

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosetns.2: Document the use of PID file descriptors with setns()
Michael Kerrisk [Mon, 15 Jun 2020 14:23:49 +0000 (16:23 +0200)] 
setns.2: Document the use of PID file descriptors with setns()

Starting with Linux 5.8, setns() can take a PID file descriptor as
an argument, and move the caller into or more of the namespaces of
the thread referred to by that descriptor.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agopidfd_open.2: Add the setns(2) use case for PID file descriptors
Michael Kerrisk [Mon, 15 Jun 2020 13:04:16 +0000 (15:04 +0200)] 
pidfd_open.2: Add the setns(2) use case for PID file descriptors

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agopidfd_open.2: ffix
Michael Kerrisk [Mon, 15 Jun 2020 13:02:05 +0000 (15:02 +0200)] 
pidfd_open.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosetns.2: It is possible to setns() to the caller's current PID namespace
Michael Kerrisk [Mon, 15 Jun 2020 10:01:31 +0000 (12:01 +0200)] 
setns.2: It is possible to setns() to the caller's current PID namespace

The page currently incorrectly says that 'fd' must refer to
a descendant PID namespace. However, 'fd' can also refer to
the caller's current PID namespace. Verified by experiment,
and also comments in kernel/pid_namespace.c (Linux 5.8-rc1).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoVarious pages: srcfix: trim a trailing space
Bjarni Ingi Gislason [Fri, 12 Jun 2020 19:57:42 +0000 (19:57 +0000)] 
Various pages: srcfix: trim a trailing space

Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z

  [ "test-groff" is a developmental version of "groff" ]

  There is no change in the output of "nroff" and "groff".

####

troff: <fts.3>:50: warning: trailing space
####

troff: <getgrnam.3>:175: warning: trailing space
####

troff: <getpwnam.3>:181: warning: trailing space
####

troff: <rcmd.3>:52: warning: trailing space
troff: <rcmd.3>:57: warning: trailing space
troff: <rcmd.3>:60: warning: trailing space
troff: <rcmd.3>:63: warning: trailing space
troff: <rcmd.3>:69: warning: trailing space
troff: <rcmd.3>:73: warning: trailing space
####

troff: <rexec.3>:48: warning: trailing space
troff: <rexec.3>:51: warning: trailing space
####

troff: <sem_open.3>:36: warning: trailing space

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoopenat2.2: ffix
Michael Kerrisk [Fri, 12 Jun 2020 19:54:55 +0000 (21:54 +0200)] 
openat2.2: ffix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agopidfd_getfd.2: srcfix
Michael Kerrisk [Fri, 12 Jun 2020 19:47:21 +0000 (21:47 +0200)] 
pidfd_getfd.2: srcfix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agomadvise.2: tfix
Michael Kerrisk [Fri, 12 Jun 2020 19:46:21 +0000 (21:46 +0200)] 
madvise.2: tfix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agotimer_create.2, timerfd_create.2: tfix
Michael Kerrisk [Fri, 12 Jun 2020 19:44:55 +0000 (21:44 +0200)] 
timer_create.2, timerfd_create.2: tfix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agotimerfd_create.2: tfix
Michael Kerrisk [Fri, 12 Jun 2020 19:44:15 +0000 (21:44 +0200)] 
timerfd_create.2: tfix

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoman2/*: srcfix: trim trailing space
Bjarni Ingi Gislason [Fri, 12 Jun 2020 03:23:23 +0000 (03:23 +0000)] 
man2/*: srcfix: trim trailing space

  Remove superfluous space at the end of a processed input line.

  There is no change in the output from "nroff" and "groff".

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agotime.1: ffix: correct a three-fonts line in SYNOPSIS
Bjarni Ingi Gislason [Fri, 12 Jun 2020 02:22:31 +0000 (02:22 +0000)] 
time.1: ffix: correct a three-fonts line in SYNOPSIS

  The current version shows the square brackets, '[' and ']', in
boldface.

  Use the '\c' escape sequence (function) to join the output of two
macros.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocapabilities.7: Document CAP_BPF
Michael Kerrisk [Fri, 12 Jun 2020 10:15:02 +0000 (12:15 +0200)] 
capabilities.7: Document CAP_BPF

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocapabilities.7: srcfix
Michael Kerrisk [Fri, 12 Jun 2020 09:51:50 +0000 (11:51 +0200)] 
capabilities.7: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocapabilities.7: Add CAP_PERFMON
Michael Kerrisk [Fri, 12 Jun 2020 09:50:57 +0000 (11:50 +0200)] 
capabilities.7: Add CAP_PERFMON

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosyscalls.2: Add faccessat2(), added in Linux 5.8
Michael Kerrisk [Fri, 12 Jun 2020 09:15:10 +0000 (11:15 +0200)] 
syscalls.2: Add faccessat2(), added in Linux 5.8

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoaddress_families.7: srcfix
Michael Kerrisk [Thu, 11 Jun 2020 05:53:17 +0000 (07:53 +0200)] 
address_families.7: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agochroot.2, utimensat.2, vfork.2, getcwd.3, getdtablesize.3, ualarm.3, usleep.3, rtnetl...
Michael Kerrisk [Thu, 11 Jun 2020 05:52:18 +0000 (07:52 +0200)] 
chroot.2, utimensat.2, vfork.2, getcwd.3, getdtablesize.3, ualarm.3, usleep.3, rtnetlink.7: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agogetpagesize.2: ffix
Michael Kerrisk [Thu, 11 Jun 2020 05:47:23 +0000 (07:47 +0200)] 
getpagesize.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agodup.2, fallocate.2, futex.2, ioctl_fat.2, ioctl_ficlonerange.2, ioctl_fideduperange...
Michael Kerrisk [Thu, 11 Jun 2020 05:45:09 +0000 (07:45 +0200)] 
dup.2, fallocate.2, futex.2, ioctl_fat.2, ioctl_ficlonerange.2, ioctl_fideduperange.2, madvise.2, membarrier.2, mprotect.2, open.2, openat2.2, perf_event_open.2, perfmonctl.2, pipe.2, process_vm_readv.2, s390_pci_mmio_write.2, s390_runtime_instr.2, s390_sthyi.2, set_thread_area.2, sigprocmask.2, subpage_prot.2, unshare.2, cmsg.3, newlocale.3, pthread_setname_np.3, strfmon.3, strfromd.3, tsearch.3, tcp.7, ld.so.8: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agopthread_setconcurrency.3: ffix
Michael Kerrisk [Thu, 11 Jun 2020 05:42:26 +0000 (07:42 +0200)] 
pthread_setconcurrency.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoif_nameindex.3: ffix
Michael Kerrisk [Thu, 11 Jun 2020 05:41:35 +0000 (07:41 +0200)] 
if_nameindex.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoproc.5: srcfix
Michael Kerrisk [Thu, 11 Jun 2020 05:23:37 +0000 (07:23 +0200)] 
proc.5: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocgroups.7: ffix
Michael Kerrisk [Wed, 10 Jun 2020 10:06:41 +0000 (12:06 +0200)] 
cgroups.7: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocgroup_namespaces.7: ffix
Michael Kerrisk [Wed, 10 Jun 2020 10:04:48 +0000 (12:04 +0200)] 
cgroup_namespaces.7: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoproc.5: ffix
Michael Kerrisk [Wed, 10 Jun 2020 10:03:06 +0000 (12:03 +0200)] 
proc.5: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoprintf.3: ffix
Michael Kerrisk [Wed, 10 Jun 2020 09:57:30 +0000 (11:57 +0200)] 
printf.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosignal.2: ffix
Michael Kerrisk [Wed, 10 Jun 2020 09:55:22 +0000 (11:55 +0200)] 
signal.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoopen.2: ffix
Michael Kerrisk [Wed, 10 Jun 2020 09:53:47 +0000 (11:53 +0200)] 
open.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agobpf.2: ffix
Michael Kerrisk [Wed, 10 Jun 2020 09:52:31 +0000 (11:52 +0200)] 
bpf.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agogetdents.2: ffix
Michael Kerrisk [Wed, 10 Jun 2020 09:49:18 +0000 (11:49 +0200)] 
getdents.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agodup.2: ffix
Michael Kerrisk [Wed, 10 Jun 2020 09:48:44 +0000 (11:48 +0200)] 
dup.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoproc.5: ffix
Michael Kerrisk [Wed, 10 Jun 2020 09:45:21 +0000 (11:45 +0200)] 
proc.5: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocapabilities.7: SEE ALSO: add getpcaps(8)
Michael Kerrisk [Wed, 10 Jun 2020 06:00:46 +0000 (08:00 +0200)] 
capabilities.7: SEE ALSO: add getpcaps(8)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoprctl.2: wfix
Michael Kerrisk [Tue, 9 Jun 2020 18:09:48 +0000 (20:09 +0200)] 
prctl.2: wfix

Reported-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoChanges.old: Fixes to 5.07 change log
Michael Kerrisk [Tue, 9 Jun 2020 17:21:31 +0000 (19:21 +0200)] 
Changes.old: Fixes to 5.07 change log

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoStart of man-pages-5.08: updating Changes and Changes.old
Michael Kerrisk [Tue, 9 Jun 2020 12:47:23 +0000 (14:47 +0200)] 
Start of man-pages-5.08: updating Changes and Changes.old

5 years agoStart of man-pages-5.08: updating .Announce and .lsm files
Michael Kerrisk [Tue, 9 Jun 2020 12:47:23 +0000 (14:47 +0200)] 
Start of man-pages-5.08: updating .Announce and .lsm files

5 years agoStart of man-pages-5.08: renaming .Announce and .lsm files
Michael Kerrisk [Tue, 9 Jun 2020 12:47:23 +0000 (14:47 +0200)] 
Start of man-pages-5.08: renaming .Announce and .lsm files

5 years agoReady for 5.07
Michael Kerrisk [Tue, 9 Jun 2020 12:45:54 +0000 (14:45 +0200)] 
Ready for 5.07

5 years agoChanges: whitespace cleanups
Michael Kerrisk [Tue, 9 Jun 2020 12:45:44 +0000 (14:45 +0200)] 
Changes: whitespace cleanups

5 years agoiconv.1, locale.1, memusage.1, memusagestat.1, pldd.1, sprof.1, _syscall.2, add_key...
Michael Kerrisk [Tue, 9 Jun 2020 12:43:54 +0000 (14:43 +0200)] 
iconv.1, locale.1, memusage.1, memusagestat.1, pldd.1, sprof.1, _syscall.2, add_key.2, adjtimex.2, bind.2, bpf.2, chown.2, clone.2, close.2, copy_file_range.2, eventfd.2, fanotify_init.2, fanotify_mark.2, fork.2, fsync.2, futex.2, getdents.2, getrlimit.2, getxattr.2, io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, ioctl_fat.2, ioctl_getfsmap.2, ioctl_ns.2, ioctl_tty.2, ioctl_userfaultfd.2, kcmp.2, keyctl.2, listen.2, listxattr.2, mbind.2, membarrier.2, memfd_create.2, mkdir.2, move_pages.2, mremap.2, msync.2, nfsservctl.2, open.2, perf_event_open.2, pidfd_send_signal.2, pipe.2, pivot_root.2, pkey_alloc.2, process_vm_readv.2, ptrace.2, readlink.2, readv.2, recv.2, recvmmsg.2, rename.2, request_key.2, s390_runtime_instr.2, sched_setaffinity.2, seccomp.2, send.2, sendmmsg.2, sigaltstack.2, signalfd.2, socket.2, socketpair.2, splice.2, spu_create.2, spu_run.2, statfs.2, syscall.2, sysctl.2, sysfs.2, tee.2, timer_getoverrun.2, timer_settime.2, umount.2, userfaultfd.2, utimensat.2, wait4.2, INFINITY.3, __ppc_get_timebase.3, __setfpucw.3, abort.3, aio_cancel.3, aio_error.3, aio_read.3, aio_return.3, atexit.3, backtrace.3, basename.3, bsearch.3, bswap.3, cacos.3, cacosh.3, catan.3, catanh.3, cexp2.3, clock_getcpuclockid.3, clog2.3, cmsg.3, confstr.3, div.3, dl_iterate_phdr.3, dlerror.3, dlinfo.3, dlopen.3, dlsym.3, duplocale.3, encrypt.3, end.3, endian.3, envz_add.3, err.3, expm1.3, fdim.3, flockfile.3, fmtmsg.3, frexp.3, ftw.3, get_nprocs_conf.3, get_phys_pages.3, getaddrinfo_a.3, getauxval.3, getdate.3, getdtablesize.3, getgrent_r.3, getgrouplist.3, gethostbyname.3, getline.3, getnameinfo.3, getopt.3, getprotoent_r.3, getpwent_r.3, getpwnam.3, getservent_r.3, getsubopt.3, getutent.3, glob.3, gnu_get_libc_version.3, hsearch.3, if_nameindex.3, inet.3, inet_net_pton.3, inet_ntop.3, inet_pton.3, insque.3, killpg.3, makecontext.3, mallinfo.3, malloc.3, malloc_hook.3, malloc_info.3, mallopt.3, matherr.3, mbsnrtowcs.3, mbstowcs.3, mcheck.3, mempcpy.3, mq_getattr.3, mq_notify.3, mtrace.3, newlocale.3, nextafter.3, ntp_gettime.3, offsetof.3, open_memstream.3, pow.3, printf.3, pthread_attr_init.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setstack.3, pthread_attr_setstacksize.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_create.3, pthread_detach.3, pthread_getattr_default_np.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_join.3, pthread_mutex_consistent.3, pthread_mutexattr_setrobust.3, pthread_setaffinity_np.3, pthread_setcancelstate.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_sigmask.3, pthread_spin_init.3, pthread_testcancel.3, pthread_tryjoin_np.3, ptsname.3, qsort.3, rand.3, random.3, remainder.3, rpmatch.3, rtime.3, rtnetlink.3, scalb.3, scalbln.3, scandir.3, sem_getvalue.3, sem_wait.3, setaliasent.3, setlogmask.3, sigwait.3, sincos.3, sockatmark.3, stdarg.3, stpcpy.3, strcat.3, strfmon.3, strptime.3, strtod.3, strtok.3, strtol.3, strtoul.3, strverscmp.3, tsearch.3, uselocale.3, wcstok.3, wcstombs.3, wordexp.3, y0.3, loop.4, vcs.4, veth.4, charmap.5, core.5, filesystems.5, gai.conf.5, hosts.5, hosts.equiv.5, locale.5, nss.5, repertoiremap.5, securetty.5, shells.5, ttytype.5, ascii.7, complex.7, cpuset.7, credentials.7, fanotify.7, hier.7, inotify.7, ip.7, mount_namespaces.7, mq_overview.7, netlink.7, network_namespaces.7, pid_namespaces.7, pkeys.7, rtld-audit.7, rtnetlink.7, sem_overview.7, signal-safety.7, sock_diag.7, spufs.7, standards.7, symlink.7, tcp.7, time_namespaces.7, unix.7, user_namespaces.7, xattr.7, ldconfig.8: tstamp

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoopenat2.2, proc.5, bpf-helpers.7: srcfix: strip trailing whitespace
Michael Kerrisk [Tue, 9 Jun 2020 12:48:01 +0000 (14:48 +0200)] 
openat2.2, proc.5, bpf-helpers.7: srcfix: strip trailing whitespace

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoChanges: Ready for 5.07
Michael Kerrisk [Tue, 9 Jun 2020 12:42:10 +0000 (14:42 +0200)] 
Changes: Ready for 5.07

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoprctl.2: Fixes to Dave Martin's patch
Michael Kerrisk [Tue, 9 Jun 2020 11:33:23 +0000 (13:33 +0200)] 
prctl.2: Fixes to Dave Martin's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoprctl.2: Add PR_PAC_RESET_KEYS (arm64)
Dave Martin [Tue, 9 Jun 2020 11:30:57 +0000 (13:30 +0200)] 
prctl.2: Add PR_PAC_RESET_KEYS (arm64)

Add documentation for the PR_PAC_RESET_KEYS ioctl added in Linux
5.0 for arm64.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Amit Daniel Kachhap <amit.kachhap@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoprctl.2: Add reference to proc(5) for /proc/self/task/[tid]/comm
Michael Kerrisk [Tue, 9 Jun 2020 10:38:45 +0000 (12:38 +0200)] 
prctl.2: Add reference to proc(5) for /proc/self/task/[tid]/comm

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoproc.5: Add a detail to /proc/[pid]/comm
Michael Kerrisk [Tue, 9 Jun 2020 10:36:38 +0000 (12:36 +0200)] 
proc.5: Add a detail to /proc/[pid]/comm

Note the connection to the "%e" specifier in
/proc/sys/kernel/core_pattern.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoproc.5: TASK_COMM_LEN limit includes the terminating '\0'
Michael Kerrisk [Tue, 9 Jun 2020 10:29:48 +0000 (12:29 +0200)] 
proc.5: TASK_COMM_LEN limit includes the terminating '\0'

Clarify this detail in the discussion of /proc/[pid]/comm.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocore.5: minor tweaks
Michael Kerrisk [Tue, 9 Jun 2020 10:32:46 +0000 (12:32 +0200)] 
core.5: minor tweaks

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocore.5: Explain that core_pattern %e is process/thread 'comm' value
Michael Kerrisk [Tue, 9 Jun 2020 10:08:39 +0000 (12:08 +0200)] 
core.5: Explain that core_pattern %e is process/thread 'comm' value

The 'comm' value is typically the same as the (possibly
truncated) executable name, but may be something different.

Reported-by: Jonny Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoconnect.2: Minor tweaks to Stefan Puiu's patch
Michael Kerrisk [Tue, 9 Jun 2020 08:17:34 +0000 (10:17 +0200)] 
connect.2: Minor tweaks to Stefan Puiu's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoconnect.2: Can return EACCES because of SELinux
Stefan Puiu [Fri, 29 May 2020 07:11:48 +0000 (10:11 +0300)] 
connect.2: Can return EACCES because of SELinux

Recently I had to troubleshoot a problem where a connect() call
was returning EACCES:

17648 socket(AF_INET, SOCK_STREAM, IPPROTO_IP) = 37
17648 connect(37, {sa_family=AF_INET, sin_port=htons(8081),
sin_addr=inet_addr("10.12.1.201")}, 16) = -1 EACCES (Permission
denied)

I've traced this to SELinux policy denying the connection. This is
on a Fedora 23 VM:

$ cat /etc/redhat-release
Fedora release 23 (Twenty Three)
$ uname -a
Linux mako-fedora-01 4.8.13-100.fc23.x86_64 #1 SMP Fri Dec 9 14:51:40
UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

The manpage says this can happen when connecting to a broadcast
address, or when a local firewall rule blocks the connection.
However, the address above is unicast, and using 'wget' from
another account to access the URL works fine.

The context is that we're building an OS image, and this involves
downloading RPMs through a proxy. The proxy (polipo) is labelled
by SELinux, and I guess there is some sort of policy that says
"proxy can only connect to HTTP ports". When trying to connect to
a server listening on a port that is not labeled as an HTTP server
port, I guess SELinux steps in. With 'setenforce 0', the build
works fine. In the kernel sources I see connect() calls
security_socket_connect() (see
https://elixir.bootlin.com/linux/latest/source/net/socket.c#L1855),
which calls whatever security hooks are registered. I see the
SELinux hook getting registered at
https://elixir.bootlin.com/linux/latest/source/security/selinux/hooks.c#L7047,
and setting a perf probe on the call proves that the
selinux_socket_connect function gets called (while
tcp_v4_connect() is not).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agouser_namespaces.7: Clarify "system time"
Michael Kerrisk [Tue, 9 Jun 2020 08:03:04 +0000 (10:03 +0200)] 
user_namespaces.7: Clarify "system time"

From an email conversation with Léo Stefanesco:

> In the man7.org version of the man page for user_namespaces(7), it reads:
>
>    there are many privileged operations that affect
>    resources that are not associated with any namespace type,
>    for example, changing the system time
>    (governed by CAP_SYS_TIME)
>
> which is not consistent with time_namespaces(7).

In fact, strictly peaking the text still is correct, even after
the arrival of time namespaces.

Time namespaces virtualize only the boot-time and monotonic
clocks, not the "real time" (i.e., calendar time), which is the
time referred in the passage you quote.

That said, the text is perhaps now a little misleading, and
a little clarification would help. I changed the text to:

    there are many privileged operations that affect
    resources are not associated with any namespace type,
    for example, changing the system **(i.e., calendar)** time
    (governed by CAP_SYS_TIME)

Reported-by: Léo Stefanesco <leo.lveb@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agobpf-helpers.7: Resync against kernel 5.7
Michael Kerrisk [Tue, 9 Jun 2020 07:47:48 +0000 (09:47 +0200)] 
bpf-helpers.7: Resync against kernel 5.7

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoioctl.2: Remove mentions of ioctl_list(2)
Michael Kerrisk [Thu, 16 Apr 2020 07:00:37 +0000 (09:00 +0200)] 
ioctl.2: Remove mentions of ioctl_list(2)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoioctl_list.2: Remove this page
Michael Kerrisk [Thu, 16 Apr 2020 06:28:05 +0000 (08:28 +0200)] 
ioctl_list.2: Remove this page

This page was first added more than 20 years ago. Since
that time it has seen hardly any update, and is by now
very much out of date, as reported by Heinrich Schuchardt
and confirmed by Eugene Syromyatnikov.

As Heinrich says:

    Man-pages like netdevices.7 or ioctl_fat.2 are what is
    needed to help a user who does not want to read through the
    kernel code.

    If ioctl_list.2 has not been reasonably maintained since
    Linux 1.3.27 and hence is not a reliable source of
    information, shouldn't it be dropped?

My answer is, yes (but let's move a little info into ioctl(2)).

Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reported-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agoioctl.2: Move subsection on "ioctl structure" from ioctl_list(2) to ioctl(2)
Michael Kerrisk [Thu, 16 Apr 2020 06:57:18 +0000 (08:57 +0200)] 
ioctl.2: Move subsection on "ioctl structure" from ioctl_list(2) to ioctl(2)

In preparation for removing ioctl_list(2), let's preserve
some useful text that was added to ioctl_list(2)
by Andries Brouwer.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agosyscall.2: Minor wording tweaks
Michael Kerrisk [Mon, 8 Jun 2020 20:59:47 +0000 (22:59 +0200)] 
syscall.2: Minor wording tweaks

Reported-by: Jonny Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agorandom.3: wfix: no need to mention INT32_MAX
Michael Kerrisk [Mon, 8 Jun 2020 20:25:36 +0000 (22:25 +0200)] 
random.3: wfix: no need to mention INT32_MAX

Reported-by: walter harms <wharms@bfs.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agorandom.3: Change "RAND_MAX" tp "2^31-1"
John Marshall [Mon, 8 Jun 2020 11:04:16 +0000 (12:04 +0100)] 
random.3: Change "RAND_MAX" tp "2^31-1"

RAND_MAX is for rand(3).  POSIX fixes random()'s range at 2^31-1;
RAND_MAX may be smaller on some platforms (even though with glibc
or musl on Linux they are the same).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofanotify.7, fanotify_mark.2: Clarify FAN_ONDIR in output mask
Amir Goldstein [Fri, 29 May 2020 09:25:30 +0000 (12:25 +0300)] 
fanotify.7, fanotify_mark.2: Clarify FAN_ONDIR in output mask

FAN_ONDIR was an input only flag before introducing
FAN_REPORT_FID.  Since the introduction of FAN_REPORT_FID, it can
also be in output mask.

Move the text describing its role in the output mask to fanotify.7
where the other output mask bits are documented.

[mtk: commit message tidy-up]

Reviewed-by: Matthew Bobrowski <mbobrowski@mbobrowski.org>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofanotify_init.2: Move out of place entry FAN_REPORT_FID
Amir Goldstein [Fri, 29 May 2020 09:25:29 +0000 (12:25 +0300)] 
fanotify_init.2: Move out of place entry FAN_REPORT_FID

It was inserted in the middle of the FAN_CLASS_ multi flags bit
and broke the multi flag documentation.

Reviewed-by: Matthew Bobrowski <mbobrowski@mbobrowski.org>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agofanotify.7, fanotify_mark.2: Revert "fanotify.7, fanotify_mark.2: Document FAN_DIR_MO...
Amir Goldstein [Fri, 29 May 2020 09:25:28 +0000 (12:25 +0300)] 
fanotify.7, fanotify_mark.2: Revert "fanotify.7, fanotify_mark.2: Document FAN_DIR_MODIFY"

This reverts commit a93e5c9593a95d09a1c9deb94dfdecbb970b8162.

FAN_DIR_MODIFY was disabled for v5.7 release by kernel commit
f17936993af0 ("fanotify: turn off support for FAN_DIR_MODIFY").

Reviewed-by: Matthew Bobrowski <mbobrowski@mbobrowski.org>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocore.5: Note that not dumping core of an unreadable binary is a security measure
Michael Kerrisk [Mon, 8 Jun 2020 16:16:53 +0000 (18:16 +0200)] 
core.5: Note that not dumping core of an unreadable binary is a security measure

Reported-by: Jonny Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
5 years agocore.5: wfix
Michael Kerrisk [Mon, 8 Jun 2020 16:06:10 +0000 (18:06 +0200)] 
core.5: wfix

Reported-by: Jonny Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>