]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
16 hours agoman/: Make sashimi of quotactl(2) master
Alejandro Colomar [Thu, 4 Jun 2026 23:07:21 +0000 (01:07 +0200)] 
man/: Make sashimi of quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2: RETURN VALUE: quotactl_fd() returns the same as quotactl()
Alejandro Colomar [Thu, 4 Jun 2026 23:04:40 +0000 (01:04 +0200)] 
man/man2/quotactl.2: RETURN VALUE: quotactl_fd() returns the same as quotactl()

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_XQUOTASYNC.2const: Tweak after split
Alejandro Colomar [Thu, 4 Jun 2026 23:00:30 +0000 (01:00 +0200)] 
man/man2const/Q_XQUOTASYNC.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_XQUOTASYNC.2const: Split Q_XQUOTASYNC from quota...
Alejandro Colomar [Thu, 4 Jun 2026 22:57:58 +0000 (00:57 +0200)] 
man/man2/quotactl.2, man/man2const/Q_XQUOTASYNC.2const: Split Q_XQUOTASYNC from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_XQUOTARM.2const: Tweak after split
Alejandro Colomar [Thu, 4 Jun 2026 22:46:34 +0000 (00:46 +0200)] 
man/man2const/Q_XQUOTARM.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_XQUOTARM.2const: Split Q_XQUOTARM from quotactl(2)
Alejandro Colomar [Thu, 4 Jun 2026 22:41:12 +0000 (00:41 +0200)] 
man/man2/quotactl.2, man/man2const/Q_XQUOTARM.2const: Split Q_XQUOTARM from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_XGETQSTATV.2const: Tweak after split
Alejandro Colomar [Thu, 4 Jun 2026 22:25:52 +0000 (00:25 +0200)] 
man/man2const/Q_XGETQSTATV.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_XGETQSTATV.2const: Split Q_XGETQSTATV from quota...
Alejandro Colomar [Thu, 4 Jun 2026 22:03:34 +0000 (00:03 +0200)] 
man/man2/quotactl.2, man/man2const/Q_XGETQSTATV.2const: Split Q_XGETQSTATV from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_XGETQSTAT.2const: Tweak after split
Alejandro Colomar [Thu, 4 Jun 2026 21:49:12 +0000 (23:49 +0200)] 
man/man2const/Q_XGETQSTAT.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_XGETQSTAT.2const: Split Q_XGETQSTAT from quotactl(2)
Alejandro Colomar [Thu, 4 Jun 2026 21:35:06 +0000 (23:35 +0200)] 
man/man2/quotactl.2, man/man2const/Q_XGETQSTAT.2const: Split Q_XGETQSTAT from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_XSETQLIM.2const: Tweak after split
Alejandro Colomar [Thu, 4 Jun 2026 21:18:44 +0000 (23:18 +0200)] 
man/man2const/Q_XSETQLIM.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_XSETQLIM.2const: Split Q_XSETQLIM from quotactl(2)
Alejandro Colomar [Thu, 4 Jun 2026 21:17:52 +0000 (23:17 +0200)] 
man/man2/quotactl.2, man/man2const/Q_XSETQLIM.2const: Split Q_XSETQLIM from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_XGETNEXTQUOTA.2const: Tweak after split
Alejandro Colomar [Thu, 4 Jun 2026 12:44:49 +0000 (14:44 +0200)] 
man/man2const/Q_XGETNEXTQUOTA.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_XGETNEXTQUOTA.2const: Split Q_XGETNEXTQUOTA...
Alejandro Colomar [Thu, 4 Jun 2026 12:37:55 +0000 (14:37 +0200)] 
man/man2/quotactl.2, man/man2const/Q_XGETNEXTQUOTA.2const: Split Q_XGETNEXTQUOTA from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_XGETQUOTA.2const: Tweak after split
Alejandro Colomar [Mon, 18 May 2026 12:22:51 +0000 (14:22 +0200)] 
man/man2const/Q_XGETQUOTA.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_XGETQUOTA.2const: Split Q_XGETQUOTA from quotactl(2)
Alejandro Colomar [Mon, 18 May 2026 12:22:00 +0000 (14:22 +0200)] 
man/man2/quotactl.2, man/man2const/Q_XGETQUOTA.2const: Split Q_XGETQUOTA from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2type/fs_disk_quota.2type: Tweak after split
Alejandro Colomar [Sun, 17 May 2026 22:15:19 +0000 (00:15 +0200)] 
man/man2type/fs_disk_quota.2type: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2type/fs_disk_quota.2type: Split struct fs_disk_quota...
Alejandro Colomar [Sun, 17 May 2026 22:04:27 +0000 (00:04 +0200)] 
man/man2/quotactl.2, man/man2type/fs_disk_quota.2type: Split struct fs_disk_quota from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_XQUOTAOFF.2const: Tweak after split
Alejandro Colomar [Sun, 17 May 2026 20:14:40 +0000 (22:14 +0200)] 
man/man2const/Q_XQUOTAOFF.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_XQUOTAOFF.2const: Split Q_XQUOTAOFF from quotactl(2)
Alejandro Colomar [Sun, 17 May 2026 20:08:46 +0000 (22:08 +0200)] 
man/man2/quotactl.2, man/man2const/Q_XQUOTAOFF.2const: Split Q_XQUOTAOFF from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_XQUOTAON.2const: Tweak after split
Alejandro Colomar [Sat, 16 May 2026 16:47:49 +0000 (18:47 +0200)] 
man/man2const/Q_XQUOTAON.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_XQUOTAON.2const: Split Q_XQUOTAON from quotactl(2)
Alejandro Colomar [Sat, 16 May 2026 16:38:47 +0000 (18:38 +0200)] 
man/man2/quotactl.2, man/man2const/Q_XQUOTAON.2const: Split Q_XQUOTAON from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_GETSTATS.2const: Tweak after split
Alejandro Colomar [Sat, 16 May 2026 15:36:45 +0000 (17:36 +0200)] 
man/man2const/Q_GETSTATS.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_GETSTATS.2const: Split Q_GETSTATS from quotactl(2)
Alejandro Colomar [Sat, 16 May 2026 15:34:36 +0000 (17:34 +0200)] 
man/man2/quotactl.2, man/man2const/Q_GETSTATS.2const: Split Q_GETSTATS from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_SYNC.2const: Tweak after split
Alejandro Colomar [Sat, 16 May 2026 14:52:13 +0000 (16:52 +0200)] 
man/man2const/Q_SYNC.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_SYNC.2const: Split Q_SYNC from quotactl(2)
Alejandro Colomar [Sat, 16 May 2026 14:49:18 +0000 (16:49 +0200)] 
man/man2/quotactl.2, man/man2const/Q_SYNC.2const: Split Q_SYNC from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_GETFMT.2const: Tweak after split
Alejandro Colomar [Sat, 16 May 2026 14:30:20 +0000 (16:30 +0200)] 
man/man2const/Q_GETFMT.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_GETFMT.2const: Split Q_GETFMT from quotactl(2)
Alejandro Colomar [Sat, 16 May 2026 14:23:38 +0000 (16:23 +0200)] 
man/man2/quotactl.2, man/man2const/Q_GETFMT.2const: Split Q_GETFMT from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_SETINFO.2const: Tweak after split
Alejandro Colomar [Wed, 22 Apr 2026 21:45:49 +0000 (23:45 +0200)] 
man/man2const/Q_SETINFO.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_SETINFO.2const: Split Q_SETINFO from quotactl(2)
Alejandro Colomar [Wed, 22 Apr 2026 21:43:35 +0000 (23:43 +0200)] 
man/man2/quotactl.2, man/man2const/Q_SETINFO.2const: Split Q_SETINFO from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_GETINFO.2const: Tweak after split
Alejandro Colomar [Wed, 22 Apr 2026 21:35:53 +0000 (23:35 +0200)] 
man/man2const/Q_GETINFO.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_GETINFO.2const: Split Q_GETINFO from quotactl(2)
Alejandro Colomar [Wed, 22 Apr 2026 21:32:15 +0000 (23:32 +0200)] 
man/man2/quotactl.2, man/man2const/Q_GETINFO.2const: Split Q_GETINFO from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2type/dqinfo.2type: Tweak after split
Alejandro Colomar [Sat, 18 Apr 2026 21:05:02 +0000 (23:05 +0200)] 
man/man2type/dqinfo.2type: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2type/dqinfo.2type: Split struct dqinfo from quotactl(2)
Alejandro Colomar [Sat, 18 Apr 2026 20:13:15 +0000 (22:13 +0200)] 
man/man2/quotactl.2, man/man2type/dqinfo.2type: Split struct dqinfo from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_SETQUOTA.2const: Tweak after split
Alejandro Colomar [Sun, 12 Apr 2026 17:40:05 +0000 (19:40 +0200)] 
man/man2const/Q_SETQUOTA.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_SETQUOTA.2const: Split Q_SETQUOTA from quotactl(2)
Alejandro Colomar [Sun, 12 Apr 2026 17:37:17 +0000 (19:37 +0200)] 
man/man2/quotactl.2, man/man2const/Q_SETQUOTA.2const: Split Q_SETQUOTA from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_GETNEXTQUOTA.2const: Tweak after split
Alejandro Colomar [Sun, 12 Apr 2026 17:13:56 +0000 (19:13 +0200)] 
man/man2const/Q_GETNEXTQUOTA.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_GETNEXTQUOTA.2const: Split Q_GETNEXTQUOTA from...
Alejandro Colomar [Sun, 12 Apr 2026 17:10:57 +0000 (19:10 +0200)] 
man/man2/quotactl.2, man/man2const/Q_GETNEXTQUOTA.2const: Split Q_GETNEXTQUOTA from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_GETQUOTA.2const: Tweak after split
Alejandro Colomar [Sun, 12 Apr 2026 15:23:04 +0000 (17:23 +0200)] 
man/man2const/Q_GETQUOTA.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_GETQUOTA.2const: Split Q_GETQUOTA from quotactl(2)
Alejandro Colomar [Sun, 12 Apr 2026 15:22:06 +0000 (17:22 +0200)] 
man/man2/quotactl.2, man/man2const/Q_GETQUOTA.2const: Split Q_GETQUOTA from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2type/dqblk.2type: Tweak after split
Alejandro Colomar [Sun, 12 Apr 2026 12:28:56 +0000 (14:28 +0200)] 
man/man2type/dqblk.2type: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2type/dqblk.2type: Split struct dqblk from quotactl(2)
Alejandro Colomar [Sun, 12 Apr 2026 12:22:09 +0000 (14:22 +0200)] 
man/man2/quotactl.2, man/man2type/dqblk.2type: Split struct dqblk from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_QUOTAOFF.2const: Tweak after split
Alejandro Colomar [Sat, 11 Apr 2026 19:42:36 +0000 (21:42 +0200)] 
man/man2const/Q_QUOTAOFF.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_QUOTAOFF.2const: Split Q_QUOTAOFF from quotactl(2)
Alejandro Colomar [Sat, 11 Apr 2026 19:38:38 +0000 (21:38 +0200)] 
man/man2/quotactl.2, man/man2const/Q_QUOTAOFF.2const: Split Q_QUOTAOFF from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2const/Q_QUOTAON.2const: Tweak after split
Alejandro Colomar [Sat, 11 Apr 2026 15:53:22 +0000 (17:53 +0200)] 
man/man2const/Q_QUOTAON.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
16 hours agoman/man2/quotactl.2, man/man2const/Q_QUOTAON.2const: Split Q_QUOTAON from quotactl(2)
Alejandro Colomar [Sat, 11 Apr 2026 15:33:08 +0000 (17:33 +0200)] 
man/man2/quotactl.2, man/man2const/Q_QUOTAON.2const: Split Q_QUOTAON from quotactl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
40 hours agoman/man2const/F_{ADD,GET}_SEALS.2const: Document F_SEAL_EXEC
Pratyush Yadav (Google) [Fri, 29 May 2026 14:05:55 +0000 (16:05 +0200)] 
man/man2const/F_{ADD,GET}_SEALS.2const: Document F_SEAL_EXEC

F_SEAL_EXEC was added in Linux v6.3.  It blocks changing of the exec
bits once added.

Signed-off-by: Pratyush Yadav (Google) <pratyush@kernel.org>
Message-ID: <20260529140557.1624507-1-pratyush@kernel.org>
[alx: wfix]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
40 hours agoman/man2/fanotify_mark.2: AT_FDCWD plus NULL path doesn't work
Jann Horn [Fri, 29 May 2026 17:27:39 +0000 (19:27 +0200)] 
man/man2/fanotify_mark.2: AT_FDCWD plus NULL path doesn't work

The fanotify_mark(2) manual page claims that AT_FDCWD works with a NULL
path, but there is no kernel code for that: in fanotify_find_path(), in
the `if (filename == NULL)` block, the fd is only used for a normal FD
lookup.

This was also already the case when this manpage was written back in
2014, so remove the bogus documentation.

Fixes: c200b422dfdb (2014-04-25; "fanotify_mark.2: New page documenting fanotify_mark(2)")
Signed-off-by: Jann Horn <jannh@google.com>
Message-ID: <20260529-fan-mark-cwd-v1-1-cdfb3b5b6d7c@google.com>
Acked-by: Amir Goldstein <amir73il@gmail.com>
Message-ID: <CAOQ4uxiHU5xK=_FsOBkkB0go9ACBb2fYcdVE6T2o=MYDcxaiaQ@mail.gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
40 hours agoman/man2/ioctl_userfaultfd.2: Reference UFFDIO_RWPROTECT and UFFDIO_SET_MODE
Kiryl Shutsemau [Tue, 26 May 2026 13:41:49 +0000 (14:41 +0100)] 
man/man2/ioctl_userfaultfd.2: Reference UFFDIO_RWPROTECT and UFFDIO_SET_MODE

Add the two new ioctls introduced in Linux 7.2 to the list of
operations supported on a userfaultfd file descriptor.

Signed-off-by: Kiryl Shutsemau <kas@kernel.org>
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Message-ID: <20260526134149.2831720-7-kirill@shutemov.name>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
40 hours agoman/man2const/UFFDIO_REGISTER.2const: Document UFFDIO_REGISTER_MODE_RWP and 1 <<...
Kiryl Shutsemau [Tue, 26 May 2026 13:41:48 +0000 (14:41 +0100)] 
man/man2const/UFFDIO_REGISTER.2const: Document UFFDIO_REGISTER_MODE_RWP and 1 << _UFFDIO_RWPROTECT

Add the new registration mode bit introduced in Linux 7.2:

  UFFDIO_REGISTER_MODE_RWP   Track every access (read or write) to a
                             present page in the registered range.
                             Cannot be combined with
                             UFFDIO_REGISTER_MODE_WP; both modes share
                             the same per-PTE marker bit. Anonymous,
                             shmem, and hugetlbfs ranges are
                             compatible.

Also document the matching argp->ioctls bit, 1 << _UFFDIO_RWPROTECT,
which the kernel reports only when the range was registered with
UFFDIO_REGISTER_MODE_RWP (which itself requires UFFD_FEATURE_RWP to
have been negotiated).

Signed-off-by: Kiryl Shutsemau <kas@kernel.org>
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Message-ID: <20260526134149.2831720-6-kirill@shutemov.name>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
40 hours agoman/man2const/UFFDIO_API.2const: Document UFFD_FEATURE_RWP{,_ASYNC} and 1 << _UFFDIO_...
Kiryl Shutsemau [Tue, 26 May 2026 13:41:47 +0000 (14:41 +0100)] 
man/man2const/UFFDIO_API.2const: Document UFFD_FEATURE_RWP{,_ASYNC} and 1 << _UFFDIO_SET_MODE

Add the two RWP feature bits introduced in Linux 7.2:

  UFFD_FEATURE_RWP        gates UFFDIO_REGISTER_MODE_RWP and the
                          UFFDIO_RWPROTECT(2const) ioctl.
  UFFD_FEATURE_RWP_ASYNC  in-kernel resolution of RWP faults without
                          delivering a notification; requires
                          UFFD_FEATURE_RWP to be set in the same
                          UFFDIO_API call.

Also document 1 << _UFFDIO_SET_MODE in argp->ioctls, the
file-descriptor-level bit that advertises UFFDIO_SET_MODE(2const) for
toggling UFFD_FEATURE_RWP_ASYNC at runtime; it is independent of any
registered range.

The existing page intro already describes UFFDIO_API returning EINVAL
on unsupported feature bits and the temporary-uffd probe pattern, so
the new TP entries do not re-state that.

Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Kiryl Shutsemau <kas@kernel.org>
Message-ID: <20260526134149.2831720-5-kirill@shutemov.name>
[alx: srcfix]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 days agoman/man2const/UFFDIO_SET_MODE.2const: New page
Kiryl Shutsemau [Tue, 26 May 2026 13:41:46 +0000 (14:41 +0100)] 
man/man2const/UFFDIO_SET_MODE.2const: New page

Document the UFFDIO_SET_MODE ioctl (since Linux 7.2).  It toggles
userfaultfd feature bits at runtime; currently, only
UFFD_FEATURE_RWP_ASYNC is toggleable, and enabling it requires
UFFD_FEATURE_RWP to have been negotiated at UFFDIO_API time.

Describe the uffdio_set_mode struct (enable/disable pair, must not
overlap), the serialization against in-flight page faults that lets a
single userfaultfd switch between async detection and synchronous
eviction without re-registering its ranges, and the EINVAL/EFAULT errors
returned by the kernel.

Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Kiryl Shutsemau <kas@kernel.org>
Message-ID: <20260526134149.2831720-4-kirill@shutemov.name>
[alx: ffix]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 days agoman/man2const/UFFDIO_RWPROTECT.2const: New page
Kiryl Shutsemau [Tue, 26 May 2026 13:41:45 +0000 (14:41 +0100)] 
man/man2const/UFFDIO_RWPROTECT.2const: New page

Document the UFFDIO_RWPROTECT ioctl (since Linux 7.2).  It installs or
removes read-write protection on a range that was registered with
UFFDIO_REGISTER_MODE_RWP, and is also how a handler resolves an
UFFD_PAGEFAULT_FLAG_RWP notification.

Cover the two mode bits (UFFDIO_RWPROTECT_MODE_RWP and
UFFDIO_RWPROTECT_MODE_DONTWAKE, mutually exclusive), the populated-
pages-only semantics, the anon vs file-backed reclaim behaviour, the
explicit-drop list (MADV_DONTNEED, hole-punch, truncation), and the
EINVAL/EAGAIN/ENOENT/EFAULT errors returned by the kernel.

Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Kiryl Shutsemau <kas@kernel.org>
Message-ID: <20260526134149.2831720-3-kirill@shutemov.name>
[alx: ffix]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 days agoman/man2/userfaultfd.2: Add read-write-protect mode
Kiryl Shutsemau (Meta) [Tue, 26 May 2026 13:41:44 +0000 (14:41 +0100)] 
man/man2/userfaultfd.2: Add read-write-protect mode

Read-write protect mode (UFFDIO_REGISTER_MODE_RWP) is supported starting
from Linux 7.2. It traps every access -- read or write -- to a present
page within a registered range. The matching UAPI consists of:

  - UFFDIO_REGISTER_MODE_RWP   registration-mode bit
  - UFFD_FEATURE_RWP           capability bit
  - UFFD_FEATURE_RWP_ASYNC     async (in-kernel) fault resolution
  - UFFDIO_RWPROTECT           install / remove RWP on a range
  - UFFDIO_SET_MODE            runtime sync/async toggle
  - UFFD_PAGEFAULT_FLAG_RWP    new pagefault.flags bit

Document the new registration-mode entry, the "Userfaultfd read-write
protect mode" section, the new pagefault flag, and a VERSIONS line.

Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Kiryl Shutsemau <kas@kernel.org>
Message-ID: <20260526134149.2831720-2-kirill@shutemov.name>
[alx: wfix, srcfix]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 days agoman/man7/feature_test_macros.7: tfix
felisevan [Mon, 25 May 2026 16:14:14 +0000 (18:14 +0200)] 
man/man7/feature_test_macros.7: tfix

Fixed two typos in the _REENTRANT description under the "Feature test
macros understood by glibc" section.  Changed "199606L" to "199506L".
For the corresponding glibc source code, see:

Link: <https://sourceware.org/git?p=glibc.git;a=blob;f=include/features.h;h=c080ad4260f40e633f6df951408d0a822ac2fb3d;hb=HEAD#l350>
Signed-off-by: felisevan <felisevan@protonmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 days agoman/man3/errno.3: clarify ENOTSUP and EOPNOTSUPP
Askar Safin [Wed, 27 May 2026 18:15:48 +0000 (18:15 +0000)] 
man/man3/errno.3: clarify ENOTSUP and EOPNOTSUPP

As revealed by Christian Brauner recently [1],
EOPNOTSUPP is widely used on Linux to mean "Operation not supported",
as opposed to "Operation not supported on socket".

Also, as seen in POSIX.1-2024 [2]:
POSIX doesn't require ENOTSUP and EOPNOTSUPP to be distinct,
so let's update that, too.

Link: [1] <https://lore.kernel.org/all/20260527-fotowettbewerb-abwinken-einfach-83db3411945b@brauner/>
Link: [2] <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/errno.h.html>
Signed-off-by: Askar Safin <safinaskar@gmail.com>
Message-ID: <20260527181549.2237547-1-safinaskar@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
8 days agoCONTRIBUTING.d/git: core.abbrev: Use 12 characters
Alejandro Colomar [Wed, 27 May 2026 18:33:04 +0000 (20:33 +0200)] 
CONTRIBUTING.d/git: core.abbrev: Use 12 characters

This reverts 1bbec490379b (2026-02-26; "CONTRIBUTING.d/git: core.abbrev:
Use only 8 characters").

While 8 characters are unambiguous together with the date and subject,
there are colisions of the hash, which make it uncomfortable to use.
Let's raise it back to 12 characters, which adds some noise, but makes
it easier to use (no need to disambiguate; or at least not so often).

Here's a collision I found recently:

$ git ref 8eea66b8
error: short object ID 8eea66b8 is ambiguous
hint: The candidates are:
hint:   8eea66b82 commit 2025-06-06 - man/: SYNOPSIS: Don't highlight forward declarations of function parameters
hint:   8eea66b8b commit 2019-11-16 - clone.2: Check for MAP_FAILED not NULL on mmap()
fatal: ambiguous argument '8eea66b8': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

Fixes: 1bbec490379b (2026-02-26; "CONTRIBUTING.d/git: core.abbrev: Use only 8 characters")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man2/seccomp_unotify.2: wfix
funsafemath [Mon, 18 May 2026 04:20:27 +0000 (05:20 +0100)] 
man/man2/seccomp_unotify.2: wfix

There are two documented flags, but the sentence states there is only one.

Signed-off-by: funsafemath <funsafemath@proton.me>
Message-ID: <agqTcfOqY8Jq06Ff@nix-mail>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man2/ioctl_tty.2: Fix references to TCSETS(2const)
Tomasz Kramkowski [Fri, 1 May 2026 14:57:01 +0000 (15:57 +0100)] 
man/man2/ioctl_tty.2: Fix references to TCSETS(2const)

Change the duplicate references to refer to all of the different
variants of the TC{GET,SET{S,S2,A}{,W,F}} constants.

This looks to be a bug which was introduced during a restructuring.

Fixes: e59976296 (2024-06-13; "ioctl_tty.2, TC[SG]ET*.2const: Split TC[SG]ET* from ioctl_tty(2)")
Signed-off-by: Tomasz Kramkowski <tomasz@kramkow.ski>
Message-ID: <20260501145701.66573-1-tomasz@kramkow.ski>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV
funsafemath [Mon, 18 May 2026 03:15:44 +0000 (04:15 +0100)] 
man/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV

Document the SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV flag, which makes
the process ignore non-fatal signals until the supervisor sends a
response.

Kernel documentation: <Documentation/userspace-api/seccomp_filter.rst>

Signed-off-by: funsafemath <funsafemath@proton.me>
Message-ID: <agqEQZ9QenxnEkqv@nix-mail>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_TSYNC_ESRCH
funsafemath [Mon, 18 May 2026 03:14:57 +0000 (04:14 +0100)] 
man/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_TSYNC_ESRCH

Document the SECCOMP_FILTER_FLAG_TSYNC_ESRCH flag, which allows using
the SECCOMP_FILTER_FLAG_TSYNC and SECCOMP_FILTER_FLAG_NEW_LISTENER
flags together by failing with ESRCH on synchronization error instead
of returning the thread ID.

Link: <https://lore.kernel.org/r/20200304180517.23867-1-tycho@tycho.ws>
Signed-off-by: funsafemath <funsafemath@proton.me>
Message-ID: <agqEJhEejusooE5s@nix-mail>
Cc: Tycho Andersen <tycho@kernel.org>
[alx: wfix]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man2/quotactl.2: tfix
Alejandro Colomar [Sat, 16 May 2026 17:08:07 +0000 (19:08 +0200)] 
man/man2/quotactl.2: tfix

It seems most likely that this was a typo, and that Q_XQUOTAON was
meant.

Fixes: 1eeddf25 (2010-06-16; "quotactl.2: Major updates")
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Petr Gajdos <pgajdos@suse.cz>
Cc: Jan Blunck <jblunck@novell.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man3/str[case]str.3: Tweak after split
Alejandro Colomar [Sat, 16 May 2026 19:30:40 +0000 (21:30 +0200)] 
man/man3/str[case]str.3: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man3/str[case]str.3: Split strcasestr(3) from strstr(3)
Alejandro Colomar [Sat, 16 May 2026 19:27:58 +0000 (21:27 +0200)] 
man/man3/str[case]str.3: Split strcasestr(3) from strstr(3)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man3/str[r]chr.3: Tweak after split
Alejandro Colomar [Sat, 16 May 2026 19:06:17 +0000 (21:06 +0200)] 
man/man3/str[r]chr.3: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man3/str[r]chr.3: Split strrchr(3) from strchr(3)
Alejandro Colomar [Sat, 16 May 2026 19:00:54 +0000 (21:00 +0200)] 
man/man3/str[r]chr.3: Split strrchr(3) from strchr(3)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man3/mem[r]chr.3: Tweak after split
Alejandro Colomar [Sat, 16 May 2026 18:29:51 +0000 (20:29 +0200)] 
man/man3/mem[r]chr.3: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man3/mem[r]chr.3: Split memrchr(3) from memchr(3)
Alejandro Colomar [Sat, 16 May 2026 18:28:01 +0000 (20:28 +0200)] 
man/man3/mem[r]chr.3: Split memrchr(3) from memchr(3)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man2const/PAGEMAP_SCAN.2const: tfix
funsafemath [Sat, 16 May 2026 04:57:31 +0000 (05:57 +0100)] 
man/man2const/PAGEMAP_SCAN.2const: tfix

Signed-off-by: funsafemath <funsafemath@proton.me>
Message-ID: <agf5NqqQzWRde7IR@nix-mail>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man7/landlock.7: Simplify references to ABI versions
Günther Noack [Fri, 15 May 2026 16:57:52 +0000 (18:57 +0200)] 
man/man7/landlock.7: Simplify references to ABI versions

* Use cardinal numbers for referring to Landlock ABI versions,
  where possible.

* Adopt the format already used in landlock_restrict_self(2),
  where the ABI versions are described next to the flag names
  in their tagged paragraphs.  For example:

    .TP
    .BR FLAG "  (since Landlock ABI version X)"

Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Message-ID: <20260515165753.8830-3-gnoack3000@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man7/landlock.7: Adapt compatibility in code example to ABI v8
Günther Noack [Thu, 14 May 2026 07:04:16 +0000 (09:04 +0200)] 
man/man7/landlock.7: Adapt compatibility in code example to ABI v8

* Bring the code example up to speed with Landlock ABI v8
* Use the correct ABI level in the MIN() macro

Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Message-ID: <20260514070417.7923-2-gnoack3000@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoman/man3/dlopen.3: EXAMPLES: Simplify use of dlsym(3)
Alejandro Colomar [Fri, 15 May 2026 15:22:12 +0000 (17:22 +0200)] 
man/man3/dlopen.3: EXAMPLES: Simplify use of dlsym(3)

The cast is entirely unnecessary.  Conversion from/to void* and function
pointers is implicit, and it's guaranteed by POSIX.  ISO C is irrelevant
here, because dlsym(3) requires POSIX, which provides the stronger
guarantees that we need.

And even before POSIX standardized these guarantees about void* and
function pointers, any system implementing dlsym(3) would have to
support them anyway, as otherwise dlsym(3) couldn't work at all.

Reported-by: Bruno Haible <bruno@clisp.org>
Suggested-by: Martin Uecker <uecker@tugraz.at>
Acked-by: Bruno Haible <bruno@clisp.org>
Message-ID: <3628881.qSoW2BAyJ8@nimes>
Cc: Walter Harms <wharms@bfs.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 weeks agoshare/mk/configure/build-depends/gcc/cc.mk: $CLANG_FLAGS: Add -Wno-pedantic
Alejandro Colomar [Fri, 15 May 2026 15:27:02 +0000 (17:27 +0200)] 
share/mk/configure/build-depends/gcc/cc.mk: $CLANG_FLAGS: Add -Wno-pedantic

We depend on POSIX extensions for certain things.  Pedantic diagnostics
are irrelevant.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man2/process_vm_readv.2: Correct partial transfer granularity
Alban Crequy [Thu, 14 May 2026 08:36:59 +0000 (10:36 +0200)] 
man/man2/process_vm_readv.2: Correct partial transfer granularity

The manual page claimed that partial transfers apply at the granularity
of iovec elements and that these system calls won't split a single
iovec element.  This is correct for local iovecs (which are validated
upfront) but incorrect for remote iovecs: the kernel processes remote
memory at page granularity via pin_user_pages_remote(), so a partial
transfer can occur within a single remote iovec element at a page
boundary.

For example, if a remote iovec spans two pages and the second page is
unmapped, the syscall returns the number of bytes from the first page
(a partial transfer within one iovec element), not -1/EFAULT.

I verified this by testing process_vm_readv() and process_vm_writev()
with a 2-page remote iovec where the second page was unmapped via
munmap().  Both returned one page worth of bytes (a short read/write),
confirming page-granularity partial transfers.

I was prompted to check the current behaviour by the LKML review on
my patch (not merged yet) on process_vm_readv adding new flags:
<https://lore.kernel.org/lkml/8b29da5b-e260-4b77-a640-8abb447291d1@kernel.org/>

The inaccurate text was introduced in commit 0b01869b (2012-04-26;
"process_vm_readv.2: Cleanups after comments from Mike Frysinger and
Christopher Yeoh"), based on a misinterpretation of a review comment.
The original manual page text by Christopher Yeoh correctly described
partial transfers without claiming iovec-element granularity.

Note: process_vm_writev.2 is a .so redirect to process_vm_readv.2,
so this fix applies to both pages.

Fixes: 0b01869b (2012-04-26; "process_vm_readv.2: Cleanups after comments from Mike Frysinger and Christopher Yeoh")
Cc: David Hildenbrand <david@kernel.org>
Signed-off-by: Alban Crequy <albancrequy@microsoft.com>
Message-ID: <20260514083659.139971-1-alban.crequy@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man2/copy_file_range.2: ffix
Thomas Voss [Wed, 13 May 2026 22:01:53 +0000 (00:01 +0200)] 
man/man2/copy_file_range.2: ffix

Just came across this formatting issue in copy_file_range(2).  I went
ahead and wrote a quick fix and also did some searching for similar bugs
across the rest of the manuals with awk(1), but didn’t come across
anything.

Fixes: b983fe3a (2025-11-09; "man/man2/copy_file_range.2: glibc no longer provides fallback after 2.30")
Signed-off-by: Thomas Voss <mail@tvoss.eu>
Message-ID: <b9f152d28bcff7ae45189138485e122d696defe6.1778709713.git.mail@tvoss.eu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man7/pid_namespaces.7: Add setns(2) restriction and reasoning
Matthieu Buffet [Wed, 13 May 2026 08:33:39 +0000 (10:33 +0200)] 
man/man7/pid_namespaces.7: Add setns(2) restriction and reasoning

The logical implication between PID namespaces being readonly after
process creation and process trees needing to loosely mirror PID
namespaces is not trivial to follow.  Part of that implication is
implicit: since PID namespace membership is readonly, one has to use
fork() or one of its variants to "change" PID namespace, and these APIs
need to return a valid child PID in the parent namespace.  The
consequence could also be made more explicit (setns() will fail on
non-descendant PID namespaces) while explaining how this is implemented.

Signed-off-by: Matthieu Buffet <matthieu@buffet.re>
Message-ID: <20260513083339.27911-2-matthieu@buffet.re>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man7/pid_namespaces.7: Fix requirements on namespace+process trees
Matthieu Buffet [Wed, 13 May 2026 08:33:38 +0000 (10:33 +0200)] 
man/man7/pid_namespaces.7: Fix requirements on namespace+process trees

Creating processes in non-direct-child PID namespaces has been possible
since the addition of setns() support for PID namespaces in commit
linux.git 57e8391d (2012-11-19; "pidns: Add setns support").  The tree
check in pidns_install() in kernel/pid_namespace.c has always allowed
non-direct-child PID namespaces, but was written inline instead of the
more readable current pidns_is_ancestor() helper (possibly explaining
the confusion).

Fixes: 6e377abf9 (2014-09-13; "pid_namespaces.7: Parent process relationships mirror parent PID namespace relationships")
Signed-off-by: Matthieu Buffet <matthieu@buffet.re>
Message-ID: <20260513083339.27911-1-matthieu@buffet.re>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man7/suffixes.7: Clarify Debian artifacts description
Guillem Jover [Sat, 9 May 2026 18:50:22 +0000 (20:50 +0200)] 
man/man7/suffixes.7: Clarify Debian artifacts description

The terminology for these artifacts was "recently" updated to make
them consistent and more clear, where both dpkg and the Debian Policy
now have matching terminology.  Refer to the dpkg man pages for further
information and format description.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Message-ID: <20260509185022.289672-4-guillem@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man7/suffixes.7: Add xz suffixes
Guillem Jover [Sat, 9 May 2026 18:50:21 +0000 (20:50 +0200)] 
man/man7/suffixes.7: Add xz suffixes

These are very common nowadays, for example by default Debian source
packages use this compression method.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Message-ID: <20260509185022.289672-3-guillem@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks ago*/: Say OpenPGP instead of PGP
Guillem Jover [Sat, 9 May 2026 18:50:20 +0000 (20:50 +0200)] 
*/: Say OpenPGP instead of PGP

The IETF draft is called OpenPGP, where PGP is the original
implementation from where the specification was based on.  For file
artifacts ".pgp" is the correct short term to use though, which can
be considered the more implementation neutral name to use.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Message-ID: <20260509185022.289672-2-guillem@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
3 weeks agoman/man7/pid_namespaces.7: srcfix (semantic newlines)
Alejandro Colomar [Sun, 10 May 2026 21:59:52 +0000 (23:59 +0200)] 
man/man7/pid_namespaces.7: srcfix (semantic newlines)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man5/core.5: Update compression format for systemd-coredump(8)
Patsy Griffin [Thu, 7 May 2026 19:05:08 +0000 (15:05 -0400)] 
man/man5/core.5: Update compression format for systemd-coredump(8)

As of version 246, systemd-coredump(8) defaults to zstd(1) compression
for core dumps, rather than lz4(1).

systemd.git ef5924aa (2020-05-04; "coredump: add zstandard support for coredumps")

Signed-off-by: Patsy Griffin <patsy@redhat.com>
Message-ID: <20260507190508.386186-2-patsy@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Message-ID: <eb5c6c20-48a3-46a9-9918-12beffb8e6bc@redhat.com>
[alx: Minor tweaks]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man7/suffixes.7: Add .zst suffix
Patsy Griffin [Thu, 7 May 2026 19:05:07 +0000 (15:05 -0400)] 
man/man7/suffixes.7: Add .zst suffix

Signed-off-by: Patsy Griffin <patsy@redhat.com>
Message-ID: <20260507190508.386186-1-patsy@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man2/landlock_add_rule.2: Mention ABI version for LANDLOCK_RULE_NET_PORT
Günther Noack [Wed, 22 Apr 2026 19:23:30 +0000 (21:23 +0200)] 
man/man2/landlock_add_rule.2: Mention ABI version for LANDLOCK_RULE_NET_PORT

Add the ABI version in the place where LANDLOCK_RULE_NET_PORT is
described.  For LANDLOCK_RULE_PATH_BENEATH, the ABI version is
implicit, it is supported since the start.

Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Message-ID: <20260422192330.7623-3-gnoack3000@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man2/landlock_restrict_self.2: Document ABI requirement for logging flags
Günther Noack [Wed, 22 Apr 2026 19:23:29 +0000 (21:23 +0200)] 
man/man2/landlock_restrict_self.2: Document ABI requirement for logging flags

Missed this on the earlier commit; we should mention since which
Landlock version these flags are available.  Users can correlate this
with the Landlock ABI version as it can be queried through
landlock_create_ruleset(2).

Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Message-ID: <20260422192330.7623-2-gnoack3000@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
4 weeks agoman/man2/perf_event_open.2: ffix
Schneider, Robert [Mon, 4 May 2026 10:57:13 +0000 (10:57 +0000)] 
man/man2/perf_event_open.2: ffix

Fixes: bb7e6ff0 (2015-07-23; "perf_event_open.2: 4.1 PERF_SAMPLE_BRANCH_CALL_STACK")
Signed-off-by: Robert Schneider <robert.schneider03@sap.com>
Message-ID: <VI0PR02MB1087335B7BD1EAC7E8A617C968F312@VI0PR02MB10873.eurprd02.prod.outlook.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoStart of man-pages-NEXT: Move Changes to Changes.old
Alejandro Colomar [Wed, 22 Apr 2026 20:07:16 +0000 (22:07 +0200)] 
Start of man-pages-NEXT: Move Changes to Changes.old

Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agolsm: Released 6.18
Alejandro Colomar [Wed, 22 Apr 2026 19:28:19 +0000 (21:28 +0200)] 
lsm: Released 6.18

Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoChanges: Ready for 6.18 man-pages-6.18
Alejandro Colomar [Wed, 22 Apr 2026 19:22:47 +0000 (21:22 +0200)] 
Changes: Ready for 6.18

Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoman/man7/bpf-helpers.7: Refresh page from Linux v7.0
Alejandro Colomar [Wed, 22 Apr 2026 13:36:04 +0000 (15:36 +0200)] 
man/man7/bpf-helpers.7: Refresh page from Linux v7.0

Scripted change:

$ ~/src/linux/linux/v7.0/scripts/bpf_doc.py \
| rst2man \
>man7/bpf-helpers.7;

Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoman/: Refresh pages from tzdb-2026a
Alejandro Colomar [Wed, 22 Apr 2026 13:23:27 +0000 (15:23 +0200)] 
man/: Refresh pages from tzdb-2026a

Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoman/man?/{landlock_restrict_self.2,landlock.7}: Document LANDLOCK_RESTRICT_SELF_TSYNC...
Günther Noack [Tue, 21 Apr 2026 17:58:41 +0000 (19:58 +0200)] 
man/man?/{landlock_restrict_self.2,landlock.7}: Document LANDLOCK_RESTRICT_SELF_TSYNC (ABI v8)

Document the new LANDLOCK_RESTRICT_SELF_TSYNC flag, which applies the
Landlock configuration atomically to all threads of the calling process.

Available since Linux 7.0 (Landlock ABI version 8).

Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Message-ID: <20260421175842.6870-4-gnoack3000@gmail.com>
[alx: ffix]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoman/man?/{landlock_create_ruleset.2,landlock.7}: Document LANDLOCK_CREATE_RULESET_ERRATA
Günther Noack [Tue, 21 Apr 2026 17:58:40 +0000 (19:58 +0200)] 
man/man?/{landlock_create_ruleset.2,landlock.7}: Document LANDLOCK_CREATE_RULESET_ERRATA

Document the LANDLOCK_CREATE_RULESET_ERRATA flag, which returns a
bitmask of fixed issues for the current Landlock ABI version.

This mechanism was introduced in Linux 6.15, but backported to all
older kernel releases where these errata fixes were backported to.
On official Linux kernel releases, if landlock_create_ruleset() with
LANDLOCK_CREATE_RULESET_ERRATA returns an error, this is equivalent to
the case where none of the known errata have been fixed.

Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Message-ID: <20260421175842.6870-3-gnoack3000@gmail.com>
[alx: ffix]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoman/man2/landlock_create_ruleset.2: Clarify attr and size constraints
Günther Noack [Tue, 21 Apr 2026 17:58:39 +0000 (19:58 +0200)] 
man/man2/landlock_create_ruleset.2: Clarify attr and size constraints

When used with special flags like LANDLOCK_CREATE_RULESET_VERSION,
attr must be NULL and size must be 0.

Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Message-ID: <20260421175842.6870-2-gnoack3000@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoman/man3/getentropy.3: HISTORY: Document OpenBSD and FreeBSD with their versions
Alejandro Colomar [Tue, 21 Apr 2026 13:11:35 +0000 (15:11 +0200)] 
man/man3/getentropy.3: HISTORY: Document OpenBSD and FreeBSD with their versions

Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoman/man3/getentropy.3: STANDARDS, HISTORY: It's in POSIX.1-2024
Alejandro Colomar [Tue, 21 Apr 2026 13:06:27 +0000 (15:06 +0200)] 
man/man3/getentropy.3: STANDARDS, HISTORY: It's in POSIX.1-2024

Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoman/man2/landlock_create_ruleset.2: ERRORS: Document EINVAL scope case
Günther Noack [Mon, 20 Apr 2026 22:35:14 +0000 (00:35 +0200)] 
man/man2/landlock_create_ruleset.2: ERRORS: Document EINVAL scope case

This brings the manpage in-line with the kernel documentation.  Here,
"scope" is a field in the passed struct landlock_ruleset_access, which
can result in EINVAL if populated improperly.

Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Message-ID: <20260420223517.8020-2-gnoack3000@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoman/man3/static_assert.3: Move contents of VERSIONS to HISTORY
Alejandro Colomar [Mon, 20 Apr 2026 21:00:36 +0000 (23:00 +0200)] 
man/man3/static_assert.3: Move contents of VERSIONS to HISTORY

Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoman/man3/static_assert.3: HISTORY: Add section
Alejandro Colomar [Mon, 20 Apr 2026 20:59:57 +0000 (22:59 +0200)] 
man/man3/static_assert.3: HISTORY: Add section

Signed-off-by: Alejandro Colomar <alx@kernel.org>
6 weeks agoman/man2/landlock_create_ruleset.2: ffix
Alejandro Colomar [Sun, 19 Apr 2026 19:59:01 +0000 (21:59 +0200)] 
man/man2/landlock_create_ruleset.2: ffix

Signed-off-by: Alejandro Colomar <alx@kernel.org>