summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* string_copying.7: Document strndup(3)contribAlejandro Colomar3 days-0/+42
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* elf.5, ld.so.8: Undeprecate DT_RPATH; explain DT_RPATH vs DT_RUNPATHHEADmainJoachim Wuttke10 days-3/+2
| | | | | | | | | | | | | | | | 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>
* share/mk/: distcheck: Run 'check' after 'build'Alejandro Colomar11 days-2/+5
| | | | | | | | | | | 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>
* share/mk/: $LD: Fix definition to include $CPPFLAGSAlejandro Colomar12 days-1/+2
| | | | | | | 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>
* CONTRIBUTING.d/*: Add instructions for configuring git(1) for this projectAlejandro Colomar13 days-21/+46
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* locale_t.3type: Add pageAlejandro Colomar14 days-0/+43
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* mbsinit.3, mbstate_t.3type: Split page into one for the type and one for the ↵Alejandro Colomar14 days-50/+90
| | | | | | function Signed-off-by: Alejandro Colomar <alx@kernel.org>
* wint_t.3type: Add pageAlejandro Colomar14 days-0/+56
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* wchar_t.3type: Add pageAlejandro Colomar14 days-0/+48
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: lint-c-iwyu: Add exceptionAlejandro Colomar2024-05-02-0/+1
| | | | | Link: <https://github.com/include-what-you-use/include-what-you-use/pull/1533> Signed-off-by: Alejandro Colomar <alx@kernel.org>
* man/: EXAMPLES: Add missing includesAlejandro Colomar2024-05-02-0/+25
| | | | | | | 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>
* etc/cppcheck/cppcheck.suppress: Add unusedStructMemberAlejandro Colomar2024-05-02-0/+1
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: $CPPCHECKFLAGS: Add --check-level=exhaustiveAlejandro Colomar2024-05-02-0/+1
| | | | | | | | 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>
* man/, share/mk/: Move man*/ to man/Alejandro Colomar2024-05-02-3/+15
| | | | | | | | | | | | | | | | | | | | 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>
* CONTRIBUTING.d/patches: Please provide a git-range-diff(1)Alejandro Colomar2024-04-30-0/+30
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* CONTRIBUTING.d/patches: Add git-send-email(1) configuration for To and CcAlejandro Colomar2024-04-30-0/+7
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* CONTRIBUTING.d/mail: Recommend specific mutt(1) configAlejandro Colomar2024-04-29-0/+6
| | | | | | We want protected headers too. Signed-off-by: Alejandro Colomar <alx@kernel.org>
* mount_setattr.2: Update supported file-systemsRodrigo Campos2024-04-29-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* CONTRIBUTING.d/: Clarify how to send patches with git-send-email(1)Alejandro Colomar2024-04-27-9/+26
| | | | | Cc: Simon Barth <simon.barth@gmx.de> Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: build-html: Don't build mbind.2 and set_mempolicy.2Alejandro Colomar2024-04-26-0/+2
| | | | | | They have known warnings. Signed-off-by: Alejandro Colomar <alx@kernel.org>
* slist.3: wfixSimon Barth2024-04-26-1/+1
| | | | | | | 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>
* man2/: Add MPOL_WEIGHTED_INTERLEAVE documentationSvetly Todorov2024-04-26-3/+43
| | | | | | | | | | | | | | | | | 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>
* strchr.3: HISTORY: strchrnul(3) is present in FreeBSD and NetBSDAlejandro Colomar2024-04-26-1/+3
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* open.2: protected_* sysctls are defined in proc_sys_fs(5), not proc(5)Emanuele Torre2024-04-26-1/+1
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Fix includesAlejandro Colomar2024-04-19-3/+1
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Split makefilesAlejandro Colomar2024-04-19-41/+87
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: build-fonts-tinos: Build TinosR from TinosR.afmAlejandro Colomar2024-04-19-3528/+26
| | | | | | | | | | | | 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>
* share/mk/: build-fonts-tinos: Build TinosR.afm from Tinos-Regular.ttfAlejandro Colomar2024-04-19-3/+37
| | | | | | | | | | | | 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>
* share/mk/: Remove unused variableAlejandro Colomar2024-04-18-1/+0
| | | | | Co-developed-by: Deri James <deri@chuzzlewit.myzen.co.uk> Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: build-fonts: Use $FONTSDIR/devpdf/, and add the download fileAlejandro Colomar2024-04-17-5/+32
| | | | | | | See gropdf(1). Reported-by: Deri <deri@chuzzlewit.myzen.co.uk> Signed-off-by: Alejandro Colomar <alx@kernel.org>
* syscalls.2: srcfixG. Branden Robinson2024-04-17-3/+4
| | | | | | | | 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>
* getpagesize.2: tfixG. Branden Robinson2024-04-17-1/+1
| | | | | Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: build-pdf-book: Fix chapter bookmarksAlejandro Colomar2024-04-16-1/+2
| | | | | | | | 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>
* share/mk/: build-pdf-book: Add support for mdoc(7) pages, with -mandocAlejandro Colomar2024-04-16-1/+1
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: build-pdf-book: Use -rC1, to have strictly increasing page numbersAlejandro Colomar2024-04-16-1/+1
| | | | | | 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>
* share/mk/: Read files before 'if'Alejandro Colomar2024-04-16-14/+21
| | | | | | | '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>
* GNUmakefile: Simplify the $SHELLAlejandro Colomar2024-04-16-3/+2
| | | | | | | | | | | | 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>
* share/mk/: install-man: Don't pipe to install(1)Alejandro Colomar2024-04-16-3/+3
| | | | | | | | | | | | | | | | | | | 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>
* share/mk/: build-pdf-book: Use the system's man(7) macrosAlejandro Colomar2024-04-16-1613/+2
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* proc.5: Refer to split-out manual pages for detailed descriptionSalvatore Bonaccorso2024-04-14-1/+3
| | | | | | | | | | | | 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>
* man3/, debian/debhelper.in/glibc-doc.links: Move link pages to their placeAlejandro Colomar2024-04-10-17/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Revert "debian/debhelper.in/glibc-doc.{links,manpages}, ↵Alejandro Colomar2024-04-10-0/+17
| | | | | | 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.
* Import pthread_*.3 link pages' git history from debian/glibc.gitAlejandro Colomar2024-04-10-0/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * debian/debhelper.in/glibc-doc.{links,manpages}, ↵Aurelien Jarno2024-04-10-17/+0
| | | | | | | | debian/local/manpages/pthread_*: drop the man pages for libpthread functions, as they are now included in manpages-dev. Closes: #1068188.
| * * Remove manpages now provided by manpages-dev (closes: bug#595194):Aurelien Jarno2024-04-10-2/+0
| | | | | | | | | | | | | | | | - pthread_kill_other_threads_np (3) - pthread_sigmask (3) svn path=/glibc-package/trunk/; revision=4409
| * * Remove manpage that will be provided by manpages-dev. Closes: bug#506515,Aurelien Jarno2024-04-10-18/+0
| | | | | | | | | | | | | | bug#505784. svn path=/glibc-package/branches/glibc-2.9/; revision=3223
| * * debian/debhelper.in/glibc-doc.links: add missing manpages links forAurelien Jarno2024-04-10-10/+28
| | | | | | | | | | | | | | functions documented with others. Closes: #413989. svn path=/glibc-package/trunk/; revision=2114
| * update trunk to 2.5-1Clint Adams2024-04-10-0/+3
| | | | | | | | svn path=/glibc-package/trunk/; revision=2040
| * * Backport from experimental (thanks Denis):Aurelien Jarno2024-04-10-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| * Remove sem_*.3 manual pages from glibc-doc, these manual pages are updatedDenis Barbier2024-04-10-6/+0
| | | | | | | | | | | | and maintained in the manpages-dev package. (Closes: #365547) svn path=/glibc-package/trunk/; revision=1475