]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
11 days agoman/man3/fma.3: ERRORS: Add missing error master
Alejandro Colomar [Wed, 3 Sep 2025 14:14:10 +0000 (16:14 +0200)] 
man/man3/fma.3: ERRORS: Add missing error

There's also a domain error if z is a NaN, so let's simplify wording.
See the comments in the source code, which remind that POSIX doesn't
mandate some of this, so this is GNU-specific.

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Suggested-by: Adam Sampson <ats@offog.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man2/readv.2: Document RWF_DONTCACHE
Alejandro Colomar [Mon, 1 Sep 2025 14:14:09 +0000 (16:14 +0200)] 
man/man2/readv.2: Document RWF_DONTCACHE

Add a description of the RWF_DONTCACHE IO flag, which tells the kernel
that any page cache instantiated by this IO, should be dropped when the
operation has completed.

Reported-by: Christoph Hellwig <hch@infradead.org>
Cc: "Darrick J. Wong" <djwong@kernel.org>
Cc: Johannes Thumshirn <Johannes.Thumshirn@wdc.com>
Cc: linux-fsdevel@vger.kernel.org
Co-authored-by: Jens Axboe <axboe@kernel.dk>
[alx: editorial improvements; srcfix, ffix]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man3/login.3: ffix
Alejandro Colomar [Mon, 1 Sep 2025 14:08:11 +0000 (16:08 +0200)] 
man/man3/login.3: ffix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man2/sched_rr_get_interval.2: ffix
Alejandro Colomar [Mon, 1 Sep 2025 13:41:58 +0000 (15:41 +0200)] 
man/man2/sched_rr_get_interval.2: ffix

Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man3/stdin.3: tfix
Alejandro Colomar [Mon, 1 Sep 2025 13:40:45 +0000 (15:40 +0200)] 
man/man3/stdin.3: tfix

Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man2/shmget.2: Fix broken references to proc_sys_vm(5)
Alejandro Colomar [Mon, 1 Sep 2025 13:35:33 +0000 (15:35 +0200)] 
man/man2/shmget.2: Fix broken references to proc_sys_vm(5)

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man2/syscalls.2: tfix
Alejandro Colomar [Mon, 1 Sep 2025 08:09:35 +0000 (10:09 +0200)] 
man/man2/syscalls.2: tfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/: ffix
Alejandro Colomar [Mon, 1 Sep 2025 08:03:59 +0000 (10:03 +0200)] 
man/: ffix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/: ffix
Alejandro Colomar [Mon, 1 Sep 2025 07:54:02 +0000 (09:54 +0200)] 
man/: ffix

Fixes: a82917ada050 (2025-03-30; "man/: srcfix (\fX => \f[X])")
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man3/gethostbyname.3: Fix reference to function parameter
Alejandro Colomar [Sun, 31 Aug 2025 16:45:50 +0000 (18:45 +0200)] 
man/man3/gethostbyname.3: Fix reference to function parameter

Fixes: d180b72135ab (2024-12-24; "man/man3/: Don't use 'length' to refer to buffer size")
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man2/ioctl_pipe.2: grfix
Alejandro Colomar [Sun, 31 Aug 2025 16:29:31 +0000 (18:29 +0200)] 
man/man2/ioctl_pipe.2: grfix

Be consistent with the lowercase used elsewhere in the document.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man3/gnu_get_libc_version.3: grfix
Alejandro Colomar [Sun, 31 Aug 2025 16:26:56 +0000 (18:26 +0200)] 
man/man3/gnu_get_libc_version.3: grfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man3/malloc.3: STANDARDS: wfix
Alejandro Colomar [Sun, 31 Aug 2025 12:07:03 +0000 (14:07 +0200)] 
man/man3/malloc.3: STANDARDS: wfix

Suggested-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man2/listmount.2: ERRORS: Clarify EPERM
Alejandro Colomar [Sun, 31 Aug 2025 11:41:12 +0000 (13:41 +0200)] 
man/man2/listmount.2: ERRORS: Clarify EPERM

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man2const/PR_[GS]ET_ENDIAN.2const: tfix (s/endian-ness/endianness/)
Alejandro Colomar [Sun, 31 Aug 2025 11:30:00 +0000 (13:30 +0200)] 
man/man2const/PR_[GS]ET_ENDIAN.2const: tfix (s/endian-ness/endianness/)

There's a mix of uses of both spellings.  Unify on the latter.

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man7/man-pages.7: Document formatting of foward declarations of function parameters
Alejandro Colomar [Sun, 31 Aug 2025 09:36:15 +0000 (11:36 +0200)] 
man/man7/man-pages.7: Document formatting of foward declarations of function parameters

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man2const/PR_SET_THP_DISABLE.2const: ffix
Alejandro Colomar [Sun, 31 Aug 2025 09:18:07 +0000 (11:18 +0200)] 
man/man2const/PR_SET_THP_DISABLE.2const: ffix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Acked-by: "Carlos O'Donell" <carlos@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man2/mount.2: tfix (mountpoint => mount point)
Askar Safin [Tue, 26 Aug 2025 08:32:27 +0000 (08:32 +0000)] 
man/man2/mount.2: tfix (mountpoint => mount point)

Here we fix the only remaining mention of "mountpoint"
in all man pages

Signed-off-by: Askar Safin <safinaskar@zohomail.com>
Message-ID: <20250826083227.2611457-3-safinaskar@zohomail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man2/mount.2: Expand and clarify docs for MS_REMOUNT | MS_BIND
Askar Safin [Tue, 26 Aug 2025 08:32:26 +0000 (08:32 +0000)] 
man/man2/mount.2: Expand and clarify docs for MS_REMOUNT | MS_BIND

My edit is based on experiments and reading Linux code.

Signed-off-by: Askar Safin <safinaskar@zohomail.com>
Message-ID: <20250826083227.2611457-2-safinaskar@zohomail.com>
Reviewed-by: Aleksa Sarai <cyphar@cyphar.com>
[alx: wfix]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man7/random.7: grfix
Elliott Hughes [Wed, 27 Aug 2025 18:06:29 +0000 (14:06 -0400)] 
man/man7/random.7: grfix

Signed-off-by: Alejandro Colomar <alx@kernel.org>
11 days agoman/man2/futex.2: Recycle two gmane URLs
Sebastian Andrzej Siewior [Fri, 29 Aug 2025 16:01:59 +0000 (18:01 +0200)] 
man/man2/futex.2: Recycle two gmane URLs

Based on the date in the comment, the here provided URLs should point to
the mails that the gmane URL no longer can.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Message-ID: <20250829160200.756194-4-bigeasy@linutronix.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/: wsfix
Alejandro Colomar [Fri, 29 Aug 2025 07:15:09 +0000 (09:15 +0200)] 
man/: wsfix

These cases were found with a script:

$ grep -rn -P '^[^. #][^:%#]*[a-z]   *[a-z][^;=%:]*$'

Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman2/: Use the common name 'fd' instead of 'fildes'
Alejandro Colomar [Sun, 24 Aug 2025 20:15:33 +0000 (22:15 +0200)] 
man2/: Use the common name 'fd' instead of 'fildes'

File descriptors are commonly called 'fd'.  'fildes' is weird and
confusing.

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man2const/PR_CAPBSET_DROP.2const: pfix
Alejandro Colomar [Sun, 24 Aug 2025 20:05:06 +0000 (22:05 +0200)] 
man/man2const/PR_CAPBSET_DROP.2const: pfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man2/open.2: wfix, ffix
Alejandro Colomar [Sun, 24 Aug 2025 20:01:09 +0000 (22:01 +0200)] 
man/man2/open.2: wfix, ffix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man2const/PR_SET_FPEXC.2const: Format information as a list
Alejandro Colomar [Sun, 24 Aug 2025 19:55:17 +0000 (21:55 +0200)] 
man/man2const/PR_SET_FPEXC.2const: Format information as a list

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man2const/PR_SET_SECUREBITS.2const: wfix
Alejandro Colomar [Sun, 24 Aug 2025 19:23:39 +0000 (21:23 +0200)] 
man/man2const/PR_SET_SECUREBITS.2const: wfix

Fixes: 2dcad3cde34e (2024-05-31; "PR_SET_SECUREBITS.2const: Tweak after split")
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man2const/PR_[SG]ET_TSC.2const: Fix parameter name
Alejandro Colomar [Sun, 24 Aug 2025 16:17:08 +0000 (18:17 +0200)] 
man/man2const/PR_[SG]ET_TSC.2const: Fix parameter name

Fixes: 6cb4a1f5f444 (2024-05-31; "PR_SET_TSC.2const: Tweak after split")
Fixes: cd74efc37571 (2024-05-31; "PR_GET_TSC.2const: Tweak after split")
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man3/pthread_mutexattr_getpshared.3: ffix
Alejandro Colomar [Sun, 24 Aug 2025 16:14:14 +0000 (18:14 +0200)] 
man/man3/pthread_mutexattr_getpshared.3: ffix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man3/random_r.3: pfix
Alejandro Colomar [Sun, 24 Aug 2025 16:08:02 +0000 (18:08 +0200)] 
man/man3/random_r.3: pfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man7/environ.7: srcfix
Alejandro Colomar [Sat, 23 Aug 2025 18:46:07 +0000 (20:46 +0200)] 
man/man7/environ.7: srcfix

Fixes: a82917ada050 (2025-03-30; "man/: srcfix (\fX => \f[X])")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoshare/mk/: lint-man-ws: Diagnose spurious use of white space
Alejandro Colomar [Sat, 23 Aug 2025 18:41:35 +0000 (20:41 +0200)] 
share/mk/: lint-man-ws: Diagnose spurious use of white space

Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man5/proc_pid_map_files.5: Remove SELinux indicator in examples
Alejandro Colomar [Sat, 23 Aug 2025 13:51:46 +0000 (15:51 +0200)] 
man/man5/proc_pid_map_files.5: Remove SELinux indicator in examples

I don't see that dot in my system.  Let's remove it, as it might
distract the reader.

$ sudo ls -l /proc/self/map_files/ | head -n3
total 0
lr-------- 1 root root 64 Aug 23 15:51 555ad39d6000-555ad39da000 -> /usr/bin/ls
lr-------- 1 root root 64 Aug 23 15:51 555ad39da000-555ad39f1000 -> /usr/bin/ls

Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man4/console_codes.4: tfix
Alejandro Colomar [Sat, 23 Aug 2025 13:21:22 +0000 (15:21 +0200)] 
man/man4/console_codes.4: tfix

Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man7/inode.7: srcfix
Alejandro Colomar [Sat, 16 Aug 2025 16:13:24 +0000 (18:13 +0200)] 
man/man7/inode.7: srcfix

Reported-by: `make lint-man-blank`
Cc: "G. Branden Robinson" <branden@debian.org>
Cc: Ingo Schwarze <schwarze@openbsd.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoshare/mk/: lint-man-blank: Add target to lint about blank lines
Alejandro Colomar [Tue, 12 Aug 2025 09:09:48 +0000 (11:09 +0200)] 
share/mk/: lint-man-blank: Add target to lint about blank lines

groff's CHECKSTYLE already warns about this, but it's imperfect, and it
doesn't work with mdoc(7).  This linter is simpler, and works better.

Suggested-by: "G. Branden Robinson" <branden@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man7/man-pages.7: ffix
Alejandro Colomar [Sat, 23 Aug 2025 09:12:59 +0000 (11:12 +0200)] 
man/man7/man-pages.7: ffix

Prevent splitting 'uname -m', and use italics instead of quotes.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/: ffix
Alejandro Colomar [Fri, 22 Aug 2025 19:53:15 +0000 (21:53 +0200)] 
man/: ffix

On Fri, Aug 22, 2025 at 05:09:42PM +0200, Ingo Schwarze wrote:
> >     .TS
> >     l l l
> >     ---
>
> That's terrible style.
>
> Using "-" in the tbl(7) layout only makes sense when the same layout
> line also contains at least one cell that receives data.
>
> A horizontal line that extends across the table as a whole
> should *not* get its own layout line but can be specified purely
> in the data section of the table.  That's not only more robust,
> but also results in source code that is easier to read and maintain.
>
> The above is not just convention, but also makes sense logically
> and is related to the root cause of your earlier blank line woes.
> A table line that receives no data should not be specified in the
> layout because every layout line requires at least one data line,
> so a layout line receiving no data is an oxymoron, and that logical
> contradiction is precisely what causes the issue of needing a
> blank line in the first place.
>
> Note that in a layout line that only contains "-" for *some* cells,
> while at leat one cell receives data, the problem does not occur
> because the coressponding data line(s) do contain actual data
> for at least one cell, so they are not blank.

Reported-by: Ingo Schwarze <schwarze@openbsd.org>
Suggested-by: Ingo Schwarze <schwarze@openbsd.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man7/man-pages.7: ffix
Alejandro Colomar [Fri, 22 Aug 2025 19:38:16 +0000 (21:38 +0200)] 
man/man7/man-pages.7: ffix

This table format specification was bogus.  It specified 4 columns, but
we were only using 3.  Due to the commit in which that was introduced,
I suspect it was just a typo that went unnoticed.

Fixes: 0ab815e900ce (2021-01-06; "man-pages.7: ffix: don't fill text in tables")
Reported-by: Ingo Schwarze <schwarze@openbsd.org>
Suggested-by: Ingo Schwarze <schwarze@openbsd.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man2/syscalls.2: Remove pread and pwrite from list of arch-specific syscalls
Askar Safin [Tue, 19 Aug 2025 16:10:00 +0000 (16:10 +0000)] 
man/man2/syscalls.2: Remove pread and pwrite from list of arch-specific syscalls

Current version says that pread(2) and pwrite(2) only ever existed in
avr32 and blackfin archs, which were removed from kernel.
This is not true.  pread(2) and pwrite(2) are present in modern Linux
for all archs.  They were merely renamed to pread64(2) and pwrite64(2)
in Linux 2.6, as explained in big table in this manual page.

Signed-off-by: Askar Safin <safinaskar@zohomail.com>
Message-ID: <20250819161000.768159-3-safinaskar@zohomail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoshare/mk/: lint-man-tbl: Show target name in diagnostics
Alejandro Colomar [Wed, 20 Aug 2025 11:06:41 +0000 (13:06 +0200)] 
share/mk/: lint-man-tbl: Show target name in diagnostics

Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man2/mremap.2: Describe previously undocumented shrink behaviour
Lorenzo Stoakes [Mon, 11 Aug 2025 14:59:39 +0000 (15:59 +0100)] 
man/man2/mremap.2: Describe previously undocumented shrink behaviour

There is pre-existing logic that appears to be undocumented for an
mremap() shrink operation, where it turns out that the usual 'input
range must span a single mapping' requirement no longer applies.

In fact, it turns out that the input range specified by [old_address,
old_address + old_size) may span any number of mappings.

If shrinking in-place (that is, neither the MREMAP_FIXED nor
MREMAP_DONTUNMAP flags are specified), then the new span may also span
any number of VMAs - [old_address, old_address + new_size).

If shrinking and moving, the range specified by [old_address,
old_address + new_size) must span a single VMA.

There must be at least one VMA contained within the [old_address,
old_address + old_size) range, and old_address must be within the range
of a VMA.

Explicitly document this.

Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Message-ID: <ab2264d8c29d103d400c028f0417cada002ffc11.1754924278.git.lorenzo.stoakes@oracle.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man2/: SYNOPSIS: Use GNU forward-declarations of parameters for sizes of array...
Alejandro Colomar [Tue, 19 Aug 2025 16:24:01 +0000 (18:24 +0200)] 
man/man2/: SYNOPSIS: Use GNU forward-declarations of parameters for sizes of array parameters

Fixes: d2c2db8830f8 (2025-03-14; "man/: SYNOPSIS: Use GNU forward-declarations of parameters for sizes of array parameters")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/: EXAMPLES: Use err(3) and errc(3bsd) instead of similar macros
Alejandro Colomar [Tue, 19 Aug 2025 15:48:50 +0000 (17:48 +0200)] 
man/: EXAMPLES: Use err(3) and errc(3bsd) instead of similar macros

These functions are quite portable.  And if one doesn't have them for
some reason (but libbsd has been ported to many systems), one can write
them easily as macros, anyway.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man3/strftime.3: EXAMPLES: Validate number of arguments
Dr. David Alan Gilbert [Mon, 18 Aug 2025 17:45:53 +0000 (18:45 +0100)] 
man/man3/strftime.3: EXAMPLES: Validate number of arguments

The strftime example requires a format paramter.  If you don't pass one,
it crashes.  Check for the parameter.

Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Message-ID: <20250818174553.70132-1-dave@treblig.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man7/operator.7: Add _Countof and alignof
Alejandro Colomar [Sun, 27 Jul 2025 10:57:24 +0000 (12:57 +0200)] 
man/man7/operator.7: Add _Countof and alignof

Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man7/operator.7: Add compound literal
Alejandro Colomar [Sun, 27 Jul 2025 10:52:32 +0000 (12:52 +0200)] 
man/man7/operator.7: Add compound literal

Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man7/operator.7: Add some primary expressions that look like operators
Alejandro Colomar [Sun, 27 Jul 2025 10:50:44 +0000 (12:50 +0200)] 
man/man7/operator.7: Add some primary expressions that look like operators

This allows comparing them with the precedence of operators.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man3/countof.3: Add page
Alejandro Colomar [Sat, 26 Jul 2025 21:03:03 +0000 (23:03 +0200)] 
man/man3/countof.3: Add page

Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3550.pdf#subsubsection.0.6.5.4.5>
Link: <https://thephd.dev/the-big-array-size-survey-for-c>
Link: <https://thephd.dev/the-big-array-size-survey-for-c-results>
Link: <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117025>
Link: <https://github.com/llvm/llvm-project/issues/102836>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoPR_FUTEX_HASH_GET_SLOTS.2const: Add page
Sebastian Andrzej Siewior [Tue, 19 Aug 2025 07:17:28 +0000 (09:17 +0200)] 
PR_FUTEX_HASH_GET_SLOTS.2const: Add page

Reviewed-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Message-ID: <20250819071728.1431543-4-bigeasy@linutronix.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man2const/PR_FUTEX_HASH.2const: Update as of Linux v6.17-rc2
Sebastian Andrzej Siewior [Tue, 19 Aug 2025 07:17:26 +0000 (09:17 +0200)] 
man/man2const/PR_FUTEX_HASH.2const: Update as of Linux v6.17-rc2

The PR_FUTEX_HASH prctl interface was updated shortly before the release
of v6.16.  The changes are:
-  The functionality was disabled in v6.16 and enabled v6.17-rc1 after
   some updates address the performance concerns.
-  The "IMMUTABLE" functionality was removed.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Message-ID: <20250819071728.1431543-2-bigeasy@linutronix.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man3/posix_spawn.3: EXAMPLES: Validate the number of arguments
Dr. David Alan Gilbert [Mon, 18 Aug 2025 22:59:10 +0000 (23:59 +0100)] 
man/man3/posix_spawn.3: EXAMPLES: Validate the number of arguments

Make the example check for an executable name on the command line
rather than segfaulting in the child.

Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Message-ID: <20250818225910.101238-1-dave@treblig.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man2/getrusage.2: Use correct unit (KiB) for .ru_maxrss
Alex Yang [Mon, 18 Aug 2025 07:59:05 +0000 (00:59 -0700)] 
man/man2/getrusage.2: Use correct unit (KiB) for .ru_maxrss

The .ru_maxrss member was documented as using "kilobytes" as its unit.
However, the value is actually in multiples of 1024 bytes, which is
correctly referred to as "kibibytes" (KiB) according to the IEC
standard.

Message-ID: <20250818075905.40146-1-himself65@outlook.com>
Cc: Collin Funk <collin.funk1@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agosrc/bin/diffman-git: Show sections as hunk context
Alejandro Colomar [Mon, 18 Aug 2025 08:34:17 +0000 (10:34 +0200)] 
src/bin/diffman-git: Show sections as hunk context

Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man2/syslog.2: SYNOPSIS: Remove incorrect include
Alejandro Colomar [Mon, 18 Aug 2025 06:39:51 +0000 (08:39 +0200)] 
man/man2/syslog.2: SYNOPSIS: Remove incorrect include

It doesn't provide any macros, as said later in the page.  The
programmer must either define the macros itself, or use the raw values.

Fixes: e5a173829179 (2021-06-20; "syslog.2: Use syscall(SYS_...); for raw system calls")
Closes: <https://bugzilla.kernel.org/show_bug.cgi?id=220273>
Reported-by: Nathaniel Manista <nathaniel@google.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man3/sem_post.3: ERRORS: Clarify EOVERFLOW
Alex Tran [Mon, 18 Aug 2025 04:25:58 +0000 (21:25 -0700)] 
man/man3/sem_post.3: ERRORS: Clarify EOVERFLOW

Closes: <https://bugzilla.kernel.org/show_bug.cgi?id=219335>
Signed-off-by: Alex Tran <alex.t.tran@gmail.com>
Message-ID: <20250818042558.95341-1-alex.t.tran@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man3/mallinfo.3: Reduce MAX_ALLOCS
Dr. David Alan Gilbert [Sat, 16 Aug 2025 20:42:52 +0000 (21:42 +0100)] 
man/man3/mallinfo.3: Reduce MAX_ALLOCS

The current mallinfo2() example segfaults on 64bit Linux.
This happens because it builds a large 'alloc' array
on the stack, which is currently 2M entries, each of which
is a pointer, so hitting 16MB which is more than the default
Linux stack ulimit of 8MiB.

Reduce it.

Signed-off-by: "Dr. David Alan Gilbert" <dave@treblig.org>
Message-ID: <20250816204252.63616-1-dave@treblig.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man2/mremap.2: Describe multiple-mapping move
Lorenzo Stoakes [Mon, 11 Aug 2025 14:59:38 +0000 (15:59 +0100)] 
man/man2/mremap.2: Describe multiple-mapping move

Document the new behaviour introduced in Linux 6.17 whereby it is now
possible to move multiple mappings in a single operation, as long as the
operation is purely a move, that is, old_size == new_size and
MREMAP_FIXED is specified.

This change also explains the limitations of this method and the
possibility of partial failure.

Finally, we pluralise language where it makes sense to so the documentation
does not contradict either this new capability nor the pre-existing edge
case.

Example code is enclosed below demonstrating the behaviour which is now
possible:

#define _GNU_SOURCE
#include <err.h>
#include <stddef.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <unistd.h>

int
main(void)
{
void    *ptr, *tgt_ptr;
size_t  page_size;

page_size = sysconf(_SC_PAGESIZE);
ptr = mmap(NULL, 10 * page_size, PROT_READ | PROT_WRITE,
       MAP_ANON | MAP_PRIVATE, -1, 0);
if (ptr == MAP_FAILED)
err(EXIT_FAILURE, "mmap");

tgt_ptr = mmap(NULL, 10 * page_size, PROT_NONE,
       MAP_ANON | MAP_PRIVATE, -1, 0);
if (tgt_ptr == MAP_FAILED)
err(EXIT_FAILURE, "mmap");

/* Unmap every other page. */
for (int i = 1; i < 10; i += 2)
munmap(ptr + i * page_size, page_size);

/* Now move all 5 distinct mappings to tgt_ptr. */
ptr = mremap(ptr, 10 * page_size, 10 * page_size,
     MREMAP_MAYMOVE | MREMAP_FIXED, tgt_ptr);
if (ptr == MAP_FAILED)
err(EXIT_FAILURE, "mremap");

exit(EXIT_SUCCESS);
}

Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Message-ID: <4e0c992a6374e417367475e3b3bbbc9d43380f4c.1754924278.git.lorenzo.stoakes@oracle.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man2/mremap.2: Explicitly document the simple move operation
Lorenzo Stoakes [Mon, 11 Aug 2025 14:59:37 +0000 (15:59 +0100)] 
man/man2/mremap.2: Explicitly document the simple move operation

In preparation for discussing newly introduced mremap() behaviour to
permit the move of multiple mappings at once, add a section to the
this manual page to describe these operations in general.

Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Message-ID: <0a5d0d6e9f75e8e2de05506f73c41b069d77de36.1754924278.git.lorenzo.stoakes@oracle.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man7/cgroups.7: plfix
Ian [Fri, 15 Aug 2025 09:25:58 +0000 (11:25 +0200)] 
man/man7/cgroups.7: plfix

Signed-off-by: Ian <ilc@ilcharle.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
5 weeks agoman/man2/getgroups.2: setgroups(2): Don't use NULL as a 0-length array
Alejandro Colomar [Sun, 10 Aug 2025 16:28:02 +0000 (18:28 +0200)] 
man/man2/getgroups.2: setgroups(2): Don't use NULL as a 0-length array

Reported-by: Christopher Bazley <chris.bazley.wg14@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
5 weeks agoman/man3/setlocale.3: SYNOPSIS: Use _Nullable
Alejandro Colomar [Sun, 10 Aug 2025 15:37:13 +0000 (17:37 +0200)] 
man/man3/setlocale.3: SYNOPSIS: Use _Nullable

Signed-off-by: Alejandro Colomar <alx@kernel.org>
5 weeks agoman/man2/mount_setattr.2: ffix
Alejandro Colomar [Sat, 9 Aug 2025 10:43:56 +0000 (12:43 +0200)] 
man/man2/mount_setattr.2: ffix

Reported-by: Askar Safin <safinaskar@zohomail.com>
Cc: Aleksa Sarai <cyphar@cyphar.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
5 weeks agoman/man2type/open_how.2type: Move VERSIONS to HISTORY
Alejandro Colomar [Thu, 7 Aug 2025 13:34:26 +0000 (15:34 +0200)] 
man/man2type/open_how.2type: Move VERSIONS to HISTORY

Reported-by: Aleksa Sarai <cyphar@cyphar.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
5 weeks agoman/man2/mount_setattr.2: Document glibc >= 2.36 syscall wrappers
Aleksa Sarai [Wed, 6 Aug 2025 17:44:35 +0000 (03:44 +1000)] 
man/man2/mount_setattr.2: Document glibc >= 2.36 syscall wrappers

glibc 2.36 added syscall wrappers for the entire family of fd-based
mount syscalls, including mount_setattr(2).  Thus it's no longer
necessary to instruct users to do raw syscall(2) operations.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Cc: <linux-api@vger.kernel.org>
Cc: <linux-fsdevel@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>
Cc: "Michael T. Kerrisk" <mtk.manpages@gmail.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Jan Kara <jack@suse.cz>
Cc: Askar Safin <safinaskar@zohomail.com>
Cc: "G. Branden Robinson" <branden@debian.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Christian Brauner <brauner@kernel.org>
Message-ID: <20250807-new-mount-api-v2-1-558a27b8068c@cyphar.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoGNUmakefile: help: Document the usual targets
Alejandro Colomar [Thu, 7 Aug 2025 08:35:32 +0000 (10:35 +0200)] 
GNUmakefile: help: Document the usual targets

Suggested-by: Aleksa Sarai <cyphar@cyphar.com>
Acked-by: Aleksa Sarai <cyphar@cyphar.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoman/man2const/PR_GET_TIMING.2const: SYNOPSIS: tfix
Florian Schmaus [Fri, 4 Jul 2025 15:36:30 +0000 (17:36 +0200)] 
man/man2const/PR_GET_TIMING.2const: SYNOPSIS: tfix

Fixes: 6c6125882666 (2024-05-31; "PR_GET_TIMING.2const: Tweak after split")
Signed-off-by: Florian Schmaus <flo@geekplace.eu>
Message-ID: <20250704153630.1236769-1-flo@geekplace.eu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
7 weeks agoman/man2/openat2.2: Update RESOLVE_CACHED to mention kernel version
Aleksa Sarai [Thu, 24 Jul 2025 04:58:25 +0000 (14:58 +1000)] 
man/man2/openat2.2: Update RESOLVE_CACHED to mention kernel version

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Message-ID: <20250724-openat2-cached-note-v1-1-037e7398f797@cyphar.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agosrc/bin/sortman: Fix order of intro(*) pages for subsections
Alejandro Colomar [Tue, 22 Jul 2025 09:48:07 +0000 (11:48 +0200)] 
src/bin/sortman: Fix order of intro(*) pages for subsections

Here's what changes with this patch:

$ diff -u \
<(find man -type f | ../master/src/bin/sortman) \
<(find man -type f | ./src/bin/sortman);
--- /dev/fd/63 2025-07-22 11:47:27.982307499 +0200
+++ /dev/fd/62 2025-07-22 11:47:27.982307499 +0200
@@ -805,7 +805,6 @@
 man/man2const/VT_SETMODE.2const
 man/man2const/VT_WAITACTIVE.2const
 man/man2type/open_how.2type
-man/man3attr/intro.3attr
 man/man3/intro.3
 man/man3/a64l.3
 man/man3/abort.3
@@ -2517,6 +2516,7 @@
 man/man3/yn.3
 man/man3/ynf.3
 man/man3/ynl.3
+man/man3attr/intro.3attr
 man/man3attr/gnu::aligned.3attr
 man/man3attr/gnu::format.3attr
 man/man3const/EOF.3const

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoshare/mk/build/pdf/book/prepare.pl: Add support for man3attr
Alejandro Colomar [Tue, 22 Jul 2025 09:28:39 +0000 (11:28 +0200)] 
share/mk/build/pdf/book/prepare.pl: Add support for man3attr

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man3/malloc.3: STANDARDS: tfix, ffix
Alejandro Colomar [Mon, 21 Jul 2025 12:39:11 +0000 (14:39 +0200)] 
man/man3/malloc.3: STANDARDS: tfix, ffix

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/openat2.2: HISTORY: Include epilogue about FreeBSD
Aleksa Sarai [Mon, 21 Jul 2025 01:55:36 +0000 (11:55 +1000)] 
man/man2/openat2.2: HISTORY: Include epilogue about FreeBSD

While RESOLVE_BENEATH was based on FreeBSD's O_BENEATH, there was a
well-known safety issue in O_BENEATH that we explicitly avoided
replicating -- FreeBSD would only verify whether the lookup escaped the
dirfd *at the end of the path lookup*.

This meant that even with O_BENEATH, an attacker could gain information
about the structure of the filesystem outside of the dirfd through
timing attacks or other side-channels.

Once Linux had RESOLVE_BENEATH, FreeBSD implemented O_RESOLVE_BENEATH to
mimic the same behaviour[1] and eventually removed O_BENEATH entirely
from their system[2].  It seems prudent to provide this epilogue in the
HISTORY section of the openat2(2) man page (the FreeBSD man page does
for open(2) not reference this historical connection with Linux at all,
as far as I can tell).

Link: [1] <https://reviews.freebsd.org/D25886>
Link: [2] <https://reviews.freebsd.org/D28907>
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Message-ID: <20250721-openat2-history-v1-1-994936dd224a@cyphar.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agolsm: Released 6.15
Alejandro Colomar [Sun, 20 Jul 2025 21:56:31 +0000 (23:56 +0200)] 
lsm: Released 6.15

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoChanges: Ready for 6.15 man-pages-6.15
Alejandro Colomar [Sun, 20 Jul 2025 19:04:13 +0000 (21:04 +0200)] 
Changes: Ready for 6.15

The commands in 4a2750a06f98 (2023-08-01; "Changes: Ready for 6.05")
need as update for the new man/ directory.  I've also added code to get
the page which link pages link to.

List of new pages:

$ git diff man-pages-6.14..HEAD \
| grep -A1 '^--- /dev/null' \
| grep -v -e '\--' -e '\--- /dev/null' \
| sed 's,+++ b/,,' \
| grep '^man/' \
| xargs grep -L '^\.so ' \
| sed 's,.*/,,';

List of new links:

$ git diff man-pages-6.14..HEAD \
| grep '^+++ ' \
| sed 's,+++ b/,,' \
| grep '^man/' \
| xargs grep -l '^\.so ' \
| sed 's,.*/,,' \
| while read -r f; do
echo "$f" \
| tr -d '\n';

find man/ -type f \
| grep "$f" \
| xargs grep '^\.so' \
| sed 's,.*/,\t\t\t(,' \
| sed 's/\./(/' \
| sed 's/$/))/';
done;

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man3/malloc.3: STANDARDS, HISTORY, BUGS: Clarify (non)conformance of realloc...
Alejandro Colomar [Thu, 19 Jun 2025 00:27:48 +0000 (02:27 +0200)] 
man/man3/malloc.3: STANDARDS, HISTORY, BUGS: Clarify (non)conformance of realloc{,array}(3)

Link: <https://nabijaczleweli.xyz/content/blogn_t/017-malloc0.html>
Link: <https://sourceware.org/pipermail/libc-alpha/1999-April/000956.html>
Link: <https://inbox.sourceware.org/libc-alpha/nbyurzcgzgd5rdybbi4no2kw5grrc32k63svf7oq73nfcbus5r@77gry66kpqfr/>
Link: <https://inbox.sourceware.org/libc-alpha/20241019014002.3684656-1-siddhesh@sourceware.org/T/#u>
Link: <https://inbox.sourceware.org/libc-alpha/qukfe5yxycbl5v7ooskvqdnm3au3orohbx4babfltegi47iyly@or6dgf7akeqv/T/#u>
Link: <https://github.com/bminor/glibc/commit/7c2b945e1fd64e0a5a4dbd6ae6592a7314dcd4b5>
Link: <https://github.com/llvm/llvm-project/issues/113065>
Link: <https://www.austingroupbugs.net/view.php?id=400>
Link: <https://www.austingroupbugs.net/view.php?id=526>
Link: <https://www.austingroupbugs.net/view.php?id=688>
Link: <https://sourceware.org/bugzilla/show_bug.cgi?id=12547>
Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_400.htm>
Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n868.htm>
Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2438.htm>
Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2464.pdf>
Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3621.txt>
Link: <https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/functions/realloc.html>
Link: <https://pubs.opengroup.org/onlinepubs/9699919799.2013edition/functions/realloc.html>
Link: <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120744>
Link: <https://lore.kernel.org/lkml/20220213182443.4037039-1-keescook@chromium.org/>
Link: <https://awakened1712.github.io/hacking/hacking-whatsapp-gif-rce/>
Link: <https://gbhackers.com/whatsapp-double-free-vulnerability/>
Cc: <bug-gnulib@gnu.org>
Cc: <musl@lists.openwall.com>
Cc: <libc-alpha@sourceware.org>
Cc: наб <nabijaczleweli@nabijaczleweli.xyz>
Cc: Douglas McIlroy <douglas.mcilroy@dartmouth.edu>
Cc: Paul Eggert <eggert@cs.ucla.edu>
Cc: Robert Seacord <rcseacord@gmail.com>
Cc: Elliott Hughes <enh@google.com>
Cc: Bruno Haible <bruno@clisp.org>
Cc: JeanHeyd Meneide <phdofthehouse@gmail.com>
Cc: Rich Felker <dalias@libc.org>
Cc: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Cc: Joseph Myers <josmyers@redhat.com>
Cc: Florian Weimer <fweimer@redhat.com>
Cc: Andreas Schwab <schwab@suse.de>
Cc: Thorsten Glaser <tg@mirbsd.de>
Cc: Eric Blake <eblake@redhat.com>
Cc: Vincent Lefevre <vincent@vinc17.net>
Cc: Mark Harris <mark.hsj@gmail.com>
Cc: Collin Funk <collin.funk1@gmail.com>
Cc: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Cc: DJ Delorie <dj@redhat.com>
Cc: Cristian Rodríguez <cristian@rodriguez.im>
Cc: Siddhesh Poyarekar <siddhesh@gotplt.org>
Cc: Sam James <sam@gentoo.org>
Cc: Mark Wielaard <mark@klomp.org>
Cc: "Maciej W. Rozycki" <macro@redhat.com>
Cc: Martin Uecker <ma.uecker@gmail.com>
Cc: Christopher Bazley <chris.bazley.wg14@gmail.com>
Cc: Eskil Steenberg <eskil@obsession.se>
Cc: Terence Kelly <tpkelly@eecs.umich.edu>
Cc: Daniel Krügler <daniel.kruegler@googlemail.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Valdis Klētnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/fcntl.2, man/man2const/F_*.2const: Make sashimi of fcntl(2)
Alejandro Colomar [Sat, 19 Jul 2025 22:47:42 +0000 (00:47 +0200)] 
man/man2/fcntl.2, man/man2const/F_*.2const: Make sashimi of fcntl(2)

8 weeks agoman/man2/fcntl.2: Tweak after making sashimi of this page
Alejandro Colomar [Sat, 19 Jul 2025 22:47:12 +0000 (00:47 +0200)] 
man/man2/fcntl.2: Tweak after making sashimi of this page

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/fcntl_locking.2, man/man2const/F_*.2const: Tweak after split, and add link...
Alejandro Colomar [Sat, 19 Jul 2025 22:36:56 +0000 (00:36 +0200)] 
man/man2/fcntl_locking.2, man/man2const/F_*.2const: Tweak after split, and add link pages

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/fcntl{,_locking}.2: Split locking operations from fcntl(2)
Alejandro Colomar [Sat, 19 Jul 2025 22:32:04 +0000 (00:32 +0200)] 
man/man2/fcntl{,_locking}.2: Split locking operations from fcntl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2const/F_*.2const: Tweak after split, and add link pages
Alejandro Colomar [Sat, 19 Jul 2025 22:06:41 +0000 (00:06 +0200)] 
man/man2const/F_*.2const: Tweak after split, and add link pages

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/fcntl.2, man/man2const/F_GETSIG.2const: Split F_{G,S}ETOWN*, F_{G,S}ETSIG...
Alejandro Colomar [Sat, 19 Jul 2025 21:58:10 +0000 (23:58 +0200)] 
man/man2/fcntl.2, man/man2const/F_GETSIG.2const: Split F_{G,S}ETOWN*, F_{G,S}ETSIG from fcntl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2const/F_{G,S}ETLEASE.2const: Tweak after split, and add link page
Alejandro Colomar [Tue, 15 Jul 2025 22:42:18 +0000 (00:42 +0200)] 
man/man2const/F_{G,S}ETLEASE.2const: Tweak after split, and add link page

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/fcntl.2, man/man2const/F_GETLEASE.2const: Split F_{G,S}ETLEASE from fcntl(2)
Alejandro Colomar [Tue, 15 Jul 2025 22:40:28 +0000 (00:40 +0200)] 
man/man2/fcntl.2, man/man2const/F_GETLEASE.2const: Split F_{G,S}ETLEASE from fcntl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2const/F_NOTIFY.2const: Tweak after split
Alejandro Colomar [Sun, 13 Jul 2025 23:44:41 +0000 (01:44 +0200)] 
man/man2const/F_NOTIFY.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/fcntl.2, man/man2const/F_NOTIFY.2const: Split F_NOTIFY from fcntl(2)
Alejandro Colomar [Sun, 13 Jul 2025 21:19:34 +0000 (23:19 +0200)] 
man/man2/fcntl.2, man/man2const/F_NOTIFY.2const: Split F_NOTIFY from fcntl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2const/F_{G,S}ET{,_FILE}_RW_HINT.2const: Tweak after split, and add link pages
Alejandro Colomar [Sun, 13 Jul 2025 21:06:57 +0000 (23:06 +0200)] 
man/man2const/F_{G,S}ET{,_FILE}_RW_HINT.2const: Tweak after split, and add link pages

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/fcntl.2, man/man2const/F_GET_RW_HINT.2const: Split F_{G,S}ET{,_FILE}_RW_HINT...
Alejandro Colomar [Sat, 12 Jul 2025 23:59:09 +0000 (01:59 +0200)] 
man/man2/fcntl.2, man/man2const/F_GET_RW_HINT.2const: Split F_{G,S}ET{,_FILE}_RW_HINT from fcntl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2const/F_{GET,ADD}_SEALS.2const: Tweak after split, and add link page
Alejandro Colomar [Sat, 12 Jul 2025 23:44:11 +0000 (01:44 +0200)] 
man/man2const/F_{GET,ADD}_SEALS.2const: Tweak after split, and add link page

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/fcntl.2, man/man2const/F_GET_SEALS.2const: Split F_{GET,ADD}_SEALS from...
Alejandro Colomar [Sat, 12 Jul 2025 23:41:16 +0000 (01:41 +0200)] 
man/man2/fcntl.2, man/man2const/F_GET_SEALS.2const: Split F_{GET,ADD}_SEALS from fcntl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2const/F_{G,S}ETPIPE_SZ.2const: Tweak after split, and add link page
Alejandro Colomar [Sat, 12 Jul 2025 23:31:38 +0000 (01:31 +0200)] 
man/man2const/F_{G,S}ETPIPE_SZ.2const: Tweak after split, and add link page

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/fcntl.2, man/man2const/F_GETPIPE_SZ.2const: Split F_{G,S}ETPIPE_SZ from...
Alejandro Colomar [Sat, 12 Jul 2025 23:28:43 +0000 (01:28 +0200)] 
man/man2/fcntl.2, man/man2const/F_GETPIPE_SZ.2const: Split F_{G,S}ETPIPE_SZ from fcntl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2const/F_{G,S}ETFL.2const: Tweak after split, and add link page
Alejandro Colomar [Sat, 12 Jul 2025 13:59:05 +0000 (15:59 +0200)] 
man/man2const/F_{G,S}ETFL.2const: Tweak after split, and add link page

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/fcntl.2, man/man2const/F_GETFL.2const: Split F_{G,S}ETFL from fcntl(2)
Alejandro Colomar [Sat, 12 Jul 2025 13:53:29 +0000 (15:53 +0200)] 
man/man2/fcntl.2, man/man2const/F_GETFL.2const: Split F_{G,S}ETFL from fcntl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2const/F_{G,S}ETFD.2const: Tweak after split, and add link page
Alejandro Colomar [Sat, 12 Jul 2025 12:50:19 +0000 (14:50 +0200)] 
man/man2const/F_{G,S}ETFD.2const: Tweak after split, and add link page

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/fcntl.2, man/man2const/F_GETFD.2const: Split F_{G,S}ETFD from fcntl(2)
Alejandro Colomar [Sat, 12 Jul 2025 12:43:56 +0000 (14:43 +0200)] 
man/man2/fcntl.2, man/man2const/F_GETFD.2const: Split F_{G,S}ETFD from fcntl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2const/F_DUPFD{,_CLOEXEC}.2const: Tweak after split, and add link page
Alejandro Colomar [Sat, 12 Jul 2025 00:14:40 +0000 (02:14 +0200)] 
man/man2const/F_DUPFD{,_CLOEXEC}.2const: Tweak after split, and add link page

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/fcntl.2, man/man2const/F_DUPFD.2const: Split F_DUPFD and F_DUPFD_CLOEXEC...
Alejandro Colomar [Sat, 12 Jul 2025 00:10:10 +0000 (02:10 +0200)] 
man/man2/fcntl.2, man/man2const/F_DUPFD.2const: Split F_DUPFD and F_DUPFD_CLOEXEC from fcntl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/: Replace reserved exp identifier
Vincent Lefevre [Sat, 12 Jul 2025 21:05:00 +0000 (23:05 +0200)] 
man/: Replace reserved exp identifier

Since exp is a library function, this is a reserved identifier, which
should not be used as a variable name / parameter.

Signed-off-by: Vincent Lefevre <vincent@vinc17.net>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man3/printf.3: Mention Android's %m support.
Elliott Hughes [Tue, 15 Jul 2025 18:42:56 +0000 (18:42 +0000)] 
man/man3/printf.3: Mention Android's %m support.

In future we might want to note that it's _not_ available on iOS/macOS
and the BSDs, since that's the caveat I usually give when recommending
the use of %m.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 weeks agoman/man2/clone.2: Move ia64 to HISTORY
Alejandro Colomar [Fri, 18 Jul 2025 12:29:25 +0000 (14:29 +0200)] 
man/man2/clone.2: Move ia64 to HISTORY

Reported-by: Elliott Hughes <enh@google.com>
Cc: Carlos O'Donell <carlos@redhat.com>
Cc: Eugene Syromyatnikov <evgsyr@gmail.com>
Cc: Walter Harms <wharms@bfs.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>