summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* etc/cpplint/cpplint.cfg: -build/header_guardAlejandro Colomar2024-03-26-1/+1
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: $CFLAGS: -Wno-reserved-identifier, -Wno-unused-macrosAlejandro Colomar2024-03-26-0/+2
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: lint-c-iwyu: Add exceptionsAlejandro Colomar2024-03-26-0/+2
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* shmop.2: EXAMPLES: ffixAlejandro Colomar2024-03-26-3/+3
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* man*/: EXAMPLES: Add include guardsAlejandro Colomar2024-03-26-0/+14
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* man*/: EXAMPLES: Fix includesAlejandro Colomar2024-03-26-9/+13
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: lint-c: Lint headers from EXAMPLESAlejandro Colomar2024-03-26-4/+4
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Sync with liba2i's build systemAlejandro Colomar2024-03-26-303/+327
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: build-pdf*, install-pdf*: Rename targets for consistencyAlejandro Colomar2024-03-24-60/+88
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/, scripts/LinuxManBook/build.sh: Embed script in the makefilesAlejandro Colomar2024-03-24-35/+12
| | | | | | | This is done for simplifying, and as a side effect, it also allows much more control on the script (e.g., TROFFFLAGS). Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: [un]install-pdf: Add target to install the PDF bookAlejandro Colomar2024-03-24-6/+40
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: $EXTRAVERSION: Add variable to append to the versionAlejandro Colomar2024-03-24-1/+2
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Derive $DISTNAME from $DISTVERSIONAlejandro Colomar2024-03-24-8/+10
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Reorganize build systemAlejandro Colomar2024-03-24-106/+134
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: dist: Don't stamp the version on the manual pagesAlejandro Colomar2024-03-23-4/+1
| | | | | | | | | This will allow downstream packages to set their own version, just by setting $DISTVERSION. It will be stamped at `make install` time. Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: $MANPAGEDATECMD: Use a variable for setting the date of manual pagesAlejandro Colomar2024-03-23-2/+5
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: build-*: Specify manual pages' version and dateAlejandro Colomar2024-03-23-48/+27
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Fix includesAlejandro Colomar2024-03-23-6/+7
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: build-man: Split ruleAlejandro Colomar2024-03-22-5/+82
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Use more robust regexAlejandro Colomar2024-03-22-4/+4
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: build-book, build-man, install-man: Specify version and dateAlejandro Colomar2024-03-21-10/+43
| | | | | | | | | | | | | | Each page has its own date. Add new 'build-man' target, which stamps the date and version in the pages (in $builddir, not the source ones). Build-system internal stuff: $CURDIR will be used for the build system, while $srcdir will be used for the project root of the repository. This helps use this build system in other projects. Signed-off-by: Alejandro Colomar <alx@kernel.org>
* scripts/LinuxManBook/prepare.pl: Use more robust pipelinesAlejandro Colomar2024-03-21-2/+7
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* GNUmakefile: help: wfixAlejandro Colomar2024-03-20-2/+2
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Reorganize dependenciesAlejandro Colomar2024-03-20-278/+564
| | | | | | Use one directory per each (Debian) package, and one file per command. Signed-off-by: Alejandro Colomar <alx@kernel.org>
* GNUmakefile: help: Hide variables not meant for usersAlejandro Colomar2024-03-19-2/+2
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* Start of man-pages-NEXT: Move Changes to Changes.oldAlejandro Colomar2024-03-19-19/+56
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* lsm: Released 6.7Alejandro Colomar2024-03-19-3/+3
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* Changes: Ready for 6.7man-pages-6.7Alejandro Colomar2024-03-19-9/+19
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* Changes: git(1) already shows contributorsAlejandro Colomar2024-03-19-12/+1
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* GNUmakefile, INSTALL, RELEASE: Expand 'make help' to document dependenciesAlejandro Colomar2024-03-19-34/+18
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* GNUmakefile: help: Add a simple helpAlejandro Colomar2024-03-19-0/+16
| | | | | | | It documents how to actually get the targets and variables with a pipeline. Signed-off-by: Alejandro Colomar <alx@kernel.org>
* GNUmakefile: Use a more portable $SHELLAlejandro Colomar2024-03-19-2/+3
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* GNUmakefile: Remove helpAlejandro Colomar2024-03-19-182/+0
| | | | | | | | | | | | | | | | | It gets out of date easily, and it's always more accurate to actually read the makefiles, or run a command that parses them for us. In the case of .PHONY targets, or available variables, here are two commands that can help: $ make nothing -p \ | grep '^\.PHONY:' \ | tr ' ' '\n' \ | grep -v '^\.PHONY:' \ | sort; $ grep -rho '^[^[:space:]].*=' GNUmakefile share/mk/configure/; Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/lint, share/mk/: Move *.grep filesAlejandro Colomar2024-03-19-5/+5
| | | | | | They're part of the build system, so put them under <share/mk/>. Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Split long lineAlejandro Colomar2024-03-19-1/+7
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Rename variablesAlejandro Colomar2024-03-19-12/+13
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: We don't use man2html(1) any moreAlejandro Colomar2024-03-19-15/+0
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: $htmlext: Remove unused variableAlejandro Colomar2024-03-19-4/+0
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Print SED rather than CPAlejandro Colomar2024-03-19-1/+1
| | | | | | That's what we use. Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: wsfixAlejandro Colomar2024-03-19-5/+5
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: sort(1) input to tar(1)Alejandro Colomar2024-03-18-0/+2
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Consistency fixes in copyright linesAlejandro Colomar2024-03-18-36/+36
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: build-html: Skip known errors (in groff-1.23.0)Alejandro Colomar2024-03-18-1/+4
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* LICENSES/: Add LGPL-3.0-or-later and LGPL-3.0-linking-exceptionAlejandro Colomar2024-03-18-0/+320
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Update licenseAlejandro Colomar2024-03-18-51/+27
| | | | Signed-off-by: Alejandro Colomar <alx@kernel.org>
* share/mk/: Use grohtml(1) instead of man2html(1)Alejandro Colomar2024-03-18-40/+103
| | | | | | | | | | man2html(1) crashes on tzfile(5), and the upstream project is defunct. Link: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067022> Cc: Paul Eggert <eggert@cs.ucla.edu> Cc: "G. Branden Robinson" <branden@debian.org> Cc: Robert Luberda <robert@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
* proc_pid_io.5: Move note to CAVEATSAlejandro Colomar2024-03-18-6/+5
| | | | | Cc: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
* bpf.2: wfixJing Peng2024-03-18-1/+1
| | | | | Signed-off-by: Jing Peng <pj.hades@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
* ip.7: Some socket options are not supported by SOCK_STREAMOliver Crumrine2024-03-17-0/+13
| | | | | | | | | | | | | | | | | It was not made clear in several socket options that they were not supported by SOCK_STREAM; this patch fixes that. Socket options not supported by SOCK_STREAM are handled in the ip_cmsg_recv_offset() function in <net/ipv4/ip_sockglue.c>. The function is called for udp sockets, and indirectly by ping and raw sockets, but not for STREAM sockets, as they don't support these options. Link: <https://lore.kernel.org/linux-man/ejhphmjh74ebtk4br3id66f27a4yoh4aukrcz7m6dp7acsu6zr@crtueyadqzmp/T/#mb298ac7f71a348d1e6b423cfa32bfad9c28efa40> Link: <https://lore.kernel.org/linux-man/ejhphmjh74ebtk4br3id66f27a4yoh4aukrcz7m6dp7acsu6zr@crtueyadqzmp/T/#u> Signed-off-by: Oliver Crumrine <ozlinuxc@gmail.com> Cc: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Alejandro Colomar <alx@kernel.org>
* proc_pid_io.5: Dewafflifyнаб2024-03-17-37/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | This page copies verbatim the contents of Documentation/filesystems/proc.rst, added wholesale in commit f9c99463b0cd05603d125c915e2886d55a686b82 ("[PATCH] Documentation for io-accounting / reporting via procfs") in 2007. As such, it mirrors the sensibilities of the time ‒ writing "successful read returns" as "data pulled from storage. actually just the data the process gave to read(). this also means from non-regular files! whether the data was pulled from storage doesn't matter actually (obligatory cache mention)" for the modern reader this is just a lot of waffling (note also that processes give no data to read()!) ‒ and sensibilities of the sheepish implementer in kernel documentation ‒ "an attempt" for a well-defined kernel behaviour, mentioning the "current implementation", consistent mentions of specific kernel-internal caching mechanisms, "the big inaccuracy here". Re-write to be more useful and less misleading as documentation; the syscall enumeration is accurate for kernel v6.8, but the sysc? stats are also bumped by kernel_{read,write}(), which is sometimes used by too many syscalls in too many scenarios to usefully enumerate. Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>