]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
4 years agocircleq.3, insque.3, list.3, slist.3, tailq.3: SEE ALSO: queue(3) -> queue(7)
Alejandro Colomar [Sun, 25 Oct 2020 20:46:18 +0000 (21:46 +0100)] 
circleq.3, insque.3, list.3, slist.3, tailq.3: SEE ALSO: queue(3) -> queue(7)

queue.3 has been moved to queue.7.

Fix SEE ALSO accordingly.

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: Link to queue(7)
Alejandro Colomar [Sun, 25 Oct 2020 20:46:17 +0000 (21:46 +0100)] 
queue.3: Link to queue(7)

queue has been for so many years in Section 3,
and still is in Section 3 in most manuals.

For legacy reasons,
especially because hyperlinks to the online manual pages
would break otherwise,
a link queue.3 -> queue(7) is necessary.

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3, queue.7: Move queue.3 to queue.7
Alejandro Colomar [Sun, 25 Oct 2020 20:46:16 +0000 (21:46 +0100)] 
queue.3, queue.7: Move queue.3 to queue.7

After forking slist.3, list.3, tailq.3, stailq.3 & circleq.3
in the previous commits,
this page no longer belongs in Section 3 of the manual pages.

According to its contents, the most suitable section is Section 7.

Because of legacy reasons, a link queue.3 -> queue(7)
would be appropriate.

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agomembarrier.2, openat2.2, insque.3, proc.5, tzfile.5, hier.7: Minor grammar fix
Michael Kerrisk [Sun, 25 Oct 2020 12:12:57 +0000 (13:12 +0100)] 
membarrier.2, openat2.2, insque.3, proc.5, tzfile.5, hier.7: Minor grammar fix

Don't hyphenate after adjective ending in "ly". See, for example:
https://www.dragoman.ist/compound-modifiers-with-words-ending-in-ly/
https://www.merriam-webster.com/words-at-play/6-common-hypercorrections-and-how-to-avoid-them/between-you-and-i

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agotailq.3: tfix
Dmitry V. Levin [Sun, 25 Oct 2020 12:03:31 +0000 (15:03 +0300)] 
tailq.3: tfix

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agostailq.3, tailq.3: Minor fix: replace ".Ss" lines with ".PP"
Michael Kerrisk [Sun, 25 Oct 2020 11:31:25 +0000 (12:31 +0100)] 
stailq.3, tailq.3: Minor fix: replace ".Ss" lines with ".PP"

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocircleq.3, list.3, queue.3, slist.3, stailq.3, tailq.3: Minor grammar fix
Michael Kerrisk [Sun, 25 Oct 2020 11:23:43 +0000 (12:23 +0100)] 
circleq.3, list.3, queue.3, slist.3, stailq.3, tailq.3: Minor grammar fix

Don't hyphenate after adjective ending in "ly". See, for example:
https://www.dragoman.ist/compound-modifiers-with-words-ending-in-ly/
https://www.merriam-webster.com/words-at-play/6-common-hypercorrections-and-how-to-avoid-them/between-you-and-i

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocircleq.3: ffix
Michael Kerrisk [Sun, 25 Oct 2020 11:19:44 +0000 (12:19 +0100)] 
circleq.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocircleq.3, list.3, slist.3, stailq.3, tailq.3: Use the 'struct' keyword when appropriate
Alejandro Colomar [Sun, 25 Oct 2020 10:46:24 +0000 (11:46 +0100)] 
circleq.3, list.3, slist.3, stailq.3, tailq.3: Use the 'struct' keyword when appropriate

This helps differentiate 'TYPE' in some arguments from
'struct TYPE *var' in others, and is technically more correct.

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: wfix
Michael Kerrisk [Sun, 25 Oct 2020 11:11:25 +0000 (12:11 +0100)] 
queue.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: Fix & update after forking circleq.3, list.3, slist.3, stailq.3 & tailq.3
Alejandro Colomar [Sun, 25 Oct 2020 10:21:33 +0000 (11:21 +0100)] 
queue.3: Fix & update after forking circleq.3, list.3, slist.3, stailq.3 & tailq.3

- ffix: Use man markup
- Remove specific notes about code size increase
  and execution time increase,
  as they were (at least) inaccurate.
  Instead, a generic note has been added.
- Structure the text into subsections.
- Remove sections that were empty after the forks.
- Clearly relate macro names (SLIST, TAILQ, ...)
  to a human readable name of which data structure
  they implement.

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 agoqueue.3: Add self to copyright notice
Alejandro Colomar [Sun, 25 Oct 2020 10:21:32 +0000 (11:21 +0100)] 
queue.3: Add self to copyright notice

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agostrerrorname_np.3: New link to strerror(3)
Michael Kerrisk [Sat, 17 Oct 2020 20:33:43 +0000 (22:33 +0200)] 
strerrorname_np.3: New link to strerror(3)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agostrerrordesc_np.3: New link to strerror(3)
Michael Kerrisk [Sat, 17 Oct 2020 20:33:18 +0000 (22:33 +0200)] 
strerrordesc_np.3: New link to strerror(3)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agostrerror.3: Document strerrorname_np() and strerrordesc_np()
Michael Kerrisk [Sat, 17 Oct 2020 20:29:50 +0000 (22:29 +0200)] 
strerror.3: Document strerrorname_np() and strerrordesc_np()

strerrorname_np() and strerrordesc_np() were added in glibc 2.32.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosigdescr_np.3: New link to strsignal.3
Michael Kerrisk [Sat, 17 Oct 2020 19:29:44 +0000 (21:29 +0200)] 
sigdescr_np.3: New link to strsignal.3

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agosigabbrev_np.3: New link to strsignal.3
Michael Kerrisk [Sat, 17 Oct 2020 19:29:17 +0000 (21:29 +0200)] 
sigabbrev_np.3: New link to strsignal.3

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agostrsignal.3: Document sigabbrev_np() and sigdescr_np().
Michael Kerrisk [Sat, 17 Oct 2020 19:26:16 +0000 (21:26 +0200)] 
strsignal.3: Document sigabbrev_np() and sigdescr_np().

sigabbrev_np() and sigdescr_np() were added in glibc 2.32.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: SEE ALSO: Add tailq(3)
Alejandro Colomar [Sun, 25 Oct 2020 09:36:52 +0000 (10:36 +0100)] 
queue.3: SEE ALSO: Add tailq(3)

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoTAILQ_CONCAT.3, TAILQ_EMPTY.3, TAILQ_ENTRY.3, TAILQ_FIRST.3, TAILQ_FOREACH.3, TAILQ_F...
Alejandro Colomar [Sun, 25 Oct 2020 09:36:51 +0000 (10:36 +0100)] 
TAILQ_CONCAT.3, TAILQ_EMPTY.3, TAILQ_ENTRY.3, TAILQ_FIRST.3, TAILQ_FOREACH.3, TAILQ_FOREACH_REVERSE.3, TAILQ_HEAD.3, TAILQ_HEAD_INITIALIZER.3, TAILQ_INIT.3, TAILQ_INSERT_AFTER.3, TAILQ_INSERT_BEFORE.3, TAILQ_INSERT_HEAD.3, TAILQ_INSERT_TAIL.3, TAILQ_LAST.3, TAILQ_NEXT.3, TAILQ_PREV.3, TAILQ_REMOVE.3, TAILQ_SWAP.3: Link to the new tailq(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 agotailq.3: Add remaining details to complete the page
Alejandro Colomar [Sun, 25 Oct 2020 09:36:50 +0000 (10:36 +0100)] 
tailq.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 agotailq.3: ffix: Use man markup
Alejandro Colomar [Sun, 25 Oct 2020 09:36:49 +0000 (10:36 +0100)] 
tailq.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 agotailq.3: Copy and adapt code from queue.3
Alejandro Colomar [Sun, 25 Oct 2020 09:36:48 +0000 (10:36 +0100)] 
tailq.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, tailq.3: EXAMPLES: Move code from queue.3 to tailq.3
Alejandro Colomar [Sun, 25 Oct 2020 09:36:47 +0000 (10:36 +0100)] 
queue.3, tailq.3: EXAMPLES: Move code from queue.3 to tailq.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, tailq.3: DESCRIPTION: Move code from queue.3 to tailq.3
Alejandro Colomar [Sun, 25 Oct 2020 09:36:46 +0000 (10:36 +0100)] 
queue.3, tailq.3: DESCRIPTION: Move code from queue.3 to tailq.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, tailq.3: SYNOPSIS: Move code from queue.3 to tailq.3
Alejandro Colomar [Sun, 25 Oct 2020 09:36:45 +0000 (10:36 +0100)] 
queue.3, tailq.3: SYNOPSIS: Move code from queue.3 to tailq.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, tailq.3: NAME: Move code from queue.3 to tailq.3
Alejandro Colomar [Sun, 25 Oct 2020 09:36:44 +0000 (10:36 +0100)] 
queue.3, tailq.3: NAME: Move code from queue.3 to tailq.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agotailq.3: New page that will hold the (tailq) contents of queue.3
Alejandro Colomar [Sun, 25 Oct 2020 09:36:43 +0000 (10:36 +0100)] 
tailq.3: New page that will hold the (tailq) 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 agocircleq.3, list.3, slist.3, stailq.3: Fix return type of macros
Alejandro Colomar [Sun, 25 Oct 2020 09:19:23 +0000 (10:19 +0100)] 
circleq.3, list.3, slist.3, stailq.3: Fix return type of macros

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoqueue.3: SEE ALSO: Add stailq(3)
Alejandro Colomar [Sat, 24 Oct 2020 22:30:21 +0000 (00:30 +0200)] 
queue.3: SEE ALSO: Add stailq(3)

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agoSTAILQ_CONCAT.3, STAILQ_EMPTY.3, STAILQ_ENTRY.3, STAILQ_FIRST.3, STAILQ_FOREACH.3...
Alejandro Colomar [Sat, 24 Oct 2020 22:30:20 +0000 (00:30 +0200)] 
STAILQ_CONCAT.3, STAILQ_EMPTY.3, STAILQ_ENTRY.3, STAILQ_FIRST.3, STAILQ_FOREACH.3, STAILQ_HEAD.3, STAILQ_HEAD_INITIALIZER.3, STAILQ_INIT.3, STAILQ_INSERT_AFTER.3, STAILQ_INSERT_HEAD.3, STAILQ_INSERT_TAIL.3, STAILQ_NEXT.3, STAILQ_REMOVE.3, STAILQ_REMOVE_HEAD.3: Link to the new stailq(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 agostailq.3: Add remaining details to complete the page
Alejandro Colomar [Sat, 24 Oct 2020 22:21:16 +0000 (00:21 +0200)] 
stailq.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 agostailq.3: ffix: Use man markup
Alejandro Colomar [Sat, 24 Oct 2020 22:21:15 +0000 (00:21 +0200)] 
stailq.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 agostailq.3: Copy and adapt code from queue.3
Alejandro Colomar [Sat, 24 Oct 2020 22:21:14 +0000 (00:21 +0200)] 
stailq.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, stailq.3: EXAMPLES: Move stailq example from queue.3 to stailq.3
Alejandro Colomar [Sat, 24 Oct 2020 22:21:13 +0000 (00:21 +0200)] 
queue.3, stailq.3: EXAMPLES: Move stailq example from queue.3 to stailq.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, stailq.3: DESCRIPTION: Move stailq specific code from queue.3 to stailq.3
Alejandro Colomar [Sat, 24 Oct 2020 22:21:12 +0000 (00:21 +0200)] 
queue.3, stailq.3: DESCRIPTION: Move stailq specific code from queue.3 to stailq.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, stailq.3: SYNOPSIS: Move code from queue.3 to stailq.3
Alejandro Colomar [Sat, 24 Oct 2020 22:21:11 +0000 (00:21 +0200)] 
queue.3, stailq.3: SYNOPSIS: Move code from queue.3 to stailq.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, stailq.3: NAME: Move code from queue.3 to stailq.3
Alejandro Colomar [Sat, 24 Oct 2020 22:21:10 +0000 (00:21 +0200)] 
queue.3, stailq.3: NAME: Move code from queue.3 to stailq.3

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agostailq.3: New page that will hold the (stailq) contents of queue.3
Alejandro Colomar [Sat, 24 Oct 2020 22:21:09 +0000 (00:21 +0200)] 
stailq.3: New page that will hold the (stailq) 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 agoproc.5: wfix
Jing Peng [Sat, 24 Oct 2020 22:18:13 +0000 (18:18 -0400)] 
proc.5: wfix

In the section for /proc/[pid]/smaps, the description of field
ProtectionKey occurs twice: both before and after the description of
VmFlags.

Changes made by this patch:
1) Only the first occurrence is kept because its order matches the
output of /proc/[pid]/smaps.
2) The kernel version that CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS was
introduced is only mentioned in the second occurrence. Now it's moved
to the first one.

Signed-off-by: Jing Peng <pj.hades@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
4 years agocircleq.3: ffix
Alejandro Colomar [Sat, 24 Oct 2020 22:14:59 +0000 (00:14 +0200)] 
circleq.3: ffix

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
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>