aboutsummaryrefslogtreecommitdiffstats
path: root/man
AgeCommit message (Collapse)AuthorFilesLines
2024-07-22listmount.2: Add pageJosef Bacik1-0/+116
Cc: Christian Brauner <brauner@kernel.org> Cc: Miklos Szeredi <mszeredi@redhat.com> Cc: <linux-fsdevel@vger.kernel.org> Cc: <kernel-team@fb.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Message-ID: <2d72a44fa49f47bd7258d7efb931926b26de4004.1720549824.git.josef@toxicpanda.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-22prctl.2: Add PR_RISCV_SET_ICACHE_FLUSH_CTXCharlie Jenkins2-0/+155
Document the PR_RISCV_SET_ICACHE_FLUSH_CTX flag for prctl(2) that is supported as of Linux 6.10. Cc: Alexandre Ghiti <alexghiti@rivosinc.com> Signed-off-by: Charlie Jenkins <charlie@rivosinc.com> Message-ID: <20240709-fencei_prctl-v5-1-a0391069f746@rivosinc.com> [alx: ffix + consistent line breaks] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-20shm_open.3: EXAMPLES: Add missing error handlingAlejandro Colomar1-2/+4
Reported-by: gcc(1) (`make build-ex-cc`) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-20getutent.3: EXAMPLES: Add missing error handlingAlejandro Colomar1-5/+11
Reported-by: gcc(1) (`make build-ex-cc`) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-20pipe.2: EXAMPLES: Add missing error handlingAlejandro Colomar1-17/+23
Reported-by: gcc(1) (`make build-ex-cc`) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-20perf_event_open.2: EXAMPLES: Add missing error handlingAlejandro Colomar1-9/+13
GCC now enables -Wunused-result by default. Reported-by: gcc(1) (`make build-ex-cc`) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-12landlock_*.2: Mention -1 return code on failurePetr Vorel3-0/+12
Mention -1 return code on failure for landlock_add_rule(2), landlock_create_ruleset(2) and landlock_restrict_self(2). Although it's a common rule to return -1 on error, it's better to be explicit (as the other man pages are). Fixes: a01d04a69 ("landlock_add_rule.2: Document new syscall") Fixes: ca5163697 ("landlock_create_ruleset.2: Document new syscall") Fixes: 3f7e4f808 ("landlock_restrict_self.2: Document new syscall") Reviewed-by: Günther Noack <gnoack@google.com> Cc: Mickaël Salaün <mic@linux.microsoft.com> Cc: Mickaël Salaün <mic@digikod.net> Cc: <linux-security-module@vger.kernel.org> Signed-off-by: Petr Vorel <pvorel@suse.cz> Message-ID: <20240712172246.151258-2-pvorel@suse.cz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-12man/: RETURN VALUE: Unify error wordingPetr Vorel8-10/+10
Follow the pattern to replace "to indicate the cause of the error" with "to indicate the error". Suggested-by: Alejandro Colomar <alx@kernel.org> Acked-by: Günther Noack <gnoack@google.com> Cc: Mickaël Salaün <mic@linux.microsoft.com> Cc: Mickaël Salaün <mic@digikod.net> Signed-off-by: Petr Vorel <pvorel@suse.cz> Message-ID: <20240712172246.151258-1-pvorel@suse.cz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-12fnmatch.3: Update FNM_CASEFOLD availability, FNM_IGNORECASE aliasнаб1-3/+11
Every system I looked at already had FNM_CASEFOLD, so calling it "GNU" is misleading at best; Solaris (and the illumos gate) call it FNM_IGNORECASE but also provide FNM_CASEFOLD as an alias. Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Message-ID: <2lnvud6qnttulm34ns3lsrafguzrdjdgnnnp4yrlsdl6c2yoef@tarta.nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-10utime.2: ERRORS: Add EFAULTMa Xinjian1-0/+4
Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com> Message-ID: <20240710081926.10913-1-maxj.fnst@fujitsu.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-10sigaction.2: setitimer(2)/alarm(2) timers yield si_code=SI_TIMER tooнаб1-1/+12
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Message-ID: <z3bixugjnrhlcli53tmdogma7op7uwstwlitgl7u4mmyqfs3pc@tarta.nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-09statmount.2: Add pageJosef Bacik1-0/+283
Cc: Christian Brauner <brauner@kernel.org> Cc: Miklos Szeredi <mszeredi@redhat.com> Cc: <linux-fsdevel@vger.kernel.org> Cc: <kernel-team@fb.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Message-ID: <5b4a8408a21970d0ee4bea5cee4c74cb39851c0d.1720549824.git.josef@toxicpanda.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-09printf.3: the overall syntax is "%argnum$...", not "%$..."наб1-1/+1
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Message-ID: <atyx4os7275jhfsrnblyr6ykxwghjzdpdnvnrvxcskei7kbb6n@tarta.nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-09FIONREAD.2const: tfixGünther Noack1-1/+1
Fix a copy-paste error in SYNOPSIS: FIONREAD was mentioned twice, but another IOCTL was missing. Fixes: c6267fb68309 ("ioctl_tty.2, FIONREAD.2const, TIOC{IN,OUT}Q.2const, TCFLSH.2const, TIOCSERGETLSR.2const: Split from ioctl_tty(2)") Signed-off-by: Günther Noack <gnoack@google.com> Message-ID: <20240705142844.1142998-1-gnoack@google.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-09clone.2: ffixMa Xinjian1-2/+2
Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com> Message-ID: <20240704064108.27257-1-maxj.fnst@fujitsu.com> [alx: Remove comment] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-09__riscv_flush_icache.3, riscv_flush_icache.2: Add page (and link page)Charlie Jenkins2-0/+50
riscv_flush_icache() has been present in syscall.2, but had no page for itself. Add the page for this syscall. The syscall is named riscv_flush_icache(), but the glibc function is named __riscv_flush_icache(). To handle this, name the syscall page riscv_flush_icache.2 and point to the libc page __riscv_flush_icache.3. Signed-off-by: Charlie Jenkins <charlie@rivosinc.com> Message-ID: <20240701-flush_icache-v2-1-15f7a35a0d13@rivosinc.com> [alx: ffix] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-09perf_event_open.2: Document combining inherit and cpus = -1 preventing the ↵Mikołaj Kołek1-0/+4
use of mmap After calling perf_event_open() with cpus == -1 and the inherit bit, using mmap on the perf file descriptor to create a ring-buffer fails with EINVAL. This behavior wasn't previously documented in the man page and is caused by the following lines in the perf_mmap function in <kernel/events/core.c>: /* * Don't allow mmap() of inherited per-task counters. This would * create a performance issue due to all children writing to the * same rb. */ if (event->cpu == -1 && event->attr.inherit) return -EINVAL; Signed-off-by: Mikołaj Kołek <kolek.mikolaj@gmail.com> Message-ID: <CAHGiy6-nx0PwBi6xwoG8PN5qND-krGh_rvpfmVc31-QSv04C6g@mail.gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-07-09fmod.3: EXAMPLES: Fix calculationAlejandro Colomar1-1/+1
Fixes: ce23e8188f8f ("fmod.3: Add example section") Closes: <https://bugzilla.kernel.org/show_bug.cgi?id=219017> Reported-by: Benjamin Otte <otte@gnome.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-28printf.3: Rework 'наб1-14/+19
As it stands, this is worse than useless (defined as: I had to test it explicitly against strfmon() and look at POSIX myself to make sure the manual wasn't lying to me https://101010.pl/@nabijaczleweli/112694726416515899): No-one cares if some compiler doesn't understand something from 1994. (Careful readers will note it's been 30 years.) "SUSv2 doesn't have this, SUSv3 does" is reefer-induced: this figures in SUSv1 (XPG Issue 4 Version 2) and the CHANGE HISTORY clearly notes ' was added in i4, not i4v2. It's important that these aren't actually grouped by the thousand, but, instead, by "what the locale says". Each locale has two groupings: monetary and non-monetary, and it's paramount to indicate which is which (hi_IN is 3,2... monetary and 3... non-monetary; mjw_IN is 3,2... both). It waxes poetic for way too long about "how to set a locale". Also replace "The Single UNIX Specification adds" with "POSIX adds". The SUS is, on a good day, a profile of POSIX you pay 300$ for. Maybe you could swing this back when it was an "extension" (so, only required in the SUS profile) but it's just shaded CX ("this is intentionally different from C") in Issue 8. It's really irrelevant here. Also add this to HISTORY (and call it something sane there; the Proper nomenclature is absolutely meaningless to normal people). The most important bit for every HISTORY reader is the 1994 date. Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Message-ID: <o2vchme4dchemjo4diziac5rlmhtsaze2yi72fzo5r67umlwny@tarta.nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-28wcscasecmp.3, wcsncasecmp.3: Mergeнаб2-123/+29
This mirrors str[n]casecmp and is much more useful, but more importantly these didn't crosslink at all. The RETURN VALUE section is now copied from strncasecmp.3. Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Message-ID: <wr4xqnhilpx7yszqxcggo7scpt3bnrfha3ohfs6uxwibhfafel@tarta.nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-28proc_sysrq-trigger.5: ffixAlejandro Colomar1-1/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-28statx.2: Document STATX_SUBVOLKent Overstreet1-0/+12
Document the new statx.stx_subvol field. This would be clearer if we had a proper API for walking subvolumes that we could refer to, but that's still coming. Link: https://lore.kernel.org/linux-fsdevel/20240308022914.196982-1-kent.overstreet@linux.dev/ Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> [jpg: mention supported FSes and formatting improvements] Signed-off-by: John Garry <john.g.garry@oracle.com> Cc: Eric Biggers <ebiggers@kernel.org> Cc: <linux-fsdevel@vger.kernel.org> Message-ID: <20240620130017.2686511-1-john.g.garry@oracle.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-28man/: ffix (Use TQ where appropriate)Alejandro Colomar11-21/+63
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-28man2/: ffixAlejandro Colomar2-6/+3
Put the subsection title in the .SS line. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-28statx.2: Document STATX_MNT_ID_UNIQUEJosef Bacik1-2/+12
Linux 6.8 added STATX_MNT_ID_UNIQUE support. Link: <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=98d2b43081972> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Cc: Christian Brauner <brauner@kernel.org> Cc: Miklos Szeredi <mszeredi@redhat.com> Cc: <linux-fsdevel@vger.kernel.org> Cc: <kernel-team@fb.com> Message-ID: <a45b2623a25357f33978b49963dad5f99b984386.1719341580.git.josef@toxicpanda.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-26string_copying.7: wfixAlejandro Colomar1-4/+4
Fixes: b17819960602 ("string_copying.7: wfix") Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-26string_copying.7: wfixAlejandro Colomar1-7/+7
Say 'length-bounded' instead of 'known-lenght'. Eric Blake used that term in an email, and I think it's more clear than the old one. Link: <https://lore.kernel.org/linux-man/lpqjinqeylacuismlzsnnhy7hiuv7so6dlcccnclzmmjknnlux@asvvn6j4qrl2/T/> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-21Revert "keyrings.7: ffix"Alejandro Colomar1-2/+2
This reverts commit fa2ca6f2e080a16eebd528defef9deaea6145477. The groff(1) bug that required that workaround has been fixed. Link: <https://savannah.gnu.org/bugs/?65894> Link: <https://lists.gnu.org/archive/html/groff/2024-06/msg00036.html> Cc: "G. Branden Robinson" <branden@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18ioperm.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > Permissions are inherited by the child created by fork (2) > (but see NOTES). Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), the relevant information is in HISTORY. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240618173524.1797697-1-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18wait.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > This is the glibc and POSIX interface; see > NOTES for information on the raw system call. Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-17-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18uname.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > The length of the arrays in a struct utsname is unspecified (see NOTES); Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS and HISTORY. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-16-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18semctl.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > GETPID > Return the sempid value for the semnum-th semaphore of > the set. This is the PID of the process that last > performed an operation on that semaphore (but see NOTES). Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-15-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18readdir.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > There is no definition of struct old_linux_dirent; see NOTES. Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-14-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18open.2: Fix wrong section referenceKir Kolyshkin1-2/+2
Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), the discussion about O_SYNC and O_DSYNC is now under VERSIONS / Synchronized I/O. While at it, fix the typesetting. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-13-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18nice.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > On success, the new nice value is returned (but see NOTES below). Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-12-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18mmap.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > See NOTES for information on feature test macro requirements. Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-11-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18mkdir.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > Whether other mode bits are honored for the created directory depends > on the operating system. For Linux, see VERSIONS below. Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), the discussion about permission inheritance is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-10-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18kill.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > (Historically, the rules were different; see NOTES.) Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), the historical rules moved to HISTORY. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-9-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18gettimeofday.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > The use of the timezone structure is obsolete; the tz argument should > normally be specified as NULL. (See NOTES below.) Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this information is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-7-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18getpriority.2: Move info from NOTES to HISTORYKir Kolyshkin1-16/+16
In the spirit of commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), move the historical information about EPERM error from NOTES to HISTORY, and fix the section reference accordingly. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-6-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18gethostname.2: Fix section referenceKir Kolyshkin1-1/+1
There is a reference to NOTES section, which no longer exists since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"). Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-5-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18execve.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > For portable use, optional-arg should either be absent, or be > specified as a single word (i.e., it should not contain white > space); see NOTES below. Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), the discussion about optional-arg is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-4-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18clone.2: Fix wrong section referenceKir Kolyshkin1-1/+1
The man page says: > For the prototype of the raw clone() system call, see NOTES Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), this prototype is in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-3-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-18cacheflush.2: Fix section referenceKir Kolyshkin1-1/+1
There is a reference to NOTES section, which no longer exists since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"). Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240617231035.1766780-2-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-17rlim_t.3type, rlimit.3type: Add link pagesAlejandro Colomar2-0/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-17signal.7: Fix wrong mention of sigprocmaskDev Jain1-1/+1
The handler is registered with sigaction(2), not sigprocmask(2). Even if the purpose of writing sigprocmask(2) here was to mention blocked signals, the statement currently concerns the "addition" of blocked signals; signals blocked through sigprocmask(2) would already be present in the thread context of blocked signals. Fixes: e7a5700f2313 (getcontext.3, signal.7: tfix) Signed-off-by: Dev Jain <dev.jain@arm.com> Reviewed-by: Mark Brown <broonie@kernel.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Suzuki Poulouse <suzuki.poulose@arm.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: <DeepakKumar.Mishra@arm.com> Cc: Aneesh Kumar K.V <aneesh.kumar@kernel.org> Cc: <linux-kernel@vger.kernel.org> Message-ID: <20240611090823.820724-3-dev.jain@arm.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-17signal.7: Clearly describe ucontext kernel dump to user spaceDev Jain1-2/+8
The set of blocked signals is updated from struct sigaction after the kernel dumps ucontext. Mention this to avoid misunderstanding. Signed-off-by: Dev Jain <dev.jain@arm.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Mark Brown <broonie@kernel.org> Cc: Suzuki Poulouse <suzuki.poulose@arm.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: <DeepakKumar.Mishra@arm.com> Cc: Aneesh Kumar K.V <aneesh.kumar@kernel.org> Cc: <linux-kernel@vger.kernel.org> Message-ID: <20240611090823.820724-2-dev.jain@arm.com> [alx: semantic newlines; ffix] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-17intro.1: wfixJeremy Baxter1-14/+17
Message-ID: <20240616233931.53760-1-jeremy@baxters.nz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-17man/, share/mk/: Fix nested EX/EE within nf/fiAlejandro Colomar10-9/+11
EX/EE can't be nested within nf/ni. The mandoc(1) reports weren't spurious. Re-enable the mandoc(1) warnings, and fix the code. Fixes: 31203a0c8dbf ("share/mk/: Globally disable two spurious mandoc(1) warnings") Link: <https://lists.gnu.org/archive/html/groff/2024-06/msg00019.html> Reported-by: Douglas McIlroy <douglas.mcilroy@dartmouth.edu> Cc: "G. Branden Robinson" <branden@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16setjmp.3: Fix section referencesKir Kolyshkin1-2/+2
Commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") results in a few problems with setjmp(3): 1. "Feature Test Macro Requirements for glibc" refers to NOTES, while those macros are now described in HISTORY. 2. The discussion about saving signal mask is now split between HISTORY and NOTES. Fix the references accordingly. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240616201946.1663626-1-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16readdir.3: Fix wrong section referencesKir Kolyshkin1-4/+4
There are references to NOTES section, but since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") the relevant information is in VERSIONS. While at it, unify the "see XXX" style. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240616201323.1662948-1-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16keyrings.7: ffixAlejandro Colomar1-2/+2
This workarounds a groff -Thtml bug. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16keyrings.7: ffixAlejandro Colomar1-46/+43
- Move description of files to FILES section. - Use linux.git/... for Linux documentation files in SEE ALSO. - Remove old names of Linux documentation files. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16strtod.3, strtol.3, strtoul.3: SYNOPSIS: Document _Nullable parametersAlejandro Colomar3-8/+10
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16man/, share/mk/: srcfix, and remove corresponding XFAIL exceptionsAlejandro Colomar4-8/+2
And remove them from XFAIL, since they don't fail anymore. Reported-by: mandoc(1) (`make lint-man-mandoc`) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16strtod.3, strtol.3, strtoul.3: VERSIONS, CAVEATS: Reorganize sectionsAlejandro Colomar3-42/+42
Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16strtod.3: Fix wrong section referenceKir Kolyshkin1-1/+1
Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"), the discussion about n-char-sequence refers to NOTES, while the relevant information is now in VERSIONS. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240616011920.1627949-12-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16strtok.3: SYNOPSIS: Document _Nullable parametersAlejandro Colomar1-2/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16strtok.3: Fix section referenceKir Kolyshkin1-1/+1
There is a reference to NOTES section, which no longer exists since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"). Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240616011920.1627949-11-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16stailq.3: Fix section referenceKir Kolyshkin1-1/+1
There is a reference to NOTES section, which no longer exists since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"). Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240616011920.1627949-10-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16sigpause.3: Fix section referenceKir Kolyshkin1-1/+1
There is a reference to NOTES section, which no longer exists since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"). Currently, the relevant information is kind of split between VERSIONS and HISTORY, but VERSIONS is somewhat more relevant. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240616011920.1627949-9-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16getrlimit.2: SYNOPSIS: Add struct rlimit and rlim_tAlejandro Colomar1-10/+10
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16getdtablesize.3: Fix section referenceKir Kolyshkin1-1/+1
There is a reference to NOTES section, which no longer exists since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"). Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240616011920.1627949-6-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16ceil.3, floor.3, rint.3, round.3: POSIX.1-2008 doesn't define errorsAlejandro Colomar4-8/+8
Cc: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16ceil.3, rint.3, round.3: mv NOTES section to HISTORYKir Kolyshkin3-6/+6
Commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") removed the NOTES section from floor(3), moving the explanation of overflow errors to HISTORY. The very same explanation is also there in ceil(3), rint(3), and round(3). Let's move it to HISTORY as well, for uniformity. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240616011920.1627949-5-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16posix_fallocate.3: Fix section referencesKir Kolyshkin1-2/+2
There are references to NOTES section, which no longer exists since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"). Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240616011920.1627949-3-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-16exec.3: Fix section referenceKir Kolyshkin1-1/+1
There is a reference to NOTES section, which no longer exists since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections"). Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240616011920.1627949-2-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-15man/: ffixAlejandro Colomar3-3/+18
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-15man/: srcfix: Use \[rs] instead of \eAlejandro Colomar282-1166/+1166
Scripted change: $ find man -type f \ | xargs grep -l '\\e' \ | xargs sed -i 's/\\e/\\[rs]/g'; Link: <https://lore.kernel.org/linux-man/20240611122453.qn6jyl4go4bvwkqm@illithid/> Suggested-by: "G. Branden Robinson" <branden@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-15FICLONERANGE.2const: Update .so for renamed fileAdam Sampson1-1/+1
Fixes: 733e3228017b ("ioctl.2, ioctl_ficlone*.2, FICLONE{,RANGE}.2const: Move page to FICLONE.2const") Signed-off-by: Adam Sampson <ats@offog.org> Message-ID: <20240615132948.20625-1-ats@offog.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14bpf-helpers.7: Refresh pageAlejandro Colomar1-4/+4
Scripted change: $ ~/src/linux/linux/6/6.9/scripts/bpf_doc.py \ | rst2man \ >man7/bpf-helpers.7; Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_*.2: De-duplicate referencesAlejandro Colomar5-189/+122
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2: Tweak after making sashimi of this pageAlejandro Colomar1-8/+11
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14UFFDIO_POISON.2const: Tweak after splitAlejandro Colomar1-23/+16
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_POISON.2const: Split UFFDIO_POISON from ↵Alejandro Colomar2-107/+143
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14UFFDIO_CONTINUE.2const: Tweak after splitAlejandro Colomar1-21/+14
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_CONTINUE.2const: Split UFFDIO_CONTINUE from ↵Alejandro Colomar2-104/+140
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14UFFDIO_WRITEPROTECT.2const: Tweak after splitAlejandro Colomar1-19/+12
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_WRITEPROTECT.2const: Split UFFDIO_WRITEPROTECT ↵Alejandro Colomar2-70/+106
from ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14UFFDIO_WAKE.2const: Tweak after splitAlejandro Colomar1-10/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_WAKE.2const: Split UFFDIO_WAKE from ↵Alejandro Colomar2-49/+87
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14UFFDIO_ZEROPAGE.2const: Tweak after splitAlejandro Colomar1-20/+12
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_ZEROPAGE.2const: Split UFFDIO_ZEROPAGE from ↵Alejandro Colomar2-87/+123
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14UFFDIO_COPY.2const: Tweak after splitAlejandro Colomar1-35/+18
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_COPY.2const: Split UFFDIO_COPY from ↵Alejandro Colomar2-120/+156
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14UFFDIO_UNREGISTER.2const: Tweak after splitAlejandro Colomar1-21/+13
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_UNREGISTER.2const: Split UFFDIO_UNREGISTER from ↵Alejandro Colomar2-37/+74
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14UFFDIO_REGISTER.2const: Tweak after splitAlejandro Colomar1-35/+23
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_REGISTER.2const: Split UFFDIO_REGISTER from ↵Alejandro Colomar2-140/+182
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14UFFDIO_API.2const: Tweak after splitAlejandro Colomar1-36/+27
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-14ioctl_userfaultfd.2, UFFDIO_API.2const: Split UFFDIO_API from ↵Alejandro Colomar2-266/+307
ioctl_userfaultfd(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOCTTYGSTRUCT.2const: Split TIOCTTYGSTRUCT from ioctl_tty(2)Alejandro Colomar2-18/+51
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC[SG]SOFTCAR.2const: Split TIOC[SG]SOFTCAR from ioctl_tty(2)Alejandro Colomar3-32/+67
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOCM{[SG]ET,BI[CS],IWAIT}.2const, TIOCGICOUNT.2const: Split ↵Alejandro Colomar7-92/+139
TIOC* from ioctl_tty(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13TIOCPKT.2const: Tweak after splitAlejandro Colomar1-21/+28
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC[G]PKT.2const, TIOC[SG]PTLCK.2const, TIOCGPTPEER.2const: ↵Alejandro Colomar6-119/+169
Split TIOC* from ioctl_tty(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2: Fix constness of argumentsAlejandro Colomar1-2/+2
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC[SG]ETD.2const: Split TIOC[SG]ETD from ioctl_tty(2)Alejandro Colomar3-9/+42
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13TIOCEXCL.2const: Tweak after splitAlejandro Colomar1-1/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC{E,GE,N}XCL.2const: Split TIOC*XCL from ioctl_tty(2)Alejandro Colomar4-27/+65
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC[SG]PGRP.2const, TIOCGSID.2const: Split TIOC* from ioctl_tty(2)Alejandro Colomar4-32/+76
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC{NO,SC}TTY.2const: Split TIOC*TTY from ioctl_tty(2)Alejandro Colomar3-32/+71
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13TIOCCONS.2const: Tweak after splitAlejandro Colomar1-9/+12
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOCCONS.2const: Split TIOCCONS from ioctl_tty(2)Alejandro Colomar2-23/+62
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13TIOCSTI.2const: Tweak after splitAlejandro Colomar1-9/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOCSTI.2const: Split TIOCSTI from ioctl_tty(2)Alejandro Colomar2-13/+52
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, FIONREAD.2const, TIOC{IN,OUT}Q.2const, TCFLSH.2const, ↵Alejandro Colomar6-44/+90
TIOCSERGETLSR.2const: Split from ioctl_tty(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13TCXONC.2const: Tweak after splitAlejandro Colomar1-7/+3
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TCXONC.2const: Split TCXONC from ioctl_tty(2)Alejandro Colomar2-13/+49
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, T*BRK*.2const: Split T*BRK* from ioctl_tty(2)Alejandro Colomar5-54/+95
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC[SG]LCKTRMIOS.2const: Split TIOC[SG]LCKTRMIOS from ioctl_tty(2)Alejandro Colomar3-40/+80
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13TIOCSWINSZ.2const: Tweak after splitAlejandro Colomar1-21/+8
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TIOC[SG]WINSZ.2const: Split TIOC[SG]WINSZ from ioctl_tty(2)Alejandro Colomar3-32/+75
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13TCSETS.2const: Tweak after splitAlejandro Colomar1-33/+46
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2, TC[SG]ET*.2const: Split TC[SG]ET* from ioctl_tty(2)Alejandro Colomar13-186/+296
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_tty.2: Tweak in preparation for sashimiAlejandro Colomar1-34/+33
- Move paragraph to CAVEATS. - Reword RETURN VALUE for consistency with other pages. - Remove some ERRORS that are redundant with ioctl(2). - Remove ENOIOCTLCMD; this error doesn't exist in user space. - Document includes and structures in SYNOPSIS properly. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl.2, ioctl_fsmap.2, FS_IOC_GETFSMAP.2const: ioctl_getfsmap(2) => ↵Alejandro Colomar3-4/+9
ioctl_fsmap(2) This name makes it consistent with the header file <linux/fsmap.h>. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_nsfs.2: Tweak after making sashimi of this pageAlejandro Colomar1-5/+9
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13NS_GET_OWNER_UID.2const: Tweak after splitAlejandro Colomar1-13/+19
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_nsfs.2, NS_GET_OWNER_UID.2const: Split NS_GET_OWNER_UID from ioctl_nsfs(2)Alejandro Colomar2-30/+48
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13NS_GET_NSTYPE.2const: Tweak after splitAlejandro Colomar1-11/+21
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_nsfs.2, NS_GET_NSTYPE.2const: Split NS_GET_NSTYPE from ioctl_nsfs(2)Alejandro Colomar2-26/+42
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13NS_GET_USERNS.2const: Tweak after splitAlejandro Colomar1-18/+27
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_nsfs.2, NS_GET_{USERNS,PARENT}.2const: Split NS_GET_* from ioctl_nsfs(2)Alejandro Colomar3-254/+275
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_ns.2, ioctl_nsfs.2, man/: Move page to ioctl_nsfs.2Alejandro Colomar5-9/+11
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl.2, ioctl_fs.2: Add overview page for <linux/fs.h> ioctl(2)sAlejandro Colomar2-8/+62
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl.2, PAGEMAP_SCAN.2const: Move page to PAGEMAP_SCAN.2constAlejandro Colomar2-2/+5
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_pagemap_scan.2: Move structure definitions to SYNOPSISAlejandro Colomar1-29/+28
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_iflags.2, FS_IOC_[GS]ETFLAGS.2const, man/: Move page to ↵Alejandro Colomar12-26/+30
FS_IOC_SETFLAGS.2const Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl.2, ioctl_fslabel.2, FS_IOC_[GS]ETFSLABEL.2const: Move page to ↵Alejandro Colomar3-4/+10
FS_IOC_SETFSLABEL.2const Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl.2, ioctl_fideduperange.2, FIDEDUPERANGE.2const: Move page to ↵Alejandro Colomar2-3/+6
FIDEDUPERANGE.2const Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl.2, ioctl_ficlone*.2, FICLONE{,RANGE}.2const: Move page to FICLONE.2constAlejandro Colomar4-7/+9
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_fat.2, VFAT_IOCTL_READDIR_{BOTH,SHORT}.2const: Split ↵Alejandro Colomar3-201/+215
VFAT_IOCTL_READDIR_* from ioctl_fat(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_fat.2, FAT_IOCTL_GET_VOLUME_ID.2const: Split FAT_IOCTL_GET_VOLUME_ID ↵Alejandro Colomar2-96/+129
from ioctl_fat(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_fat.2, FAT_IOCTL_[GS]ET_ATTRIBUTES.2const: Split ↵Alejandro Colomar3-160/+203
FAT_IOCTL_[GS]ET_ATTRIBUTES from ioctl_fat(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_console.2: Tweak after making sashimi of this pageAlejandro Colomar1-31/+12
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_kd.2: Tweak after splitAlejandro Colomar1-7/+6
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_console.2, ioctl_kd.2, man2const/: Split ioctl_kd(2) from ioctl_console(2)Alejandro Colomar41-467/+627
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_vt.2: Tweak after splitAlejandro Colomar1-7/+8
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_console.2, ioctl_vt.2, VT_*.2const: Split VT_* from ioctl_console(2)Alejandro Colomar12-127/+200
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13TIOCLINUX.2const: Tweak after splitAlejandro Colomar1-33/+29
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_console.2, TIOCLINUX.2const: Split TIOCLINUX from ioctl_console(2)Alejandro Colomar2-189/+225
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13ioctl_console.2: SYNOPSIS: Add sectionAlejandro Colomar1-2/+6
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13sched_setattr.2: Document sched_util_{min,max}Brian Norris1-1/+71
Utilization attributes were added in Linux v5.3 via commit a509a7cd7974 ("sched/uclamp: Extend sched_setattr() to support utilization clamping"). Borrow some documentation from there, with a bit of editorial trimming and augmentation. The "reset" (-1 / UINT32_MAX) behavior was added in Linux 5.11 via commit 480a6ca2dc6e ("sched/uclamp: Allow to reset a task uclamp constraint value"). Cc: Dietmar Eggemann <dietmar.eggemann@arm.com> Cc: Patrick Bellasi <patrick.bellasi@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Brian Norris <briannorris@chromium.org> Message-ID: <20240613204823.3184609-1-briannorris@chromium.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-13man-pages.7: Correct escaping of \~ adviceBrian Norris1-1/+2
\e[ti] renders as \[ti] -- using \[ti] in a man page will produce a literal tilde (~), not a nonbreaking space. The intention here is to recommend \~, which produces a nonbreaking space, so we need some more escaping. Apply bold formatting too, which I believe is in accordance with the advice in this section. Fixes: 36f73ba37945 ("man-pages.7: Recommend using \[..] instead of \(.. escapes") Signed-off-by: Brian Norris <briannorris@chromium.org> Message-ID: <20240613205329.3240669-1-briannorris@chromium.org> Cc: "G. Branden Robinson" <branden@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12sched_setattr.2: ERRORS: Break EINVAL into separate blocksBrian Norris1-5/+10
The current EINVAL description has a complex boolean expression, and I'm planning to add one more condition to it. Let's separate it into different EINVAL descriptions to make it easier to read. Tweak the punctuation a bit too while I'm at it. Signed-off-by: Brian Norris <briannorris@chromium.org> Message-ID: <20240612204504.2651521-1-briannorris@chromium.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12ioctl_eventpoll.2, EPIOC[GS]PARAMS.2const: New page describing epoll ioctl(2)Joe Damato7-0/+180
A new page is added which describes epoll fd ioctls: EPIOCSPARAMS and EPIOCGPARAMS which allow the user to control epoll-based busy polling. Also add link pages for EPIOCSPARAMS and EPIOCGPARAMS. Signed-off-by: Joe Damato <jdamato@fastly.com> Message-ID: <20240611210941.1791446-2-jdamato@fastly.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12tm.3type: HISTORY: Say when tm_zone, tm_gmtoff standardizedPaul Eggert1-1/+2
Message-ID: <20240611153005.3066-12-eggert@cs.ucla.edu> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12tzset.3: STANDARDS: timezone & daylight in POSIX.1-2001Paul Eggert1-0/+9
Message-ID: <20240611153005.3066-11-eggert@cs.ucla.edu> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12ctime.3, tzset.3: Update more POSIX citations and quotesPaul Eggert2-18/+21
Message-ID: <20240611153005.3066-10-eggert@cs.ucla.edu> Co-developed-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12tm.3type: Update STANDARDS, HISTORYPaul Eggert1-2/+2
The current standards are C23 and POSIX.1-2024. This stuff was first standardized in C89 and POSIX.1-1988. Message-ID: <20240611153005.3066-9-eggert@cs.ucla.edu> Link: <https://www.reddit.com/r/C_Programming/comments/1ay92d4/latest_working_draft_n3220/?rdt=49226> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12tzset.3: Omit colon in examplePaul Eggert1-1/+1
Message-ID: <20240611153005.3066-8-eggert@cs.ucla.edu> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12tzset.3: TZ=":EST5" worksPaul Eggert1-7/+13
Message-ID: <20240611153005.3066-7-eggert@cs.ucla.edu> [alx: \fI => .I] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12tzset.3: Use NZ's current rules in examplePaul Eggert1-3/+3
Message-ID: <20240611153005.3066-6-eggert@cs.ucla.edu> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12tzset.3: time hh range is now [-167, 167]Paul Eggert1-0/+6
Message-ID: <20240611153005.3066-5-eggert@cs.ucla.edu> [alx: use mathematical notation for the range, and \fI => .I] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12tzset.3: TZ can also be emptyPaul Eggert1-1/+1
Message-ID: <20240611153005.3066-4-eggert@cs.ucla.edu> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12tzset.3: CAVEATS: Recommend tm_gmtoff, tm_zone insteadPaul Eggert1-0/+14
New section CAVEATS for why time zone state is dicey. Message-ID: <20240611153005.3066-3-eggert@cs.ucla.edu> [alx: use .I instead of \fI] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-12tzset.3: State vars unspecified if geographical TZPaul Eggert1-1/+8
Message-ID: <20240611153005.3066-2-eggert@cs.ucla.edu> [alx: use em dashes instead of commas] Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-11ctime.3: Simplify coverage of tzname etc.Paul Eggert1-15/+9
* man/man3/ctime.3: Simplify by referring to tzset(3) for details about how it sets tzname etc. This simplifies a later patch, which changes tzset(3)'s description. Message-ID: <20240611153005.3066-1-eggert@cs.ucla.edu> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-11address_families.7: Add break-point in long URIAlejandro Colomar1-1/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-02PR_*.2const: SYNOPSIS: Some of these calls don't need all argsAlejandro Colomar36-39/+39
Some prctl()s just ignore unused parameters. Users don't need to specify them all. Fixes: 2534dc7ad5e9 ("prctl.2, PR_*.2const: Make sashimi") Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-06-01prctl.2, PR_*.2const: SYNOPSIS: #include <linux/prctl.h> for the PR_* constantsAlejandro Colomar73-3/+76
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2: CAVEATS: Document the necessity of using the 'L' suffixAlejandro Colomar1-0/+6
Link: <https://lore.kernel.org/linux-man/ddbdyaiptesjalgfmztxideej67e3yaob7ucsmbf6qvriwxiif@dohhxrqgwhrf/T/#med306b5b003f9cc7cc2de69fcdd7ee2d056d0954> Cc: Xi Ruoyao <xry111@xry111.site> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31ioctl_iflags.2: Document FS_APPEND_FL ('a') on directoriesнаб1-0/+2
For some reason, neither chattr(1) nor this page document it; this is supported by all tested filesystems (ext4, tmpfs, ZFS). Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Message-ID: <vzoykfmkokepn2gq3nqb2vvlbim32vky3vnac2x2avmkyzcdez@tarta.nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31open_by_handle_at.2: Correct the name of the FreeBSD equivalentChristoph Hellwig1-1/+1
The open_by_handle_at equivalent in FreeBSD is called fhopen, not openfh. Signed-off-by: Christoph Hellwig <hch@lst.de> Message-ID: <20240527113800.1098633-1-hch@lst.de> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_KEEPCAPS.2const: Use 0L and 1L for arguments to prctl(2)Alejandro Colomar1-2/+6
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2: Tweak after making sashimi of this pageAlejandro Colomar1-18/+18
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_MDWE.2const: Tweak after splitAlejandro Colomar1-8/+8
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_MDWE.2const: Split PR_GET_MDWE from prctl(2)Alejandro Colomar2-8/+42
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_MDWE.2const: Tweak after splitAlejandro Colomar1-10/+8
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_MDWE.2const: Split PR_SET_MDWE from prctl(2)Alejandro Colomar2-29/+63
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_AUXV.2const: Tweak after splitAlejandro Colomar1-11/+10
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_AUXV.2const: Split PR_GET_AUXV from prctl(2)Alejandro Colomar2-20/+51
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_UNALIGN.2const: Tweak after splitAlejandro Colomar1-12/+6
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_UNALIGN.2const: Split PR_GET_UNALIGN from prctl(2)Alejandro Colomar2-9/+50
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_UNALIGN.2const: Tweak after splitAlejandro Colomar1-15/+27
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_UNALIGN.2const: Split PR_SET_UNALIGN from prctl(2)Alejandro Colomar2-24/+67
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_TSC.2const: Tweak after splitAlejandro Colomar1-6/+4
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_TSC.2const: Split PR_GET_TSC from prctl(2)Alejandro Colomar2-9/+49
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_TSC.2const: Tweak after splitAlejandro Colomar1-9/+6
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_TSC.2const: Split PR_SET_TSC from prctl(2)Alejandro Colomar2-15/+58
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_TIMING.2const: Tweak after splitAlejandro Colomar1-9/+6
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_TIMING.2const: Split PR_GET_TIMING from prctl(2)Alejandro Colomar2-10/+47
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_TIMING.2const: Tweak after splitAlejandro Colomar1-22/+15
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_TIMING.2const: Split PR_SET_TIMING from prctl(2)Alejandro Colomar2-29/+67
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_TIMERSLACK.2const: Tweak after splitAlejandro Colomar1-8/+8
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_TIMERSLACK.2const: Split PR_GET_TIMERSLACK from prctl(2)Alejandro Colomar2-8/+43
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_TIMERSLACK.2const: Tweak after splitAlejandro Colomar1-31/+28
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_TIMERSLACK.2const: Split PR_SET_TIMERSLACK from prctl(2)Alejandro Colomar2-72/+113
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_TID_ADDRESS.2const: Tweak after splitAlejandro Colomar1-12/+14
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_TID_ADDRESS.2const: Split PR_GET_TID_ADDRESS from prctl(2)Alejandro Colomar2-22/+59
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_THP_DISABLE.2const: Tweak after splitAlejandro Colomar1-5/+5
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_THP_DISABLE.2const: Split PR_GET_THP_DISABLE from prctl(2)Alejandro Colomar2-7/+40
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_THP_DISABLE.2const: Tweak after splitAlejandro Colomar1-6/+8
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_SET_THP_DISABLE.2const: Split PR_SET_THP_DISABLE from prctl(2)Alejandro Colomar2-17/+50
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_TASK_PERF_EVENTS_DISABLE.2const: Tweak after splitAlejandro Colomar1-21/+18
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_TASK_PERF_EVENTS_{EN,DIS}ABLE.2const: Split ↵Alejandro Colomar3-33/+68
PR_TASK_PERF_EVENTS_* from prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_GET_TAGGED_ADDR_CTRL.2const: Tweak after splitAlejandro Colomar1-40/+18
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31prctl.2, PR_GET_TAGGED_ADDR_CTRL.2const: Split PR_GET_TAGGED_ADDR_CTRL from ↵Alejandro Colomar2-46/+81
prctl(2) Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-31PR_SET_TAGGED_ADDR_CTRL.2const: Tweak after splitAlejandro Colomar1-54/+36
Signed-off-by: Alejandro Colomar <alx@kernel.org>