]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
4 years agoseccomp.2: Document SECCOMP_FILTER_FLAG_NEW_LISTENER
Tycho Andersen [Sat, 26 Sep 2020 13:42:36 +0000 (15:42 +0200)] 
seccomp.2: Document SECCOMP_FILTER_FLAG_NEW_LISTENER

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoseccomp.2: Reorder list of SECCOMP_SET_MODE_FILTER flags alphabetically
Michael Kerrisk [Sat, 26 Sep 2020 13:40:56 +0000 (15:40 +0200)] 
seccomp.2: Reorder list of SECCOMP_SET_MODE_FILTER flags alphabetically

(No content changes.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoseccomp.2: Some reworking of Tycho's SECCOMP_RET_USER_NOTIF patch
Michael Kerrisk [Sat, 26 Sep 2020 13:34:05 +0000 (15:34 +0200)] 
seccomp.2: Some reworking of Tycho's SECCOMP_RET_USER_NOTIF patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoseccomp.2: Document SECCOMP_RET_USER_NOTIF
Tycho Andersen [Sat, 26 Sep 2020 13:29:47 +0000 (15:29 +0200)] 
seccomp.2: Document SECCOMP_RET_USER_NOTIF

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoseccomp.2: Minor edits to Tycho Andersen's patch
Michael Kerrisk [Sat, 26 Sep 2020 13:18:38 +0000 (15:18 +0200)] 
seccomp.2: Minor edits to Tycho Andersen's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoseccomp.2: Document SECCOMP_GET_NOTIF_SIZES
Tycho Andersen [Thu, 13 Dec 2018 00:11:05 +0000 (17:11 -0700)] 
seccomp.2: Document SECCOMP_GET_NOTIF_SIZES

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
CC: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosignal.7: srcfix
Michael Kerrisk [Sat, 24 Oct 2020 10:58:04 +0000 (12:58 +0200)] 
signal.7: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: SEE ALSO: Add circleq(3)
Alejandro Colomar [Fri, 23 Oct 2020 14:57:37 +0000 (16:57 +0200)] 
queue.3: SEE ALSO: Add circleq(3)

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoCIRCLEQ_ENTRY.3, CIRCLEQ_HEAD.3, CIRCLEQ_INIT.3, CIRCLEQ_INSERT_AFTER.3, CIRCLEQ_INSE...
Alejandro Colomar [Fri, 23 Oct 2020 14:57:36 +0000 (16:57 +0200)] 
CIRCLEQ_ENTRY.3, CIRCLEQ_HEAD.3, CIRCLEQ_INIT.3, CIRCLEQ_INSERT_AFTER.3, CIRCLEQ_INSERT_BEFORE.3, CIRCLEQ_INSERT_HEAD.3, CIRCLEQ_INSERT_TAIL.3, CIRCLEQ_REMOVE.3: Link to the new circleq(3) page instead of queue(3)

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocircleq.3: Add remaining details to complete the page
Alejandro Colomar [Fri, 23 Oct 2020 14:57:35 +0000 (16:57 +0200)] 
circleq.3: Add remaining details to complete the page

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocircleq.3: ffix: Use man markup
Alejandro Colomar [Fri, 23 Oct 2020 14:57:34 +0000 (16:57 +0200)] 
circleq.3: ffix: Use man markup

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocircleq.3: Copy and adapt code from queue.3
Alejandro Colomar [Fri, 23 Oct 2020 14:57:33 +0000 (16:57 +0200)] 
circleq.3: Copy and adapt code from queue.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: ffix
Alejandro Colomar [Fri, 23 Oct 2020 14:57:32 +0000 (16:57 +0200)] 
queue.3: ffix

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocircleq.3, queue.3: EXAMPLES: Move circleq example program from queue.3 to circleq.3
Alejandro Colomar [Fri, 23 Oct 2020 14:57:31 +0000 (16:57 +0200)] 
circleq.3, queue.3: EXAMPLES: Move circleq example program from queue.3 to circleq.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocircleq.3, queue.3: DESCRIPTION: Move circleq specific code from queue.3 to circleq.3
Alejandro Colomar [Fri, 23 Oct 2020 14:57:30 +0000 (16:57 +0200)] 
circleq.3, queue.3: DESCRIPTION: Move circleq specific code from queue.3 to circleq.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocircleq.3, queue.3: SYNOPSIS: Move code from queue.3 to circleq.3
Alejandro Colomar [Fri, 23 Oct 2020 14:57:29 +0000 (16:57 +0200)] 
circleq.3, queue.3: SYNOPSIS: Move code from queue.3 to circleq.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocircleq.3, queue.3: NAME: Move code from queue-3 to circleq.3
Alejandro Colomar [Fri, 23 Oct 2020 14:57:28 +0000 (16:57 +0200)] 
circleq.3, queue.3: NAME: Move code from queue-3 to circleq.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocircleq.3: New page that will hold the (circleq) content of queue.3
Alejandro Colomar [Fri, 23 Oct 2020 14:57:27 +0000 (16:57 +0200)] 
circleq.3: New page that will hold the (circleq) content of queue.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: Sort alphabetically
Alejandro Colomar [Fri, 23 Oct 2020 14:38:26 +0000 (16:38 +0200)] 
queue.3: Sort alphabetically

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoslist.3: tfix
Alejandro Colomar [Fri, 23 Oct 2020 07:40:42 +0000 (09:40 +0200)] 
slist.3: tfix

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoopenat2.2, loop.4: tfix: s/non-zero/nonzero/
Alejandro Colomar [Thu, 22 Oct 2020 20:43:25 +0000 (22:43 +0200)] 
openat2.2, loop.4: tfix: s/non-zero/nonzero/

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3: Sort alphabetically
Alejandro Colomar [Thu, 22 Oct 2020 15:40:40 +0000 (17:40 +0200)] 
list.3: Sort alphabetically

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3, slist.3, strcmp.3: tfix
Michael Kerrisk [Thu, 22 Oct 2020 17:33:04 +0000 (19:33 +0200)] 
list.3, slist.3, strcmp.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: SEE ALSO: Add slist(3)
Alejandro Colomar [Thu, 22 Oct 2020 12:38:22 +0000 (14:38 +0200)] 
queue.3: SEE ALSO: Add slist(3)

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoSLIST_EMPTY.3, SLIST_ENTRY.3, SLIST_FIRST.3, SLIST_FOREACH.3, SLIST_HEAD.3, SLIST_HEA...
Alejandro Colomar [Thu, 22 Oct 2020 12:38:21 +0000 (14:38 +0200)] 
SLIST_EMPTY.3, SLIST_ENTRY.3, SLIST_FIRST.3, SLIST_FOREACH.3, SLIST_HEAD.3, SLIST_HEAD_INITIALIZER.3, SLIST_INIT.3, SLIST_INSERT_AFTER.3, SLIST_INSERT_HEAD.3, SLIST_NEXT.3, SLIST_REMOVE.3, SLIST_REMOVE_HEAD.3: Link to the new slist(3) page instead of queue(3)

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoslist.3: Add details
Alejandro Colomar [Thu, 22 Oct 2020 12:38:20 +0000 (14:38 +0200)] 
slist.3: Add details

Add remaining details to complete the page.

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoslist.3: ffix: Use man markup
Alejandro Colomar [Thu, 22 Oct 2020 12:38:19 +0000 (14:38 +0200)] 
slist.3: ffix: Use man markup

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoslist.3: Copy and adapt code from queue.3
Alejandro Colomar [Thu, 22 Oct 2020 12:38:18 +0000 (14:38 +0200)] 
slist.3: Copy and adapt code from queue.3

A few fixes to note:

- Sorted alphabetically some macros
- ffix: remove alignment spaces in example (as in list.3)

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3, slist.3: EXAMPLES: Move example program from queue.3 to slist.3
Alejandro Colomar [Thu, 22 Oct 2020 12:38:17 +0000 (14:38 +0200)] 
queue.3, slist.3: EXAMPLES: Move example program from queue.3 to slist.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3, slist.3: DESCRIPTION: Move slist specific code from queue.3 to slist.3
Alejandro Colomar [Thu, 22 Oct 2020 12:38:16 +0000 (14:38 +0200)] 
queue.3, slist.3: DESCRIPTION: Move slist specific code from queue.3 to slist.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3, slist.3: SYNOPSIS: Move code from queue.3 to list.3
Alejandro Colomar [Thu, 22 Oct 2020 12:38:15 +0000 (14:38 +0200)] 
queue.3, slist.3: SYNOPSIS: Move code from queue.3 to list.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3, slist.3: NAME: Move code from queue.3 to slist.3
Alejandro Colomar [Thu, 22 Oct 2020 12:38:14 +0000 (14:38 +0200)] 
queue.3, slist.3: NAME: Move code from queue.3 to slist.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoslist.3: New page that will hold the (slist) contents of queue.3
Alejandro Colomar [Thu, 22 Oct 2020 12:38:13 +0000 (14:38 +0200)] 
slist.3: New page that will hold the (slist) contents of queue.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3: Minor fix to grammar
Michael Kerrisk [Wed, 21 Oct 2020 04:48:45 +0000 (06:48 +0200)] 
list.3: Minor fix to grammar

Fix a preexisting grammar issue in text taken from queue.3.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3: Minor tweak's to Alex's text
Michael Kerrisk [Wed, 21 Oct 2020 04:48:03 +0000 (06:48 +0200)] 
list.3: Minor tweak's to Alex's text

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3: tfix
Michael Kerrisk [Wed, 21 Oct 2020 04:42:08 +0000 (06:42 +0200)] 
list.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3: ffix
Michael Kerrisk [Wed, 21 Oct 2020 04:41:39 +0000 (06:41 +0200)] 
list.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: SEE ALSO: Add list(3)
Alejandro Colomar [Tue, 20 Oct 2020 21:31:08 +0000 (23:31 +0200)] 
queue.3: SEE ALSO: Add list(3)

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoLIST_EMPTY.3, LIST_ENTRY.3, LIST_FIRST.3, LIST_FOREACH.3, LIST_HEAD.3, LIST_HEAD_INIT...
Alejandro Colomar [Tue, 20 Oct 2020 21:31:07 +0000 (23:31 +0200)] 
LIST_EMPTY.3, LIST_ENTRY.3, LIST_FIRST.3, LIST_FOREACH.3, LIST_HEAD.3, LIST_HEAD_INITIALIZER.3, LIST_INIT.3, LIST_INSERT_AFTER.3, LIST_INSERT_BEFORE.3, LIST_INSERT_HEAD.3, LIST_NEXT.3, LIST_REMOVE.3: Link to the new list.3 page instead of queue.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3: Add details
Alejandro Colomar [Tue, 20 Oct 2020 21:31:06 +0000 (23:31 +0200)] 
list.3: Add details

list.3: NAME: Add description
list.3: DESCRIPTION: Add short description
list.3: SEE ALSO: Add insque(3) and queue(3)
list.3: BUGS: Note LIST_FOREACH() limitations
list.3: RETURN VALUE: Add details about the return value of those macros that "return" a value

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3: ffix: Use man markup
Alejandro Colomar [Tue, 20 Oct 2020 21:31:05 +0000 (23:31 +0200)] 
list.3: ffix: Use man markup

list.3: NAME: ffix: Use man markup
list.3: SYNOPSIS: ffix: Use man markup
list.3: DESCRIPTION: ffix: Use man markup
list.3: DESCRIPTION: ffix: Use man markup
list.3: CONFORMING TO: ffix: Use man markup
list.3: EXAMPLES: ffix: Use man markup

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3: Copy and adapt code from queue.3
Alejandro Colomar [Tue, 20 Oct 2020 21:31:04 +0000 (23:31 +0200)] 
list.3: Copy and adapt code from queue.3

list.3: SYNOPSIS: Copy include from queue.3
list.3: DESCRIPTION: Copy description about naming of macros from queue.3
list.3: DESCRIPTION: Remove unrelated code to adapt to this page
list.3: DESCRIPTION: Remove lines pointing to the EXAMPLES
list.3: CONFORMING TO: Copy from queue.3
list.3: CONFORMING TO: Adapt to this page

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3, queue.3: EXAMPLES: Move example program from queue.3 to list.3
Alejandro Colomar [Tue, 20 Oct 2020 21:31:03 +0000 (23:31 +0200)] 
list.3, queue.3: EXAMPLES: Move example program from queue.3 to list.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3, queue.3: DESCRIPTION: Move list specific code from queue.3 to list.3
Alejandro Colomar [Tue, 20 Oct 2020 21:31:02 +0000 (23:31 +0200)] 
list.3, queue.3: DESCRIPTION: Move list specific code from queue.3 to list.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3, queue.3: SYNOPSIS: Move code from queue.3 to list.3
Alejandro Colomar [Tue, 20 Oct 2020 21:31:01 +0000 (23:31 +0200)] 
list.3, queue.3: SYNOPSIS: Move code from queue.3 to list.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3, queue.3: NAME: Move code from queue.3 to list.3
Alejandro Colomar [Tue, 20 Oct 2020 21:31:00 +0000 (23:31 +0200)] 
list.3, queue.3: NAME: Move code from queue.3 to list.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolist.3: New page that will hold the (list) contents of queue.3
Alejandro Colomar [Tue, 20 Oct 2020 21:30:59 +0000 (23:30 +0200)] 
list.3: New page that will hold the (list) contents of queue.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosetns.2: Correct the version for time namespace support
Michael Kerrisk [Tue, 20 Oct 2020 10:54:32 +0000 (12:54 +0200)] 
setns.2: Correct the version for time namespace support

Time namespaces were added in kernel 5.6, but setns() support
for time namespaces was added only starting with kernel 5.8:

    commit 76c12881a38aaa83e1eb4ce2fada36c3a732bad4
    Author: Christian Brauner <christian.brauner@ubuntu.com>
    Date:   Mon Jul 6 17:49:11 2020 +0200

        nsproxy: support CLONE_NEWTIME with setns()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agonamespaces.7: srcfix
Michael Kerrisk [Tue, 20 Oct 2020 10:32:16 +0000 (12:32 +0200)] 
namespaces.7: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agonamespaces.7: A 'time_for_children' symlink can also pin a namespace
Michael Kerrisk [Tue, 20 Oct 2020 10:31:34 +0000 (12:31 +0200)] 
namespaces.7: A 'time_for_children' symlink can also pin a namespace

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoclock_t.3: New link to system_data_types(7)
Alejandro Colomar [Sat, 17 Oct 2020 21:37:59 +0000 (23:37 +0200)] 
clock_t.3: New link to system_data_types(7)

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosystem_data_types.7: Add 'clock_t'
Alejandro Colomar [Sun, 18 Oct 2020 09:49:17 +0000 (11:49 +0200)] 
system_data_types.7: Add 'clock_t'

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosystem_data_types.7: ffix
Michael Kerrisk [Sun, 18 Oct 2020 13:04:49 +0000 (15:04 +0200)] 
system_data_types.7: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosystem_data_types.7: srcfix: add comment noting time_t difference in POSIX.1-2001
Michael Kerrisk [Sun, 18 Oct 2020 13:00:14 +0000 (15:00 +0200)] 
system_data_types.7: srcfix: add comment noting time_t difference in POSIX.1-2001

Paul Eggert commented on a patch that proposed to note the
POSIX.2001 details:

    No actual POSIXish implementation ever made it a
    real-floating type, though, and that point should be made
    lest some conscientious programmer worry about a nonexistent
    porting issue.

We opted to drop the patch, but in case someone else points out
this POSIX.1-2001 difference in the future, let's leave a comment
in the page source.

Reported-by: Paul Eggert <eggert@cs.ucla.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agold.so.8: Add self to copyright
Michael Kerrisk [Sat, 17 Oct 2020 21:16:47 +0000 (23:16 +0200)] 
ld.so.8: Add self to copyright

By now, I'm responsible for quite a lot of the content in
this page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomallinfo.3: srcfix: add comments noting errors in glibc info page
Michael Kerrisk [Sat, 17 Oct 2020 16:38:55 +0000 (18:38 +0200)] 
mallinfo.3: srcfix: add comments noting errors in glibc info page

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomallinfo.3: The 'usmblks' is nowadays always 0
Michael Kerrisk [Sat, 17 Oct 2020 16:19:16 +0000 (18:19 +0200)] 
mallinfo.3: The 'usmblks' is nowadays always 0

Verified from the course code.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoregex.3: Add example program
Alejandro Colomar [Sat, 17 Oct 2020 13:27:49 +0000 (15:27 +0200)] 
regex.3: Add example program

$ gcc -Wall -Wextra -Werror -pedantic regex.c -o regex
$ ./regex.3
String = "1) John Driverhacker;
2) John Doe;
3) John Foo;
"
Matches:
#0:
offset = 25; length = 7
substring = "John Do"
#1:
offset = 38; length = 8
substring = "John Foo"

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: stailq: Complete example
Alejandro Colomar [Sat, 17 Oct 2020 10:16:17 +0000 (12:16 +0200)] 
queue.3: stailq: Complete example

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agokernel_lockdown.7: Describe LSM activation
Heinrich Schuchardt [Fri, 16 Oct 2020 19:03:37 +0000 (21:03 +0200)] 
kernel_lockdown.7: Describe LSM activation

Describe the activation of the Kernel Lockdown feature via Kconfig
and the command line.

Cf. Documentation/admin-guide/kernel-parameters.rst.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agokernel_lockdown.7: Add a VERSIONS section
Michael Kerrisk [Fri, 16 Oct 2020 16:08:34 +0000 (18:08 +0200)] 
kernel_lockdown.7: Add a VERSIONS section

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agokernel_lockdown.7: Various minor edits to bring this page closer to man-pages stype
Michael Kerrisk [Fri, 16 Oct 2020 16:03:16 +0000 (18:03 +0200)] 
kernel_lockdown.7: Various minor edits to bring this page closer to man-pages stype

No content changes...

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agokernel_lockdown.7: New page documenting the Kernel Lockdown feature
Heinrich Schuchardt [Fri, 16 Oct 2020 11:28:34 +0000 (13:28 +0200)] 
kernel_lockdown.7: New page documenting the Kernel Lockdown feature

Provide a man-page for kernel_lockdown. The content is taken
from a patch for the Fedora 34 man-pages available at

https://kojipkgs.fedoraproject.org//packages/man-pages/5.08/1.fc34/src/man-pages-5.08-1.fc34.src.rpm

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolink.2: ffix
Michael Kerrisk [Fri, 16 Oct 2020 06:47:15 +0000 (08:47 +0200)] 
link.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: list: Complete example
Alejandro Colomar [Thu, 15 Oct 2020 11:29:02 +0000 (13:29 +0200)] 
queue.3: list: Complete example

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoseccomp.2: Warn reader that SECCOMP_RET_TRACE can be overridden
Michael Kerrisk [Thu, 15 Oct 2020 11:02:36 +0000 (13:02 +0200)] 
seccomp.2: Warn reader that SECCOMP_RET_TRACE can be overridden

Highlight to the reader that if another filter returns a
higher-precedence action value, then the ptracer will not
be notified.

Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoregex.3: wfix
Michael Kerrisk [Wed, 14 Oct 2020 16:39:09 +0000 (18:39 +0200)] 
regex.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoregex.3: wfix
Alejandro Colomar [Wed, 14 Oct 2020 12:24:15 +0000 (14:24 +0200)] 
regex.3: wfix

The wording was incorrect:

It stated that 'eflags' may be the OR of one or two of those two flags,
but then a third flag was documented
(which according to the previous wording could not be used?!).
Moreover, the wording also disallowed using 0 (i.e., no flags at all),
which POSIX specifically allows;
I tested the function with no flags and it worked fine for me,
so I guess it was a problem with the documentation,
and not with the implementation itself.

POSIX ref: https://pubs.opengroup.org/onlinepubs/9699919799/

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agofutex.2, quotactl.2: wfix: use "bitwise" rather than "bit-wise"
Michael Kerrisk [Wed, 14 Oct 2020 16:34:45 +0000 (18:34 +0200)] 
futex.2, quotactl.2: wfix: use "bitwise" rather than "bit-wise"

Most manual pages already use "bitwise".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: circleq: Complete example
Alejandro Colomar [Tue, 13 Oct 2020 14:55:49 +0000 (16:55 +0200)] 
queue.3: circleq: Complete example

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoresolv.conf.5: Minor edits to Florian Weimer's patch
Michael Kerrisk [Mon, 12 Oct 2020 18:55:06 +0000 (20:55 +0200)] 
resolv.conf.5: Minor edits to Florian Weimer's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoresolv.conf.5: srcfix: rewrap source lines
Michael Kerrisk [Mon, 12 Oct 2020 18:50:43 +0000 (20:50 +0200)] 
resolv.conf.5: srcfix: rewrap source lines

No content changes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoresolv.5: Document the trust-ad option
Florian Weimer [Mon, 12 Oct 2020 11:22:29 +0000 (13:22 +0200)] 
resolv.5: Document the trust-ad option

Signed-off-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agostrsignal.3: Further addition on version range for sys_siglist
Michael Kerrisk [Sun, 11 Oct 2020 14:51:40 +0000 (16:51 +0200)] 
strsignal.3: Further addition on version range for sys_siglist

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoperror.3: sys_errlist and sys_nerr are no longer exposed by <stdio.h>
Michael Kerrisk [Sun, 11 Oct 2020 12:31:29 +0000 (14:31 +0200)] 
perror.3: sys_errlist and sys_nerr are no longer exposed by <stdio.h>

The change came with the release of glibc 2.32.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: slist: Complete example
Alejandro Colomar [Sun, 11 Oct 2020 15:51:21 +0000 (17:51 +0200)] 
queue.3: slist: Complete example

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: Replace incomplete example by a complete example
Alejandro Colomar [Sat, 10 Oct 2020 19:02:27 +0000 (21:02 +0200)] 
queue.3: Replace incomplete example by a complete example

I added the EXAMPLES section.
The examples in this page are incomplete
(you can't copy&paste&compile&run).
I fixed the one about TAILQ first,
and the rest should follow.

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoregex_t.3: New link to system_data_types(7)
Alejandro Colomar [Sun, 11 Oct 2020 11:15:26 +0000 (13:15 +0200)] 
regex_t.3: New link to system_data_types(7)

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosystem_data_types.7: Add 'regex_t'
Alejandro Colomar [Sun, 11 Oct 2020 11:15:25 +0000 (13:15 +0200)] 
system_data_types.7: Add 'regex_t'

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoregex.3: Remove unnecessary include
Alejandro Colomar [Sat, 10 Oct 2020 17:50:02 +0000 (19:50 +0200)] 
regex.3: Remove unnecessary include

POSIX requires that the <regex.h> header shall define
the structures and symbolic constants used by the
regcomp(),  regexec(), regerror(), and regfree() functions.

Therefore, there should be no need to include <sys/types.h>
at all.

The POSIX docs don't use that include:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/regcomp.html

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agolocale.5: Decimal points, thousands separators must be one character
Florian Weimer [Fri, 9 Oct 2020 08:40:22 +0000 (10:40 +0200)] 
locale.5: Decimal points, thousands separators must be one character

This is implied by POSIX because it requires that these strings in
the locale definition file contain one symbol.  Currently,
locale.5 does not document the concept of symbols, this change
glosses over that and just uses the term "single-character
string".

Signed-off-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosystem_data_types.7: Add 'fd_set'
Alejandro Colomar [Fri, 9 Oct 2020 08:42:44 +0000 (10:42 +0200)] 
system_data_types.7: Add 'fd_set'

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoepoll_ctl.2: epoll instances can be nested to a maximum depth of 5
Michael Kerrisk [Fri, 9 Oct 2020 21:47:01 +0000 (23:47 +0200)] 
epoll_ctl.2: epoll instances can be nested to a maximum depth of 5

This limit appears to be an off-by-one count against
EP_MAX_NESTS (4).

Verified by experiment.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoepoll_ctl.2: Move some version info from CONFORMING TO to VERSIONS
Michael Kerrisk [Fri, 9 Oct 2020 21:06:43 +0000 (23:06 +0200)] 
epoll_ctl.2: Move some version info from CONFORMING TO to VERSIONS

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agorecv.2, send.2: Add cross references to pages with further info about ancillary data
Michael Kerrisk [Thu, 8 Oct 2020 05:19:25 +0000 (07:19 +0200)] 
recv.2, send.2: Add cross references to pages with further info about ancillary data

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoman.7: srcfix
Michael Kerrisk [Thu, 8 Oct 2020 05:09:00 +0000 (07:09 +0200)] 
man.7: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoman.7: Clarify that alternating typeface macros print arguments without spaces
Michael Kerrisk [Thu, 8 Oct 2020 05:07:11 +0000 (07:07 +0200)] 
man.7: Clarify that alternating typeface macros print arguments without spaces

Reported-by: G. Branden Robinson <g.branden.robinson@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosocket.7: ffix
Michael Kerrisk [Thu, 8 Oct 2020 05:03:41 +0000 (07:03 +0200)] 
socket.7: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosocket.7: SEE ALSO: add ipv6(7)
Michael Kerrisk [Thu, 8 Oct 2020 05:02:52 +0000 (07:02 +0200)] 
socket.7: SEE ALSO: add ipv6(7)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosend.2: wfix
Michael Kerrisk [Thu, 8 Oct 2020 05:00:11 +0000 (07:00 +0200)] 
send.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agommap.2, proc.5, bpf-helpers.7, cpuset.7: tfix
Samanta Navarro [Sun, 4 Oct 2020 11:44:34 +0000 (11:44 +0000)] 
mmap.2, proc.5, bpf-helpers.7, cpuset.7: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosystem_data_types.7: Trim "See also" list of 'off_t'
Michael Kerrisk [Wed, 7 Oct 2020 06:48:03 +0000 (08:48 +0200)] 
system_data_types.7: Trim "See also" list of 'off_t'

Trim the list to just be a representative sample of
the APIs that use 'off_t'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agooff_t.3: New link to system_data_types(7)
Alejandro Colomar [Mon, 5 Oct 2020 22:12:48 +0000 (00:12 +0200)] 
off_t.3: New link to system_data_types(7)

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosystem_data_types.7: Add 'off_t'
Alejandro Colomar [Mon, 5 Oct 2020 22:12:47 +0000 (00:12 +0200)] 
system_data_types.7: Add 'off_t'

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosystem_data_types.7: tfix: Oxford comma
Michael Kerrisk [Sat, 3 Oct 2020 20:11:23 +0000 (22:11 +0200)] 
system_data_types.7: tfix: Oxford comma

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosystem_data_types.7: tfix: remove mention of __uint128_t and __int128_t types
Michael Kerrisk [Sat, 3 Oct 2020 20:02:37 +0000 (22:02 +0200)] 
system_data_types.7: tfix: remove mention of __uint128_t and __int128_t types

Those types won't appear in this page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoRevert [u]int_*astN_t commits
Alejandro Colomar [Sat, 3 Oct 2020 09:48:48 +0000 (11:48 +0200)] 
Revert [u]int_*astN_t commits

Revert "uint_least8_t.3, uint_least16_t.3, uint_least32_t.3, uint_least64_t.3, uint_leastN_t.3: New links to system_data_types(7)"
This reverts commit a5d13a32b79508c3224b678c67c1d5bcec0dd78e.

Revert "system_data_types.7: Add uint_leastN_t family of types"
This reverts commit 3450a5621e2a0bbba96add77002d5bf92412fd80.

Revert "int_least8_t.3, int_least16_t.3, int_least32_t.3, int_least64_t.3, int_leastN_t.3: New links to system_data_types(7)"
This reverts commit 876838354df6f32a3ba6c91698bdd8fb25e8167b.

Revert "system_data_types.7: Add int_leastN_t family of types"
This reverts commit f9b54d3a2eb5da554f9c6979b588fec534082586.

Revert "uint_fast8_t.3, uint_fast16_t.3, uint_fast32_t.3, uint_fast64_t.3, uint_fastN_t.3: New links to system_data_types(7)"
This reverts commit 496b1aad79db5662cac02b4a2c51851c8b37a5c5.

Revert "system_data_types.7: Add uint_fastN_t family of types"
This reverts commit 3c9ae6e5a264f1346260931132661cceb74f2539.

Revert "int_fast8_t.3, int_fast16_t.3, int_fast32_t.3, int_fast64_t.3, int_fastN_t.3: New links to system_data_types(7)"
This reverts commit 9df81a23e563ca1e65aafaaec981321816e35f25.

Revert "system_data_types.7: Add int_fastN_t family of types"
This reverts commit 8f12d3f6838e1b65e872211286cb33418953a94d.

Reported-by: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosystem_data_types.7: Move notes about versions to "Versions"
Alejandro Colomar [Sat, 3 Oct 2020 09:28:48 +0000 (11:28 +0200)] 
system_data_types.7: Move notes about versions to "Versions"

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agovoid.3: New link to system_data_types(7)
Alejandro Colomar [Fri, 2 Oct 2020 19:28:16 +0000 (21:28 +0200)] 
void.3: New link to system_data_types(7)

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosystem_data_types.7: Add 'void *'
Alejandro Colomar [Fri, 2 Oct 2020 19:28:15 +0000 (21:28 +0200)] 
system_data_types.7: Add 'void *'

Reported-by: Paul Eggert <eggert@cs.ucla.edu>
Reported-by: David Laight <David.Laight@ACULAB.COM>
Reported-by: Jonathan Wakely <jwakely.gcc@gmail.com>
Reported-by: Paul Eggert <eggert@cs.ucla.edu>
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>