| Age | Commit message (Collapse) | Author | Files | Lines |
|
We document the exact length in <CONTRIBUTING.d/git>.
Fixes: a8aa0eaf (2026-02-08; "CONTRIBUTING.d/: Document format of 'Fixes:' trailer fields")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
8 characters is enough for showing most commits unambiguously.
12 would be necessary if we didn't have the date. However, the date can
be used to disambiguate a commit better than a longer hash. Let's cut
some characters to make commit references more readable.
Fixes: a8aa0eaf (2026-02-08; "CONTRIBUTING.d/: Document format of 'Fixes:' trailer fields")
Fixes: e9fa66a0 (2026-02-08; "CONTRIBUTING.d/git: core.abbrev: Set to 12")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
These are obvious from the fact that the first argument is non-const.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
They're deprecated; their own manual page is enough.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
I'm going to eventually convert everything to tabs. It's simpler, and
it allows me to paste code directly to the examples.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Fixes: 78488ed5ccbb (2025-11-06; "share/mk/: $SHELLCHECKFLAGS: Disable SC2028")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <dev@sethm.id.au>
Message-ID: <464d2acd9d6246ae40849738f6b5ff6151ae9e97.1771750388.git.dev@sethm.id.au>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <dev@sethm.id.au>
Message-ID: <f336517a9084b23f49da379a4d2a73f7a86c2e32.1771750388.git.dev@sethm.id.au>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <dev@sethm.id.au>
Message-ID: <e0ecd2307cf922ec0a7ad34d6524f0a62bfc67e0.1771750388.git.dev@sethm.id.au>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <dev@sethm.id.au>
Message-ID: <5be05e964e1443e036e18acbb8c497052d524259.1771750388.git.dev@sethm.id.au>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <dev@sethm.id.au>
Message-ID: <3b27c0e095e33180f26181043f64f1a52a6066e8.1771750388.git.dev@sethm.id.au>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Document it as two overloads (C++-style).
Reported-by: Paul Eggert <eggert@cs.ucla.edu>
Suggested-by: Bruno Haible <bruno@clisp.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
The previous commit made it redundant; I forgot to remove it then.
Fixes: eb7620b01fce (2026-02-18; "man/man2/futex_waitv.2: Move text from ERRORS to DESCRIPTION")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Message-ID: <y2tytznhy5c6grvzvtw7px3a3qmj2u7evwaax4qzc2lf44sawd@tarta.nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
mincore(2) was implemented in FreeBSD on 1995-10-21,[1] and was first
included in the FreeBSD 2.2 release on 1997-03.[2]
It was implemented in NetBSD on 1999-06-15,[3] and was first included in
the NetBSD 1.5 release on 2000-12-06,[4] (despite the commit message
stating its intended inclusion in NetBSD 1.4.1).
It was implemented in OpenBSD on 2001-03-09,[5] and was first included
in the OpenBSD 2.9 release on 2001-06-01.[6]
All other listed systems are taken at face value and rearranged in
chronological-ish order.
[1] Dyson, John (21 Oct 1995). "Implement mincore system call."
FreeBSD source tree (Git repository). Commit
02c04a2f6c83ee28ed637d120296d04da8f03372.
[2] The FreeBSD Project (29 Nov 2025). "Prior Releases – EOL".
<https://www.freebsd.org/releases>
[3] Thorpe, Jason (15 Jun 1999). "Several changes, developed and tested
concurrently:". NetBSD src (CVS repository).
<https://cvsweb.netbsd.org/bsdweb.cgi/src/sys/uvm/uvm_mmap.c?rev=1.22>
[4] The NetBSD Foundation (2026). "History of NetBSD releases".
<https://www.netbsd.org/releases/formal.html>
[5] art (9 Mar 2001). "More syncing to NetBSD." OpenBSD src (CVS
repository).
<https://cvsweb.openbsd.org/src/sys/uvm/uvm_mmap.c?rev=1.7&content-type=text/x-cvsweb-markup>
[6] de Raadt, Theo (1 Jun 2001). "OpenBSD 2.9".
<https://www.openbsd.org/29.html>
Signed-off-by: Seth McDonald <dev@sethm.id.au>
Message-ID: <b1b6f011a7d36cda53abe8c561da44bff08d381b.1771232583.git.dev@sethm.id.au>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
'for (;;)' is the most common spelling:
$ grep -rn 'while (true)' man/
$ grep -rn 'while (1)' man/ | wc -l
6
$ grep -rn 'for (;;)' man/ | wc -l
23
I also personally happen to like it most, mentally reading it as
'for ever'.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
On 2026-01-26T12:28:10+0000, Seth McDonald wrote:
> This set updates the history of system calls H to M.
>
> While I have been thorough with my research, I would encourage those
> interested to double-check that my edits make sense given the listed
> sources. Particularly for linkat(2), SEEK_DATA/SEEK_HOLE, mkdirat(2),
> and mincore(2), since they took significantly more time and research
> than other functions.
Co-authored-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <cover.1769429341.git.sethmcmail@pm.me>
Cc: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
msync(2) appeared in SUSv1.[1] The function was then added to
POSIX.1-1996.[2]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", pp. 412-413.
[2] ISO/IEC 9945-1:1996, Section 12.2.4 "Memory Object Synchronization".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <d106bca86ec14c722b31febfaae0bdea6afbd8b2.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
msg{rcv,snd}(2)
msgrcv(2) and msgsnd(2) appeared in SUSv1.[1] The functions were added
to POSIX.1-2001 when POSIX and SUS merged, but as an XSI extension
(still SUS-only).[2][3] And they remain as an XSI extension in
POSIX.1-2024.[4][5]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", pp. 408-411.
[2] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", pp.
806-808.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/msgrcv.html>
[3] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", pp.
809-811.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/msgsnd.html>
[4] IEEE Std 1003.1-2024, Volume 2, Chapter 3 "System Interfaces", pp.
1475-1477.
<https://pubs.opengroup.org/onlinepubs/9799919799/functions/msgrcv.html>
[5] IEEE Std 1003.1-2024, Volume 2, Chapter 3 "System Interfaces", pp.
1478-1480.
<https://pubs.opengroup.org/onlinepubs/9799919799/functions/msgsnd.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <86e7c24b14286fe05108c623d61d93106f9c9209.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
msgget(2) appeared in SUSv1.[1] The function was added to POSIX.1-2001
when POSIX and SUS merged, but as an XSI extension (still SUS-only).[2]
And it remains an XSI extension in POSIX.1-2024.[3]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", pp. 406-407.
[2] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", pp.
804-805.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/msgget.html>
[3] IEEE Std 1003.1-2024, Volume 2, Chapter 3 "System Interfaces", pp.
1473-1474.
<https://pubs.opengroup.org/onlinepubs/9799919799/functions/msgget.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <975e61bea29f1b03d0d95fa9ea707938ee32c4f0.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
msgctl(2) appeared in SUSv1.[1] The function was added to POSIX.1-2001
when POSIX and SUS merged, but as an XSI extension (still SUS-only).[2]
And it remains an XSI extension in POSIX.1-2024.[3]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", pp. 404-405.
[2] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", pp.
802-803.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/msgctl.html>
[3] IEEE Std 1003.1-2024, Volume 2, Chapter 3 "System Interfaces", pp.
1471-1472.
<https://pubs.opengroup.org/onlinepubs/9799919799/functions/msgctl.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <024ce32c9da51aa6da991b55ffcc3d72a9aaaa55.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
mprotect(2) appeared in SUSv1.[1] The function was then added to
POSIX.1-1996.[2]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", p. 402.
[2] ISO/IEC 9945-1:1996, Section 12.2.3 "Change Memory Protection".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <4e1acc0f5e001c3b51af8750f61d25387154e750.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Commas are more consistent with other man pages.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <b8f4e6fa54e7ebb38fb933438982347aa101b1bb.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
mmap(2) and munmap(2) appeared in SUSv1.[1] The functions were then
added to POSIX.1-1996.[2][3]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", pp. 398-400, 414.
[2] ISO/IEC 9945-1:1996, Section 12.2.1 "Map Process Addresses to a
Memory Object".
[3] ISO/IEC 9945-1:1996, Section 12.2.2 "Unmap Previously Mapped
Addresses".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <57292b4f60c41b05274f5906ed0b8196cb053515.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
mlock(2), munlock(2), mlockall(2), and munlockall(2) appeared in
POSIX.1-1996.[1][2]
[1] ISO/IEC 9945-1:1996, Section 12.1.1 "Lock/Unlock the Address Space
of a Process".
[2] ISO/IEC 9945-1:1996, Section 12.1.2 "Lock/Unlock a Range of Process
Address Space".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <67bf0c1aa1338117e930e19dd32ebfe6bdaf8432.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
mknod(2) and mknodat(2) are specified in POSIX.1-2024 as an XSI
extension.[1]
[1] IEEE Std 1003.1-2024, Volume 2, Chapter 3 "System Interfaces", pp.
1421-1424.
<https://pubs.opengroup.org/onlinepubs/9799919799/functions/mknod.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <32bd25fd363096217afa576fd79412f0de74e0ae.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
mknod(2) appeared in SUSv1.[1] The function was added to POSIX.1-2001
when POSIX and SUS merged, but as an XSI extension (still SUS-only).[2]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", pp. 392-393.
[2] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", pp.
758-760.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/mknod.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <b0feda20f21d633090a9fa7554b6d4ccb46d4295.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
glibc 2.4 released on 2006-03-06.[1] Linux 2.6.16 released on
2006-03-20.[2] So chronologically list glibc before Linux.
POSIX.1-2008 released in 2008, adding mkdirat(2) as an XSI extension.[3]
glibc added mknodat(2) on 2005-12-03.[4] So chronologically list glibc
(and Linux) before POSIX.
[1] McGrath, Roland (6 Mar 2006). "GNU C Library version 2.4 release".
info-gnu (Mailing list).
<https://lists.gnu.org/archive/html/info-gnu/2006-03/msg00000.html>
[2] Linux Kernel Distribution System (20 Mar 2006). "Linux kernel
2.6.16 released". linux-kernel-announce (Mailing list).
<https://lore.kernel.org/linux-kernel-announce/200603200635.k2K6ZOsn003502@hera.kernel.org>
[3] IEEE Std 1003.1-2008, Volume 2, Chapter 3 "System Interfaces", pp.
1298-1301.
<https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/functions/mknod.html>
[4] Drepper, Ulrich (3 Dec 2005). "* io/Makefile (routines): Add
mknodat, xmknodat, mkdirat, mkfifoat." GNU C Library master sources
(Git repository).
<https://sourceware.org/git/?p=glibc.git;a=commit;h=e186c703dc073b8be95d0bf893bb8ebb127fe02b>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <d3da8260e1bcd6e80b24729c805aa4f4b1497a48.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
mkdir(2) seems to have appeared in 4.2BSD with the system call number
136, as seen in the system's /usr/src/sys/sys/syscalls.c file.[1] The
function also appeared in POSIX.1-1988.[2]
[1] Spinellis, Diomidis (5 Jan 2026). Unix History Repository (Git
repository). Tag "BSD-4_2".
<https://github.com/dspinellis/unix-history-repo/tree/BSD-4_2>
[2] IEEE Std 1003.1-1988, Section 5.4.1 "Make a Directory".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <347e36c11666dc28a3c00227ae5c513bd427e680.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
glibc 2.4 released on 2006-03-06.[1] Linux 2.6.16 released on
2006-03-20.[2] So chronologically list glibc before Linux.
POSIX.1-2008 released in 2008, adding mkdirat(2) to the
specification.[3] glibc added mkdirat(2) on 2005-12-03,[4] and the
mailing list discussion about its addition seems to suggest it was
considered before it was known that POSIX would add it.[5] So
chronologically list glibc (and Linux) before POSIX.
[1] McGrath, Roland (6 Mar 2006). "GNU C Library version 2.4 release".
info-gnu (Mailing list).
<https://lists.gnu.org/archive/html/info-gnu/2006-03/msg00000.html>
[2] Linux Kernel Distribution System (20 Mar 2006). "Linux kernel
2.6.16 released". linux-kernel-announce (Mailing list).
<https://lore.kernel.org/linux-kernel-announce/200603200635.k2K6ZOsn003502@hera.kernel.org>
[3] IEEE Std 1003.1-2008, Volume 2, Chapter 3 "System Interfaces", pp.
1289-1291.
<https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/functions/mkdir.html>
[4] Drepper, Ulrich (3 Dec 2005). "* io/Makefile (routines): Add
mknodat, xmknodat, mkdirat, mkfifoat." GNU C Library master sources
(Git repository).
<https://sourceware.org/git/?p=glibc.git;a=commit;h=e186c703dc073b8be95d0bf893bb8ebb127fe02b>
[5] Meyering, Jim (30 Nov 2005). "FYI: new openat-like function:
mkdirat". libc-alpha (Mailing list).
<https://sourceware.org/pipermail/libc-alpha/2005-November/019749.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <8b25a256e60f221d8da2f71706a0af93cf0d5976.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
lseek(2) appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 6.5.3 "Reposition Read/Write File
Offset".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <2dd12d136bf0aa0637ec1bc5255ee37f502fbc5b.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
SEEK_DATA and SEEK_HOLE appeared in Solaris no later than 2005-12-12,
when a ZFS developer stated in a blog post that "[a]t this [time of]
writing, SEEK_HOLE and SEEK_DATA are Solaris-specific."[1] The release
notes for Solaris 10 are dated to 2005-12.[2] So the constants were
likely added in Solaris 10.
They were added to FreeBSD on 2007-04-05,[3] before being released in
FreeBSD 7.0 - the release notes stating that "[s]upport for Sun's ZFS
has been added" for amd64, i386, and pc98.[4]
They were also added to DragonFly BSD on 2009-04-07,[5] before being
released in DragonFly BSD 2.3.1 (which strangely seems to have no
release notes).[6]
The commit adding the constants to DragonFly BSD states that the commit
contents were obtained from FreeBSD.[5] So chronologically FreeBSD is
listed before DragonFly BSD. And the commit adding them to FreeBSD
references their implementation in OpenSolaris.[3] So chronologically
Solaris is listed before FreeBSD.
POSIX.1-2024 is also moved to the end of the list, since it was released
decades after any system discussed here.
[1] Bonwick, Jeff (12 Dec 2005). "SEEK_HOLE and SEEK_DATA for sparse
files". Jeff Bonwick's Weblog. Archived on 25 Oct 2006.
<https://web.archive.org/web/20061025161241/http://blogs.sun.com/bonwick/entry/seek_hole_and_seek_data>
[2] Oracle (Dec 2005). "Solaris 10 Release Notes".
<https://docs.oracle.com/cd/E19253-01/html/817-0552/index.html>
[3] Dawidek, Pawel Jakub (5 Apr 2007). "Implement SEEK_DATA and
SEEK_HOLE extensions to lseek(2) as found in". FreeBSD source tree (Git
repository).
<https://cgit.freebsd.org/src/commit/?id=f6521d1c31810b096dd15afff12cf194d1989a0a>
[4] The FreeBSD Project (15 May 2021). "FreeBSD 7.0-RELEASE Release
Notes". Section 2.2.5 "File Systems".
<https://www.freebsd.org/releases/7.0R/relnotes>
[5] Avalos, Peter (7 Apr 2009). "Clean up sysconf and associated
headers". DragonFly Project Source (Git repository).
<https://gitweb.dragonflybsd.org/dragonfly.git/commit/9d66746cf7a1da0544550266a1c5cb53e776aa01>
[6] Schubert, Simon (7 May 2009). "Roll DragonFly 2.3.1". DragonFly
Project Source (Git repository).
<https://gitweb.dragonflybsd.org/dragonfly.git/commit/33a70342dc4e7f9a4ad7c120a827234a33153ca4>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <bcf9f5113f3c88ec1a3fa2bd9ec7a397b603f7c0.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
4.2BSD released way before POSIX.1-2001, so chronologically list BSD
before POSIX.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <2024c82a058d671b57508887833af98d56d56da5.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
link(2) appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 5.3.4 "Link to a File".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <bec317b8ee8861467e234ae884db6d18c72d0fe6.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
glibc 2.4 released on 2006-03-06.[1] Linux 2.6.16 released on
2006-03-20.[2] So chronologically list glibc before Linux.
POSIX.1-2008 released in 2008 (shocker!). However, glibc's addition of
linkat(2) on 2005-12-16 declared the function in posix/unistd.h,[3]
implying it was known (or at least suspected) to have been proposed for
inclusion in POSIX.1-2008.[4] So chronologically list POSIX before
glibc.
[1] McGrath, Roland (6 Mar 2006). "GNU C Library version 2.4 release".
info-gnu (Mailing list).
<https://lists.gnu.org/archive/html/info-gnu/2006-03/msg00000.html>
[2] Linux Kernel Distribution System (20 Mar 2006). "Linux kernel
2.6.16 released". linux-kernel-announce (Mailing list).
<https://lore.kernel.org/linux-kernel-announce/200603200635.k2K6ZOsn003502@hera.kernel.org>
[3] Drepper, Ulrich (16 Dec 2005). "*
sysdeps/unix/sysv/linux/renameat.c: Move errno setting code in". GNU C
Library master sources (Git repository).
<https://sourceware.org/git/?p=glibc.git;a=commit;h=5c46041a9c8e0431f0b329a94becfc5d576d12cb>
[4] IEEE Std 1003.1-2008, Volume 2, Chapter 3 "System Interfaces", pp.
1216-1220.
<https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/functions/link.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <17eacf0f2d3e4e9ec0faae8dc991d570e443dc5c.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
kill(2) appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 3.3.2 "Send a Signal to a Process".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <55de16b213bf725f1365203b361d73cdb2dd0b6e.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Commas are more consistent with other man pages.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <d109f3dc06e2c432faca396ebb3b1e7b28c52024.1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Reported-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
mount(2) can return ENOSPC since:
linux.git d29216842a85 (2016-09-30; "mnt: Add a per mount namespace limit on the number of mounts")
Signed-off-by: Chen Linxuan <me@black-desk.cn>
Message-ID: <20260201-add-enospc-for-mount-v2-1-43c990199cc6@black-desk.cn>
[alx: wfix]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Document new time bases TIME_MONOTONIC, TIME_ACTIVE, and
TIME_THREAD_ACTIVE, introduced in ISO C23 and supported by
glibc 2.43.[1]
[1] <https://sourceware.org/git/?p=glibc.git;a=commit;h=f28a11e43f40>
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
Message-ID: <1955d9507d6ab4e482f92a4d7717872c98f39f8a.1769705123.git.mark.hsj@gmail.com>
[alx: de-duplicate glibc versions]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Add Feature Test Macro Requirements to document functions and macros
that require ISO C11 or C23, and arrange supported time bases as a list.
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
Message-ID: <ec8dfdc495cb8d58e945b370658c6945cb424327.1769705123.git.mark.hsj@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
_ISOC9X_SOURCE was a temporary macro for use before the final name
of the standard was known. It became obsolete when _ISOC99_SOURCE
was added in glibc 2.1.3 (1999), and has not been recognized since
_ISOC11_SOURCE was added in glibc 2.16 (2012).[1]
[1] <https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=d78099052b6b>
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
Message-ID: <bf785830f727b9fd7a40001b861b743f88fe2a7a.1769581651.git.mark.hsj@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
_ISOC2X_SOURCE has been recognized since glibc 2.31 (2020).[1]
_ISOC23_SOURCE has been recognized since glibc 2.40 (2024).[2]
[1] <https://sourceware.org/git/?p=glibc.git;a=commit;h=777d75fbc07b>
[2] <https://sourceware.org/git/?p=glibc.git;a=commit;h=42cc619dfbc4>
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
Message-ID: <c52b599edf72f3e536ff6a5b846232ab15bc83d7.1769581650.git.mark.hsj@gmail.com>
[alx: srcfix]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
This is true for Fedora, where this page was sourced from, but I don't
believe it has ever been true for the mainline kernel, because Linus
rejected it.
Link: <https://bbs.archlinux.org/viewtopic.php?pid=2088704#p2088704>
Link: <https://lore.kernel.org/lkml/CA+55aFzYbpRAdma0PvqE+9ygySuKzNKByqOzzMufBoovXVnfPw@mail.gmail.com/>
Fixes: bb509e6fcbae (2020-10-16; "kernel_lockdown.7: New page documenting the Kernel Lockdown feature")
Signed-off-by: Alyssa Ross <hi@alyssa.is>
Message-ID: <20260203195001.20131-1-hi@alyssa.is>
Acked-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Message-ID: <aa62e24c-537e-4141-9507-37cd0af19dfc@huawei.com>
Acked-by: Nicolas Bouchinet <nicolas.bouchinet@oss.cyber.gouv.fr>
Message-ID: <aYYP23WUyydsMGyx@archlinux>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: David Howells <dhowells@redhat.com>
Cc: <linux-security-module@vger.kernel.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
ptrace_syscall_info
Add documentation for the new ptrace request PTRACE_SET_SYSCALL_INFO,
introduced in Linux 6.16.
Add 'reserved' and 'flags' fields of struct ptrace_syscall_info.
This description is based on kernel commit 26bb32768fe6552de044f782a58b3272073fbfc0
("ptrace: introduce PTRACE_SET_SYSCALL_INFO request") by Dmitry V. Levin.
Signed-off-by: Marco Cavenati <Marco.Cavenati@eurecom.fr>
Message-ID: <20260121155550.281916-1-Marco.Cavenati@eurecom.fr>
Reviewed-by: "Dmitry V. Levin" <ldv@strace.io>
Message-ID: <20260210205347.GA31604@strace.io>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Message-ID: <2ekfzlznhv7yld7dghj5rt7uvenp6uji5jrmfm6xoije6ycyny@tarta.nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
The following diagnostic was triggered. It's not a false positive, but
adding const wouldn't be helpful int his example.
remote: .tmp/man/man2/userfaultfd.2.d/userfaultfd.c:121:17: style: Variable 'addr' can be declared as pointer to const [constVariablePointer]
remote: char *addr; /* Start of region handled by userfaultfd */
remote: ^
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
This commit partially reverts
9f2986c34166 (2025-05-06; "*, CREDITS: Unify copyright notices").
Some authors have given express permission for the transformation done
in that old commit, and their notices remain transformed. But those
that didn't give express permission have their copyright notices
restored now.
It's unclear whether the transformation was legally valid. I believe it
was, but since IANAL, and just to be cautious, we've agreed to restore
them.
This restoration, at least, unifies the formatting, to reduce entropy.
Link: <https://lore.kernel.org/linux-man/u2ogua4573d2xm2p2oiuna67kydkr3e26pt6lixeidezdw34dg@nvn64na3cptt/>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
And update one entry with a more recent email address.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
By setting this globally to 12, we avoid having to specify it in every
config.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Coloring should be automatic, and controlled globally with color.diff.
Link: <https://lore.kernel.org/git/aYjVlRqvafWeePvi@devuan/T/#u>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
expressions
The arguments to these APIs may be shorter than that, as long as they
are null terminated strings.
Reported-by: Florian Weimer <fweimer@redhat.com>
Fixes: e11a82a6f709 (2025-11-24; "man/man3/: {str,wcs}n{cmp,len}(3): Remove array parameter length expressions")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
I forgot to amend this.
Fixes: 59ef3a674d11 (2026-02-02; "man/man2/syscall.2: Fix numbering for notes")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Reported-by: Seth McDonald <sethmcmail@pm.me>
Cc: Douglas McIlroy <douglas.mcilroy@dartmouth.edu>
Cc: "G. Branden Robinson" <branden@debian.org>
Cc: наб <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
On Wed, Jan 21, 2026 at 12:06:52PM +0000, Seth McDonald wrote:
> This patch set updates the POSIX/SUS history of system calls with
> identifiers starting with CI through G. It also attempts to provide
> chronological order where possible, similar to the last patch set.
Message-ID: <cover.1768995315.git.sethmcmail@pm.me>
Message-ID: <cover.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
gettimeofday(2)
gettimeofday(2) first appeared in SUSv1.[1] The function was added to
POSIX.1-2001 when POSIX and SUS merged, but as an XSI extension (still
SUS-only).[2]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", p. 275.
[2] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", p.
567.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/gettimeofday.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <37278a0497bdc28cbeaef156d36d66530381bd6c.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
getrusage(2) first appeared in SUSv1.[1] The function was added to
POSIX.1-2001 when POSIX and SUS merged, but as an XSI extension (still
SUS-only).[2]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", p. 271.
[2] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", pp.
554-555.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/getrusage.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <3efc2800fc16289dfabb65c2715e66efb094e367.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
getsid(2) first appeared in SUSv1.[1] The function was added to
POSIX.1-2001 when POSIX and SUS merged, but as an XSI extension (still
SUS-only).[2] Then POSIX.1-2008 added it to the base specification.[3]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", p. 273.
[2] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", p.
558.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/getsid.html>
[3] IEEE Std 1003.1-2008, Volume 2, Chapter 3 "System Interfaces", p.
1073.
<https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/functions/getsid.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <8ec811d4690abb5aa56eb3014900dd82b27dda6d.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
getrlimit(2) and setrlimit(2) first appeared in SUSv1.[1] The functions
were added to POSIX.1-2001 when POSIX and SUS merged, but as an XSI
extension (still SUS-only).[2] Then POSIX.1-2024 added them to the base
specification.[3]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", pp. 269-270.
[2] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", pp.
551-553.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/getrlimit.html>
[3] IEEE Std 1003.1-2024, Volume 2, Chapter 3 "System Interfaces", pp.
1176-1179.
<https://pubs.opengroup.org/onlinepubs/9799919799/functions/getrlimit.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <ffb23d5856179db3b8fd8a6514203418b28eb7be.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
getres[gu]id(2)
getresgid(2) and getresuid(2) first appeared in POSIX.1-2024 as an XSI
extension.[1][2]
[1] IEEE Std 1003.1-2024, Volume 2, Chapter 3 "System Interfaces", p.
1174.
<https://pubs.opengroup.org/onlinepubs/9799919799/functions/getresgid.html>
[2] IEEE Std 1003.1-2024, Volume 2, Chapter 3 "System Interfaces", p.
1175.
<https://pubs.opengroup.org/onlinepubs/9799919799/functions/getresuid.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <0afcc4b4083b450adfaf63958f85e99926d7fa6c.1769047228.git.sethmcmail@pm.me>
[alx: update STANDARDS too]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
[gs]etpriority(2)
getpriority(2) and setpriority(2) first appeared in SUSv1.[1] The
functions were added to POSIX.1-2001 when POSIX and SUS merged, but as
an XSI extension (still SUS-only).[2]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", pp. 262-263.
[2] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", pp.
540-542.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/getpriority.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <6bcf34a705e3f58af4e47f0b55e383787ddaa959.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
getpid(2) and getppid(2) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 4.1.1 "Get Process and Parent Process
IDs".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <db04851687858925bab6717857321aaf910c000f.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
getpagesize(2) first appeared in SUSv1.[1]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", p. 254.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <825144f9529837adcba4a53ccd0395221b26b8e7.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
getitimer(2) and setitimer(2) first appeared in SUSv1.[1]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", pp. 244-245.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <9c780e0e0176bd677be89eedc07be1e66d2365f1.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
gethostname(2) first appeared in POSIX.1-2001.[1]
[1] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", p.
516.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/gethostname.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <94b81d0f1c2b0d082b5b8510d86ba235c21a3069.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
getgroups(2) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 4.2.3 "Get Supplementary Group IDs".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <4ad7acf2ef8cd66a53d27a59a1d7b9933a84741f.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
getgid(2), getegid(2), getuid(2), and geteuid(2) first appeared in
POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 4.2.1 "Get Real User, Effective User,
Real Group, and Effective Group IDs".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <6b987649c5ccd426ddffb770a5ba82cb88d91af9.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
fdatasync(2) first appeared in POSIX.1-1996.[1]
[1] ISO/IEC 9945-1:1996, Section 6.6.2 "Synchronize the Data of a File".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <0d67e7c63fd30e88854df7fe8bdffe5607e8b777.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
fsync(2) first appeared in SUSv1.[1] The function was then added to
POSIX.1-1996.[2]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", p. 214.
[2] ISO/IEC 9945-1:1996, Section 6.6.1 "Synchronize the State of a
File".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <ab31e843c470a424885b91d6f94f2a89b291135c.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <7b237415d7b97d09966619de01d8542e4f6f4ba9.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
fork(2) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 3.1.1 "Process Creation".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <7404e99ec6900a598552b310b152c325000163ff.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
constants
The F_GETLK, F_SETLK, and F_SETLKW symbolic constants first appeared in
POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Table 6-1 "cmd Values for fcntl()".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <a44c4965006373942afeb2f091c752b2dfbfbfd5.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
fcntl(2) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 6.5.2 "File Control".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <1f924f4f5c3c3764469b48cd79a748b78137ec17.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
_exit(2) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 3.2.2 "Terminate a Process".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <eb5b310ab4dd16207afcdc5e8b9f8d80cd356b8d.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
execve(2) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 3.1.2 "Execute a File".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <5d691ee5e6a33e81446f7113d671f813ec7d2108.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
dup(2) and dup2(2) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 6.2.1 "Duplicate an Open File
Descriptor".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <11e4b9d2ac052c8d240ceec95ac927ec6025c397.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
close(2) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 6.3.1 "Close a File".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <5327747ac3c39457d3cf527ff19afa1c49150d89.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
syscalls
clock_getres(2), clock_gettime(2), and clock_settime(2) first appeared
in POSIX.1-1996.[1] SUSv2 incorporates POSIX.1-1996, so listing both is
redundant.
[1] ISO/IEC 9945-1:1996, Section 14.2.1 "Clocks".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <1a421b5ee130c1d5892791060b6fdf8d911d8362.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
and F_GETDELEG
With Linux 6.19, userland will be able to request a delegation on a file
or directory. These new objects act a lot like file leases, but are
based on NFSv4 file and directory delegations.
Add new F_GETDELEG and F_SETDELEG manpages to document them.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
[alx: minor tweaks]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Message-ID: <5b283a25dbe2ab9ed78719c132885d9d3157f2bb.1768750908.git.alx@kernel.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Message-ID: <a0916b361406fa52771cf3dd507521fa1cc31d7c.camel@kernel.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
On Mon, Jan 19, 2026 at 11:54:29AM +0000, Seth McDonald wrote:
> Continuing the updating of HISTORY sections, this patch set regards
> system calls whose identifiers start with A through CH. This time,
> more care was taken to ensure any modified lists are given in a
> somewhat chronological order.
>
> As hinted at previously on this [mailing] list, searching for a
> *truely* chronological ordering is likely a futile effort given the
> seemingly circular influences between many early systems. But an
> approximation of this ordering based on our limited information can
> still be useful. Which is the attitude with which these patches were
> made.
Link: <https://lore.kernel.org/linux-man/aWzk8dtIvNSdVlkY@devuan/>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
chroot(2) first appeared in SUSv1 with the 'TO BE WITHDRAWN' marking.[1]
It was given this marking because "[t]here is no portable use that an
application could make of this interface."
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", pp. 88-89.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <fd08b4cf0a5260ec25eb26cc1a5f0b81d935e0ba.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
lchown(2) first appeared in SUSv1.[1] The function was added to
POSIX.1-2001 when POSIX and SUS merged, but as an XSI extension (still
SUS-only).[2] Then POSIX.1-2008 added it to the base specification.[3]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", p. 349.
[2] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", p.
671.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/lchown.html>
[3] IEEE Std 1003.1-2008, Volume 2, Chapter 3 "System Interfaces", pp.
1206-1208.
<https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/functions/lchown.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <5abf94a520b58bd603fa93817c2422406be9cb21.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
fchown(2) first appeared in SUSv1.[1]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", p. 145.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <bf9099a04c4fda445342d53736068ce343beda13.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
chown(2) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 5.6.5 "Change Owner and Group of a
File".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <fccd134bc9d7acf1676a26bf6202d652f20fe7a6.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <2981d5702b65f8f109d50c7b52d6c6e29e38057a.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
The AT_SYMLINK_NOFOLLOW symbolic constant first appeared in
POSIX.1-2008.[1]
[1] IEEE Std 1003.1-2008, Volume 1, Chapter 13 "Headers", p. 239.
<https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/basedefs/fcntl.h.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <bc1d06a06e9ea35144347a32d3253c531ba24428.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
fchmod(2) first appeared in SUSv1.[1] The function was then added to
POSIX.1-1996.[2]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", p. 144.
[2] ISO/IEC 9945-1:1996, Section 5.6.4 "Change File Modes".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <691b1ee7109938a4aa5b4389eb42622099b4d2b0.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
chmod(2) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 5.6.4 "Change File Modes".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <de87aa2b3e28fe1ade21c7d119dd3968616fb25d.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <ce5b927c669594bafd4a41b9d07180a1e621ecca.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
fchdir(2) first appeared in SUSv1.[1] The function was added to
POSIX.1-2001 when POSIX and SUS merged, but as an XSI extension (still
SUS-only).[2] Then POSIX.1-2008 added it to the base specification.[3]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", p. 143.
[2] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", p.
320.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/fchdir.html>
[3] IEEE Std 1003.1-2008, Volume 2, Chapter 3 "System Interfaces", p.
798.
<https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/functions/fchdir.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <d6316545d2530706140cf45037e5f3ae48f1d8a8.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
chdir(2) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 5.2.1 "Change Current Working
Directory".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <61d257dc50320b3b12aa610f918e42c877a88764.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <c6961e073ad14367690a789b234474fcaf27c70c.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
alarm(2) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 3.4.1 "Schedule Alarm".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <51224c3d2e6c6249ee36405e7a8399ce1b491ce1.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
faccessat(2) first appeared in POSIX.1-2008.[1]
[1] IEEE Std 1003.1-2008, Volume 2, Chapter 3 "System Interfaces", pp.
561-563.
<https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/functions/access.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <7e6b054be57e885bd938143b260180d54004d55a.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
access(2) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 5.6.3 "File Accessibility".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <58a0a70c630826583aadaa7979041c8d0d72fc12.1768822707.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
There are two more lines which were part of the paragraph that the
listed commit removed. On their own, they do not form a complete
sentence. So remove the missed two lines.
Fixes: b32b8934dd19 (2026-01-18; "man/man3type/time_t.3type: HISTORY: Remove superfluous theoretical history")
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <0e6949ff808556cd8632520603fb2c030b7a5215.1768804942.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
32-bit time_t
Cc: Collin Funk <collin.funk1@gmail.com>
Cc: Mark Harris <mark.hsj@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
No implementation ever used a non-integer type.
Let's not worry programmers unnecessarily.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Cc: наб <nabijaczleweli@nabijaczleweli.xyz>
Cc: Seth McDonald <sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Cc: наб <nabijaczleweli@nabijaczleweli.xyz>
Cc: Seth McDonald <sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Cc: наб <nabijaczleweli@nabijaczleweli.xyz>
Cc: Seth McDonald <sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Suggested-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Florent Revest <revest@chromium.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
The numeric value on a label entry is a label which is separate
from the precedences. Labels are compared with other labels, not
precedences.
Rename the field.
Link: <https://datatracker.ietf.org/doc/html/rfc3484#section-2.1>
Link: <https://sourceware.org/git/?p=glibc.git;a=blob;f=nss/getaddrinfo.c;h=c0f496f96c752220e68bf0257d9ff1ffc624ebe6;hb=HEAD#l1525>
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Message-ID: <20260104220438.265626-1-dg@treblig.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Message-ID: <20260114-master-v2-2-719f5b47dfe2@kernel.org>
[alx: split commit]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Message-ID: <20260114-master-v2-2-719f5b47dfe2@kernel.org>
[alx: split commit]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
access right
Move the description of the LANDLOCK_ACCESS_FS_IOCTL_DEV access right
together with the file access rights.
This group of access rights applies to files (in this case device
files), and they can be added to file or directory inodes using
landlock_add_rule(2). The check for that works the same for all file
access rights, including LANDLOCK_ACCESS_FS_IOCTL_DEV.
Invoking ioctl(2) on directory FDs can not currently be restricted
with Landlock. Having it grouped separately in the documentation is a
remnant from earlier revisions of the LANDLOCK_ACCESS_FS_IOCTL_DEV
patch set.
The same change was also done in kernel documentation, linked below.
Fixes: 893db5f60c73 (2024-08-21; "landlock.7: Document Landlock ABI version 5 (IOCTL)")
Link: https://lore.kernel.org/all/20260111175203.6545-2-gnoack3000@gmail.com/
Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Message-ID: <20260113192052.4703-2-gnoack3000@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
For consistency elsewhere.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
a patch set should reply to v1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
K&R is more compact, and is also widely understood.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
.st_{blksize,blocks}
The st_blksize and st_blocks fields of the stat(3type) structure were
both specified as 'long' integers in SUSv1.[1] SUSv2 then changed them
to blksize_t(3type) and blkcnt_t(3type), respectively.[2]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 4 "Headers", p. 830.
[2] CAE Specification, System Interfaces and Headers, Issue 5, Chapter 4
"Headers", p. 1169.
<https://pubs.opengroup.org/onlinepubs/7908799/xsh/sysstat.h.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <5f6bf068bb5fa226d4933f2faa25a738ce098cc8.1768025095.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
.st_{rdev,blksize,blocks}
The st_rdev, st_blksize, and st_blocks fields of the stat(3type)
structure first appeared in SUSv1.[1] They were added to POSIX.1-2001
when POSIX and SUS merged, but as an XSI extension (still SUS-only).[2]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 4 "Headers", p. 830.
[2] IEEE Std 1003.1-2001, Volume 1, Chapter 13 "Headers", p. 356.
<https://pubs.opengroup.org/onlinepubs/009604499/basedefs/sys/stat.h.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <e4503345e46fc2c621287766e223c6497bde55d0.1768025095.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <f09dc86eb3958f8a21b2e41cf1a7916bafc96ac8.1768025095.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <694ea5baaddcc78597a8951ca58d115656386fec.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
wint_t(3type) and WEOF
wint_t(3type) and WEOF first appeared in SUSv1.[1]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 4 "Headers", pp. 867-668.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <a9ac764ac2836bf1644b08ccad6c61f72edd19ab.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <730e0c713039869b2b36fad7aa54376239874cc1.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
WCHAR_M{AX,IN}
WCHAR_MAX and WCHAR_MIN first appeared in SUSv2.[1]
[1] CAE Specification, System Interfaces and Headers, Issue 5, Chapter 4
"Headers", p. 1213.
<https://pubs.opengroup.org/onlinepubs/7908799/xsh/wchar.h.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <fb806a50acd63efcb126d20a3f6d51083ba90926.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
wchar_t(3type)
wchar_t(3type) first appeared in SUSv1.[1]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 4 "Headers", p. 803.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <a7d237cd5287cf35982d26f5289b1b9daaeb0be1.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <87a39e047c0e13643ff9963725d7a0ae3884fc5f.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
The void pointer (void*) type first appeared in POSIX.1-1990 as a
parameter type in the read(2) function.[1]
[1] IEEE Std 1003.1-1990, Section 6.4.1 "Read from a File".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <efe8112034e9388465c108fd0418d7e0c68d12ee.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
va_list(3type)
va_list(3type) first appeared in SUSv1.[1]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 4 "Headers", p. 801.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <9a9b76c452feb3ed2fac7bca80eb105fda007bff.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
timeval(3type)
timeval(3type) first appeared in SUSv1.[1]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 4 "Headers", p. 834.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <47c6b50cf1a1ae9a8f85cba88911c673fe757995.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
useconds_t(3type)
useconds_t(3type) first appeared in SUSv1.[1] The type was added to
POSIX.1-2001 when POSIX and SUS merged, but as an XSI extension (still
SUS-only).[2]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 4 "Headers", p. 838.
[2] IEEE Std 1003.1-2001, Volume 1, Chapter 13 "Headers", p. 367.
<https://pubs.opengroup.org/onlinepubs/009604499/basedefs/sys/types.h.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <d8cf35e1cf3e16fe0a323c0dd01bb4767507fee2.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
suseconds_t(3type)
suseconds_t(3type) first appeared in SUSv2.[1] The type was added to
POSIX.1-2001 when POSIX and SUS merged, but as an XSI extension (still
SUS-only).[2] Then POSIX.1-2024 added it to the base specification.[3]
[1] CAE Specification, System Interfaces and Headers, Issue 5, Chapter 4
"Headers", p. 1177.
<https://pubs.opengroup.org/onlinepubs/7908799/xsh/systypes.h.html>
[2] IEEE Std 1003.1-2001, Volume 1, Chapter 13 "Headers", p. 367.
<https://pubs.opengroup.org/onlinepubs/009604499/basedefs/sys/types.h.html>
[3] IEEE Std 1003.1-2024, Volume 1, Chapter 14 "Headers", p. 426.
<https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_types.h.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <7f54dbc4481df2924d1cc277a3453c7939292442.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
time_t(3type)
time_t(3type) first appeared in POSIX.1-1988.[1]
[1] IEEE Std 1003.1-1988, Section 2.8.1 "Symbols From The C Standard".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <d1a047ff7ec86f12101321808c39c8f947571f92.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
[s]size_t(3type)
size_t(3type) and ssize_t(3type) first appeared in POSIX.1-1990.[1]
[1] IEEE Std 1003.1-1990, Table 2-1 "Primitive System Data Types".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <3cf622ba3c3cb3a94491e80ca153ab29f182620d.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
ptrdiff_t(3type)
ptrdiff_t(3type) first appeared in SUSv1.[1]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 4 "Headers", p. 803.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <741cd602cffbc97d9682639a2c6abd751f522c41.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
mbstate_t(3type)
mbstate_t(3type) first appeared in SUSv2.[1]
[1] CAE Specification, System Interfaces and Headers, Issue 5, Chapter 4
"Headers", p. 1212.
<https://pubs.opengroup.org/onlinepubs/7908799/xsh/wchar.h.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <b4bba25be7dfabc0864f3eea3f92435d8f36b2ca.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
lconv(3type) first appeared in SUSv1, but without the six members
int_[pn]_{cs_precedes,sep_by_space,sign_posn}.[1]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 4 "Headers", p. 778.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <ca58744440b06b6e7dac8599c69613454f619ffa.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
.int_[np]_{cs_precedes,sep_by_space,sign_posn}
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <fb168b7dee6d8abbe3dd973fecd15d1eccae28ec.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
iovec(3type) first appeared in SUSv1.[1] The type was added to
POSIX.1-2001 when POSIX and SUS merged, but as an XSI extension (still
SUS-only).[2]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 4 "Headers", p. 840.
[2] IEEE Std 1003.1-2001, Volume 1, Chapter 13 "Headers", p. 369.
<https://pubs.opengroup.org/onlinepubs/009604499/basedefs/sys/uio.h.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <0cf31543f6d22de123da7bae70f6f8af1be0e997.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <c5e354f0878c8c002534cc1a2de0937fd3a61422.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
in C23
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
[U]INTPTR_MAX and INTPTR_MIN
INTPTR_MAX, UINTPTR_MAX, and INTPTR_MIN are defined if and only if
intptr_t(3type) and uintptr_t(3type) are declared.[1] So given that the
types are only mandatory on XSI-conformant systems, the same is true for
the macros.
[1] IEEE Std 1003.1-2001, Volume 1, Chapter 13 "Headers", pp. 314,
316-318.
<https://pubs.opengroup.org/onlinepubs/009604499/basedefs/stdint.h.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <455e106a5e0d571f617c544d870f252a1896ed0c.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
[u]intptr_t(3type)
intptr_t(3type) and uintptr_t(3type) first appeared in SUSv2.[1] The
types were added to POSIX.1-2001 when POSIX and SUS merged, but are only
mandatory on XSI-conformant systems.[2]
[1] CAE Specification, System Interfaces and Headers, Issue 5, Chapter 4
"Headers", p. 1089.
<https://pubs.opengroup.org/onlinepubs/7908799/xsh/inttypes.h.html>
[2] IEEE Std 1003.1-2001, Volume 1, Chapter 13 "Headers", p. 316.
<https://pubs.opengroup.org/onlinepubs/009604499/basedefs/stdint.h.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <c587540f97c4d4e8bbb6ba4db9afa55c84718ebf.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <3a8217dd15084949ec78561c6de36b831307dd5a.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
id_t(3type) first appeared in SUSv1.[1] The type was added to
POSIX.1-2001 when POSIX and SUS merged, but as an XSI extension (still
SUS-only).[2] Then POSIX.1-2008 moved it to the base specification.[3]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 4 "Headers", p. 838.
[2] IEEE Std 1003.1-2001, Volume 1, Chapter 13 "Headers", p. 366.
<https://pubs.opengroup.org/onlinepubs/009604499/basedefs/sys/types.h.html>
[3] IEEE Std 1003.1-2008, Volume 1, Chapter 13 "Headers", p. 398.
<https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/basedefs/sys_types.h.html>
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <963da2474e6d7f016db6e4d5b376074bc1596519.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
|
[l]div_t(3type)
div_t(3type) and ldiv_t(3type) first appeared in SUSv1.[1]
[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 4 "Headers", p. 807.
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <a6650fa27290b597271c4df7ef3b2d014d8e376f.1767939178.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|