]>
git.ipfire.org Git - thirdparty/man-pages.git/log
Alejandro Colomar [Mon, 27 May 2024 21:14:08 +0000 (23:14 +0200)]
prctl.2, PR_SET_FPEMU.2const: Split PR_SET_FPEMU from prctl(2)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 18:55:00 +0000 (20:55 +0200)]
PR_GET_FP_MODE.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 18:46:13 +0000 (20:46 +0200)]
prctl.2, PR_GET_FP_MODE.2const: Split PR_GET_FP_MODE from prctl(2)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 18:40:29 +0000 (20:40 +0200)]
PR_SET_FP_MODE.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 18:31:15 +0000 (20:31 +0200)]
prctl.2, PR_SET_FP_MODE.2const: Split PR_SET_FP_MODE from prctl(2)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 18:16:15 +0000 (20:16 +0200)]
PR_GET_ENDIAN.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 17:49:50 +0000 (19:49 +0200)]
prctl.2, PR_GET_ENDIAN.2const: Split PR_GET_ENDIAN from prctl(2)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 17:36:52 +0000 (19:36 +0200)]
PR_SET_ENDIAN.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 17:31:18 +0000 (19:31 +0200)]
prctl.2, PR_SET_ENDIAN.2const: Split PR_SET_ENDIAN from prctl(2)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 17:19:33 +0000 (19:19 +0200)]
PR_GET_DUMPABLE.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 17:14:20 +0000 (19:14 +0200)]
prctl.2, PR_GET_DUMPABLE.2const: Split PR_GET_DUMPABLE from prctl(2)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 16:58:21 +0000 (18:58 +0200)]
PR_SET_DUMPABLE.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 16:49:46 +0000 (18:49 +0200)]
prctl.2, PR_SET_DUMPABLE.2const: Split PR_SET_DUMPABLE from prctl(2)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 16:16:56 +0000 (18:16 +0200)]
PR_GET_CHILD_SUBREAPER.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 16:12:13 +0000 (18:12 +0200)]
prctl.2, PR_GET_CHILD_SUBREAPER.2const: Split PR_GET_CHILD_SUBREAPER from prctl(2)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 15:58:35 +0000 (17:58 +0200)]
PR_SET_CHILD_SUBREAPER.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 15:48:39 +0000 (17:48 +0200)]
prctl.2, PR_SET_CHILD_SUBREAPER.2const: Split PR_SET_CHILD_SUBREAPER from prctl(2)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 14:40:41 +0000 (16:40 +0200)]
PR_CAPBSET_DROP.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 14:29:12 +0000 (16:29 +0200)]
prctl.2, PR_CAPBSET_DROP.2const: Split PR_CAPBSET_DROP from prctl(2)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 13:38:40 +0000 (15:38 +0200)]
PR_CAPBSET_READ.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 13:10:13 +0000 (15:10 +0200)]
prctl.2, PR_CAPBSET_READ.2const: Split PR_CAPBSET_READ from prctl(2)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Mon, 27 May 2024 23:06:54 +0000 (01:06 +0200)]
PR_CAP_AMBIENT.2const, PR_CAP_AMBIENT_CLEAR_ALL.2const: Split PR_CAP_AMBIENT_CLEAR_ALL from PR_CAP_AMBIENT(2const)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Mon, 27 May 2024 23:00:49 +0000 (01:00 +0200)]
PR_CAP_AMBIENT.2const, PR_CAP_AMBIENT_IS_SET.2const: Split PR_CAP_AMBIENT_IS_SET from PR_CAP_AMBIENT(2const)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Mon, 27 May 2024 22:50:48 +0000 (00:50 +0200)]
PR_CAP_AMBIENT.2const, PR_CAP_AMBIENT_LOWER.2const: Split PR_CAP_AMBIENT_LOWER from PR_CAP_AMBIENT(2const)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Mon, 27 May 2024 22:32:21 +0000 (00:32 +0200)]
PR_CAP_AMBIENT.2const, PR_CAP_AMBIENT_RAISE.2const: Split PR_CAP_AMBIENT_RAISE from PR_CAP_AMBIENT(2const)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 12:23:24 +0000 (14:23 +0200)]
PR_CAP_AMBIENT.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 12:20:07 +0000 (14:20 +0200)]
prctl.2, PR_CAP_AMBIENT.2const: Split PR_CAP_AMBIENT from prctl(2)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Tue, 28 May 2024 13:01:36 +0000 (15:01 +0200)]
prctl.2: SYNOPSIS: Simplify
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 15:14:42 +0000 (17:14 +0200)]
prctl.2: ERRORS: Simplify
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 12:29:32 +0000 (14:29 +0200)]
man2const/, share/mk/: 2const: New sub-chapter
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Tue, 28 May 2024 23:31:34 +0000 (01:31 +0200)]
prctl.2: tfix
Fixes: 7e3236a5a010 ("prctl(2): PR_SET_MM: Document new PR_SET_MM_MAP{,_SIZE} helpers")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 13:14:54 +0000 (15:14 +0200)]
prctl.2: wfix
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 26 May 2024 14:13:10 +0000 (16:13 +0200)]
man3const/: Use STANDARDS and HISTORY instead of CONFORMING TO
This had been done in most pages already, but it seems I had forgotted
about these pages.
Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections")
Fixes: 3113c7f3b817 ("Many pages: Use STANDARDS instead of CONFORMING TO")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Emanuele Torre [Sun, 26 May 2024 06:42:18 +0000 (08:42 +0200)]
grantpt.3: SYNOPSIS: Explicitly show #define _XOPEN_SOURCE requirement
Like the unlockpt(3) function, grantpt(3) requires _XOPEN_SOURCE to be
defined before including stdlib.h.
unlockpt.3 explicitly shows this requirement in its SYNOPSIS:
SYNOPSIS
#define _XOPEN_SOURCE
#include <stdlib.h>
int unlockpt(int fd);
But grantpt.3 did not:
SYNOPSIS
#include <stdlib.h>
int grantpt(int fd);
Message-ID: <
20240526064227 .937757-1-torreemanuele6@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Ma Xinjian [Tue, 21 May 2024 03:43:42 +0000 (11:43 +0800)]
prctl.2: Fix the description of arguments
The index of arguments in ERRORS section is not correct.
Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
Message-ID: <
20240521034342 .1967-1-maxj.fnst@fujitsu.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Matteo Croce [Mon, 20 May 2024 10:59:56 +0000 (12:59 +0200)]
proc.5: Make literals bold
Format the equal signs in the procfs mount options in bold to make it
clear that they are literal values.
Signed-off-by: Matteo Croce <teknoraver@meta.com>
Message-ID: <
20240520105956 .71532-1-technoboy85@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 19 May 2024 16:13:51 +0000 (18:13 +0200)]
lsm: wsfix
Fixes: 6071a7a5b697 ("man-pages 1.65")
Reported-by: Aaron Schrab <aaron@schrab.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 19 May 2024 14:04:47 +0000 (16:04 +0200)]
RELEASE: Add command to send lsm file
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 19 May 2024 14:08:27 +0000 (16:08 +0200)]
Start of man-pages-NEXT: Move Changes to Changes.old
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 19 May 2024 13:28:55 +0000 (15:28 +0200)]
lsm: Released 6.8
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 19 May 2024 11:35:40 +0000 (13:35 +0200)]
Changes: Ready for 6.8
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 19 May 2024 10:41:30 +0000 (12:41 +0200)]
pthread_*.3: ffix
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sun, 19 May 2024 10:43:13 +0000 (12:43 +0200)]
proc.5: ffix
Fixes: dd465607bc58 ("proc.5: Document 'subset' mount option.")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Matteo Croce [Tue, 14 May 2024 20:28:19 +0000 (22:28 +0200)]
proc.5: Document 'subset' mount option.
The 'subset=pid' option was added in commit
6814ef2d , document it.
This option mounts a procfs where only the numeric directories related
to the PIDs are present.
# mount -t proc proc_pid pid -o subset=pid
# mount |grep -w proc_pid
proc_pid on /tmp/proc/pid type proc (rw,relatime,subset=pid)
# ll -d pid/{1,$$,cmdline,version}
ls: cannot access 'pid/cmdline': No such file or directory
ls: cannot access 'pid/version': No such file or directory
dr-xr-xr-x. 9 root root 0 May 14 09:43 pid/1
dr-xr-xr-x. 9 root root 0 May 14 09:43 pid/25146
The only non-numeric entries in that procfs instance are
'self' and 'thread-self':
# ls pid |grep -vx '[[:digit:]]*'
self
thread-self
#
Cc: "G. Branden Robinson" <branden@debian.org>
Signed-off-by: Matteo Croce <teknoraver@meta.com>
Message-ID: <
20240514202819 .95347-1-technoboy85@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Tue, 14 May 2024 17:36:53 +0000 (19:36 +0200)]
string_copying.7: Document strndup(3)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Joachim Wuttke [Tue, 23 Apr 2024 07:53:03 +0000 (09:53 +0200)]
elf.5, ld.so.8: Undeprecate DT_RPATH; explain DT_RPATH vs DT_RUNPATH
In elf.5 and ld.so.8, remove deprecation of DT_RPATH
In elf.5, amend the description of DT_RUNPATH and DT_RPATH.
Rationale:
There is no credible path towards removal of DT_RPATH.
Lots of software depend on DT_RPATH as is.
It is used e.g. for testing and in binary installers.
Cc: Joseph Myers <josmyers@redhat.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: <bug-binutils@gnu.org>
Signed-off-by: Joachim Wuttke <j.wuttke@fz-juelich.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Sat, 4 May 2024 21:51:31 +0000 (23:51 +0200)]
share/mk/: distcheck: Run 'check' after 'build'
In this project, it doesn't matter, but in some cases, it's useful that
check doesn't imply build, such as in liba2i.git. Cherry-picking this
change reduces differences in build systems.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Cherry-picked-from: liba2i.git
7246995b3464 ("share/mk/: distcheck: 'check' must be run after 'build'")
Link: <https://git.kernel.org/pub/scm/libs/liba2i/liba2i.git/>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Tue, 16 Apr 2024 16:19:35 +0000 (18:19 +0200)]
share/mk/: $LD: Fix definition to include $CPPFLAGS
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Cherry-picked-from: liba2i.git
ecc5ea650c45 ("share/mk/: $LD: Fix definition to include $CPPFLAGS")
Link: <https://git.kernel.org/pub/scm/libs/liba2i/liba2i.git/>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Fri, 3 May 2024 16:11:45 +0000 (18:11 +0200)]
CONTRIBUTING.d/*: Add instructions for configuring git(1) for this project
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Fri, 3 May 2024 11:22:25 +0000 (13:22 +0200)]
locale_t.3type: Add page
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Fri, 3 May 2024 00:17:10 +0000 (02:17 +0200)]
mbsinit.3, mbstate_t.3type: Split page into one for the type and one for the function
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Thu, 2 May 2024 11:39:19 +0000 (13:39 +0200)]
wint_t.3type: Add page
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Thu, 2 May 2024 11:39:09 +0000 (13:39 +0200)]
wchar_t.3type: Add page
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Wed, 1 May 2024 23:17:17 +0000 (01:17 +0200)]
share/mk/: lint-c-iwyu: Add exception
Link: <https://github.com/include-what-you-use/include-what-you-use/pull/1533>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Wed, 1 May 2024 23:03:49 +0000 (01:03 +0200)]
man/: EXAMPLES: Add missing includes
Link: <https://github.com/include-what-you-use/include-what-you-use/pull/1283>
Link: <https://github.com/include-what-you-use/include-what-you-use/pull/1344>
Reported-by: iwyu(1) (`make lint-c-iwyu`)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Wed, 1 May 2024 22:46:26 +0000 (00:46 +0200)]
etc/cppcheck/cppcheck.suppress: Add unusedStructMember
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Wed, 1 May 2024 22:45:27 +0000 (00:45 +0200)]
share/mk/: $CPPCHECKFLAGS: Add --check-level=exhaustive
This avoids warnings of the form:
...: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Fri, 26 Apr 2024 13:06:49 +0000 (15:06 +0200)]
man/, share/mk/: Move man*/ to man/
This is a scripted change:
$ mkdir man/;
$ mv man* man/;
$ ln -st . man/man*;
$ find share/mk/ -type f \
| xargs grep -l '^MANDIR *:=' \
| xargs sed -i '/^MANDIR *:=/s,$,/man,';
$ find share/mk/dist/ -type f \
| xargs grep -l man \
| xargs sed -i 's,man%,man/%,g';
Link: <https://lore.kernel.org/linux-man/YxcV4h+Xn7cd6+q2@pevik/T/>
Cc: Petr Vorel <pvorel@suse.cz>
Cc: Jakub Wilk <jwilk@jwilk.net>
Cc: Stefan Puiu <stefan.puiu@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Mon, 29 Apr 2024 22:33:52 +0000 (00:33 +0200)]
CONTRIBUTING.d/patches: Please provide a git-range-diff(1)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Mon, 29 Apr 2024 22:33:27 +0000 (00:33 +0200)]
CONTRIBUTING.d/patches: Add git-send-email(1) configuration for To and Cc
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Mon, 29 Apr 2024 21:59:00 +0000 (23:59 +0200)]
CONTRIBUTING.d/mail: Recommend specific mutt(1) config
We want protected headers too.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Rodrigo Campos [Tue, 9 Apr 2024 14:10:46 +0000 (15:10 +0100)]
mount_setattr.2: Update supported file-systems
Let's update the list with the latest file-systems that added support.
You can easily verify this by "git grep FS_ALLOW_IDMAP" on the given
Linux version to see that the fs is listed and then checkout the
previous Linux version to see that it is not listed, therefore it was
added in that version.
$ diff -w -U0 \
<(git grep FS_ALLOW_IDMAP v6.8 | sed 's/^v6.8://') \
<(git grep FS_ALLOW_IDMAP v6.9-rc4 | sed 's/^v6.9-rc4://') \
| tail -n+4;
+fs/hugetlbfs/inode.c: .fs_flags = FS_ALLOW_IDMAP,
$ diff -w -U0 \
<(git grep FS_ALLOW_IDMAP v6.6 | sed 's/^v6.6://') \
<(git grep FS_ALLOW_IDMAP v6.7 | sed 's/^v6.7://') \
| tail -n+4;
+fs/ceph/super.c: .fs_flags = FS_RENAME_DOES_D_MOVE | FS_ALLOW_IDMAP,
$ diff -w -U0 \
<(git grep FS_ALLOW_IDMAP v6.2 | sed 's/^v6.2://') \
<(git grep FS_ALLOW_IDMAP v6.3 | sed 's/^v6.3://') \
| tail -n+4;
+mm/shmem.c: .fs_flags = FS_USERNS_MOUNT | FS_ALLOW_IDMAP,
$ diff -w -U0 \
<(git grep FS_ALLOW_IDMAP v6.1 | sed 's/^v6.1://') \
<(git grep FS_ALLOW_IDMAP v6.2 | sed 's/^v6.2://') \
| tail -n+4;
+fs/squashfs/super.c: .fs_flags = FS_REQUIRES_DEV | FS_ALLOW_IDMAP,
Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Fri, 26 Apr 2024 14:25:34 +0000 (16:25 +0200)]
CONTRIBUTING.d/: Clarify how to send patches with git-send-email(1)
Cc: Simon Barth <simon.barth@gmx.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Wed, 24 Apr 2024 10:26:48 +0000 (12:26 +0200)]
share/mk/: build-html: Don't build mbind.2 and set_mempolicy.2
They have known warnings.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Simon Barth [Wed, 24 Apr 2024 00:09:50 +0000 (02:09 +0200)]
slist.3: wfix
This page is about singly linked lists, not doubly linked lists.
Signed-off-by: Simon Barth <simon.barth@gmx.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Svetly Todorov [Tue, 23 Apr 2024 23:36:56 +0000 (16:36 -0700)]
man2/: Add MPOL_WEIGHTED_INTERLEAVE documentation
Add documentation for the new MPOL_WEIGHTED_INTERLEAVE mode in the same
manual pages that mention MPOL_INTERLEAVE; namely, mbind(2),
set_mempolicy(2), and get_mempolicy(2).
Descriptions were based on the changes introduced in this patch:
<https://lore.kernel.org/all/
20240202170238 .90004-4-gregory.price@memverge.com/>
Which was upstreamed to 6.9 here:
<https://lore.kernel.org/linux-mm/
20240313200532 .
34e4cff216acd3db8def4637 @linux-foundation.org/>
Cc: gregory.price@memverge.com
Reviewed-by: "Huang, Ying" <ying.huang@intel.com>
Signed-off-by: Svetly Todorov <svetly.todorov@memverge.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Tue, 23 Apr 2024 11:58:17 +0000 (13:58 +0200)]
strchr.3: HISTORY: strchrnul(3) is present in FreeBSD and NetBSD
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Emanuele Torre [Sun, 21 Apr 2024 21:48:53 +0000 (23:48 +0200)]
open.2: protected_* sysctls are defined in proc_sys_fs(5), not proc(5)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Fri, 19 Apr 2024 18:05:53 +0000 (20:05 +0200)]
share/mk/: Fix includes
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Fri, 19 Apr 2024 17:50:52 +0000 (19:50 +0200)]
share/mk/: Split makefiles
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Fri, 19 Apr 2024 13:59:40 +0000 (15:59 +0200)]
share/mk/: build-fonts-tinos: Build TinosR from TinosR.afm
And use a consistent name for it: TinosR, not TINOR. This removes the
last remaining huge generated file we had in the repository.
Link: <https://technicallywewrite.com/2023/09/16/addfonts>
Link: <https://www.schaffter.ca/mom/momdoc/appendices.html#fonts>
Cc: Jan Eden <tech@eden.one>
Cc: "G. Branden Robinson" <branden@debian.org>
Cc: Deri James <deri@chuzzlewit.myzen.co.uk>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Fri, 19 Apr 2024 13:16:34 +0000 (15:16 +0200)]
share/mk/: build-fonts-tinos: Build TinosR.afm from Tinos-Regular.ttf
This will allow generating the font description file from it, which will
be done in the next commit.
Link: <https://technicallywewrite.com/2023/09/16/addfonts>
Link: <https://www.schaffter.ca/mom/momdoc/appendices.html#fonts>
Cc: Jan Eden <tech@eden.one>
Cc: "G. Branden Robinson" <branden@debian.org>
Cc: Deri James <deri@chuzzlewit.myzen.co.uk>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Thu, 18 Apr 2024 00:30:00 +0000 (02:30 +0200)]
share/mk/: Remove unused variable
Co-developed-by: Deri James <deri@chuzzlewit.myzen.co.uk>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Tue, 16 Apr 2024 20:04:52 +0000 (22:04 +0200)]
share/mk/: build-fonts: Use $FONTSDIR/devpdf/, and add the download file
See gropdf(1).
Reported-by: Deri <deri@chuzzlewit.myzen.co.uk>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
G. Branden Robinson [Mon, 15 Apr 2024 22:39:42 +0000 (17:39 -0500)]
syscalls.2: srcfix
Tweak input format of table text blocks to make a planned sed-driven
update simpler and more reliable.
Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
G. Branden Robinson [Mon, 15 Apr 2024 22:39:29 +0000 (17:39 -0500)]
getpagesize.2: tfix
Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Tue, 16 Apr 2024 01:35:04 +0000 (03:35 +0200)]
share/mk/: build-pdf-book: Fix chapter bookmarks
So that they can be folded.
Suggested-by: Deri James <deri@chuzzlewit.myzen.co.uk>
Cc: "G. Branden Robinson" <branden@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Tue, 16 Apr 2024 01:23:16 +0000 (03:23 +0200)]
share/mk/: build-pdf-book: Add support for mdoc(7) pages, with -mandoc
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Tue, 16 Apr 2024 01:17:16 +0000 (03:17 +0200)]
share/mk/: build-pdf-book: Use -rC1, to have strictly increasing page numbers
Suggested-by: "G. Branden Robinson" <branden@debian.org>
Suggested-by: Deri James <deri@chuzzlewit.myzen.co.uk>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Tue, 16 Apr 2024 00:02:17 +0000 (02:02 +0200)]
share/mk/: Read files before 'if'
'if' turns off set -e. We want to read files before 'if', so that if
they don't exist, the shell will error out.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Mon, 15 Apr 2024 23:16:08 +0000 (01:16 +0200)]
GNUmakefile: Simplify the $SHELL
nixpkgs does not provide /usr/bin/env, so they had to work around it by
specifying just env. Since make(1) accepts program names instead of
paths, we can as well use bash directly, which is simpler.
Link: <https://github.com/NixOS/nixpkgs/pull/300797>
Reported-by: Sergei Trofimovich <slyich@gmail.com>
Cc: Mario Rodas <https://github.com/marsam>
Cc: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Mon, 15 Apr 2024 22:29:17 +0000 (00:29 +0200)]
share/mk/: install-man: Don't pipe to install(1)
install(1) doesn't work well in Darwin. It seems to be unable to handle
</dev/stdin>. The problem seems to be that Darwin's stdin misbehaves.
I've only workarounded the install target, and not the dist target,
since it's unlikely that one would run it in such a broken system. But
since installing the pages is a common operation that everybody needs,
let's work around it here.
Fixes: 30c38a8bf8ae ("*.mk: Pipe to install(1)")
Link: <https://github.com/NixOS/nixpkgs/pull/300797>
Closes: <https://bugzilla.kernel.org/show_bug.cgi?id=218730>
Reported-by: Sergei Trofimovich <slyich@gmail.com>
Reported-by: Mario Rodas <https://github.com/marsam>
Cc: Eli Schwartz <eschwartz93@gmail.com>
Cc: Pádraig Brady <P@draigBrady.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Mon, 15 Apr 2024 22:26:08 +0000 (00:26 +0200)]
share/mk/: build-pdf-book: Use the system's man(7) macros
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Salvatore Bonaccorso [Fri, 12 Apr 2024 18:29:06 +0000 (20:29 +0200)]
proc.5: Refer to split-out manual pages for detailed description
Back in August 2023 various parts of proc(5) were split out into
separate manpages. The final cleanup in
92cdcec79df0 ("proc.5: Clean up
after making sashimi of this page") missed to as well refer to the split
out manpages and retained the wording that details are found further
below in the manpages for the various files.
Fixes: 92cdcec79df0 ("proc.5: Clean up after making sashimi of this page")
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Wed, 10 Apr 2024 00:29:29 +0000 (02:29 +0200)]
man3/, debian/debhelper.in/glibc-doc.links: Move link pages to their place
Scripted change:
$ cat debian/debhelper.in/glibc-doc.links \
| while read l; do \
echo $l \
| awk '{print $1}' \
| sed 's,usr/share/man/,.so ,' \
| sed 's,\.gz,,' \
> "$(echo $l \
| awk '{print $2}' \
| sed 's,usr/share/man/,,' \
| sed 's,\.gz,,')";
done;
$ rm debian/debhelper.in/glibc-doc.links
Link: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1068188 >
Link: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1068166 >
Link: <https://lore.kernel.org/linux-man/
703ec07e -dd2b-bbc6-f1bc-
f495e53b764f @gmail.com/T/>
Cc: Marcos Fouces <marcos@debian.org>
Cc: Sven Joachim <svenjoac@gmx.de>
Cc: Bas Couwenberg <sebastic@xs4all.nl>
Cc: Andreas Beckmann <anbe@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Wed, 10 Apr 2024 00:23:45 +0000 (02:23 +0200)]
Revert "debian/debhelper.in/glibc-doc.{links,manpages}, debian/local/manpages/pthread_*: drop the man pages for libpthread functions, as they are now included in manpages-dev. Closes: #
1068188 ."
This reverts commit
c75bae912ab3b138687060df3701a888388e3d09 .
Alejandro Colomar [Wed, 10 Apr 2024 00:16:14 +0000 (02:16 +0200)]
Import pthread_*.3 link pages' git history from debian/glibc.git
These are the link pages, which I forgot to import in
87183bb8e9ec
("Import debian/local/manpages/pthread_*.3 git history from debian/glibc")
They aren't files in the debian repository, but they were generated at
build time, which is the reason I missed them.
Here's the process:
$ git clone git@salsa.debian.org:glibc-team/glibc.git
$ cd glibc/
$ git filter-repo --path debian/debhelper.in/glibc-doc.links
$ git tag | xargs git tag -d
$ git branch | xargs git branch -D
$ git remote add man file:///home/alx/src/linux/man-pages/man-pages/.bare.git
$ git fetch man
$ git rebase man/contrib
Subsequent commits will move the pages to the appropriate place.
Fixes: 87183bb8e9ec ("Import debian/local/manpages/pthread_*.3 git history from debian/glibc")
Link: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1068188 >
Link: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1068166 >
Link: <https://lore.kernel.org/linux-man/
703ec07e -dd2b-bbc6-f1bc-
f495e53b764f @gmail.com/T/>
Cc: Marcos Fouces <marcos@debian.org>
Cc: Sven Joachim <svenjoac@gmx.de>
Cc: Bas Couwenberg <sebastic@xs4all.nl>
Cc: Andreas Beckmann <anbe@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Aurelien Jarno [Tue, 9 Apr 2024 19:44:40 +0000 (21:44 +0200)]
debian/debhelper.in/glibc-doc.{links,manpages}, debian/local/manpages/pthread_*: drop the man pages for libpthread functions, as they are now included in manpages-dev. Closes: #
1068188 .
Aurelien Jarno [Wed, 1 Sep 2010 21:11:16 +0000 (21:11 +0000)]
* Remove manpages now provided by manpages-dev (closes: bug#595194):
- pthread_kill_other_threads_np (3)
- pthread_sigmask (3)
svn path=/glibc-package/trunk/; revision=4409
Aurelien Jarno [Wed, 7 Jan 2009 15:58:28 +0000 (15:58 +0000)]
* Remove manpage that will be provided by manpages-dev. Closes: bug#506515,
bug#505784.
svn path=/glibc-package/branches/glibc-2.9/; revision=3223
Aurelien Jarno [Mon, 23 Apr 2007 09:41:15 +0000 (09:41 +0000)]
* debian/debhelper.in/glibc-doc.links: add missing manpages links for
functions documented with others. Closes: #413989.
svn path=/glibc-package/trunk/; revision=2114
Clint Adams [Wed, 11 Apr 2007 03:07:27 +0000 (03:07 +0000)]
update trunk to 2.5-1
svn path=/glibc-package/trunk/; revision=2040
Aurelien Jarno [Tue, 15 Aug 2006 20:40:10 +0000 (20:40 +0000)]
* Backport from experimental (thanks Denis):
- Remove the GNU Libc Reference manual from glibc-doc because it is
not DFSG-free. (Closes: #181494)
The whole glibc-2.3.6/manual directory is removed from glibc-2.3.6.ds1.tar.bz2.
- debian/control: Drop Build-Depends: texinfo, texi2html.
- debian/control: Drop references to the antique libc-doc package.
- all/cvs-manual-memory.diff: removed.
- all/cvs-manual-string.diff: removed.
svn path=/glibc-package/trunk/; revision=1742
Denis Barbier [Wed, 10 May 2006 23:32:00 +0000 (23:32 +0000)]
Remove sem_*.3 manual pages from glibc-doc, these manual pages are updated
and maintained in the manpages-dev package. (Closes: #365547)
svn path=/glibc-package/trunk/; revision=1475
GOTO Masanori [Tue, 16 Mar 2004 14:21:45 +0000 (14:21 +0000)]
- debian/debhelper.in/glibc-doc.links: add manpages links for sem_*.
svn path=/trunk/; revision=649
GOTO Masanori [Mon, 17 Nov 2003 09:43:27 +0000 (09:43 +0000)]
- debian/debhelper.in/glibc-doc.links: add missing links for
pthread_mutex_*(), pthread_mutexattr_*(), pthread_cond_*(), and
pthread_condattr_*().
svn path=/trunk/; revision=603
Daniel Jacobowitz [Tue, 28 Oct 2003 23:07:31 +0000 (23:07 +0000)]
Files missed in merge. Clean *.doc-base.
svn path=/trunk/; revision=564
Alejandro Colomar [Tue, 9 Apr 2024 21:56:44 +0000 (23:56 +0200)]
share/mk/: Remove support for installing compressed pages
I don't like compressed pages: they make it more difficult/slow to grep
them. This was added to make it easier for users to install compressed
pages even when installing from source, but probably nobody cares at all
these days about a few KiB per page; drive space got cheap. Also, some
of the algorithms were added just for benchmarking (for demonstrating
that they were bad in this case), and not for real use.
This reduces a use of compression tools, which seem to be dangerous
these days.
Link: <https://tukaani.org/xz-backdoor/>
Link: <https://cmpct.info/~sam/blog/posts/automatic-manpage-compression/>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Tue, 9 Apr 2024 12:18:40 +0000 (14:18 +0200)]
S_ISBLK.3, S_ISCHR.3, S_ISDIR.3, S_ISFIFO.3, S_ISLNK.3, S_ISREG.3, S_ISSOCK.3: Add link pages to inode(7)
These function-like macros are described in inode(7).
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Alejandro Colomar [Mon, 8 Apr 2024 17:25:13 +0000 (19:25 +0200)]
share/mk/: build: Add exceptions
With the larger font size, these pages have warnings.
Signed-off-by: Alejandro Colomar <alx@kernel.org>