]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
14 months agoUFFDIO_COPY.2const: Tweak after split
Alejandro Colomar [Fri, 14 Jun 2024 13:44:47 +0000 (15:44 +0200)] 
UFFDIO_COPY.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_userfaultfd.2, UFFDIO_COPY.2const: Split UFFDIO_COPY from ioctl_userfaultfd(2)
Alejandro Colomar [Fri, 14 Jun 2024 13:32:43 +0000 (15:32 +0200)] 
ioctl_userfaultfd.2, UFFDIO_COPY.2const: Split UFFDIO_COPY from ioctl_userfaultfd(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoUFFDIO_UNREGISTER.2const: Tweak after split
Alejandro Colomar [Fri, 14 Jun 2024 13:10:50 +0000 (15:10 +0200)] 
UFFDIO_UNREGISTER.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_userfaultfd.2, UFFDIO_UNREGISTER.2const: Split UFFDIO_UNREGISTER from ioctl_use...
Alejandro Colomar [Fri, 14 Jun 2024 12:59:13 +0000 (14:59 +0200)] 
ioctl_userfaultfd.2, UFFDIO_UNREGISTER.2const: Split UFFDIO_UNREGISTER from ioctl_userfaultfd(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoUFFDIO_REGISTER.2const: Tweak after split
Alejandro Colomar [Fri, 14 Jun 2024 00:00:54 +0000 (02:00 +0200)] 
UFFDIO_REGISTER.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_userfaultfd.2, UFFDIO_REGISTER.2const: Split UFFDIO_REGISTER from ioctl_userfau...
Alejandro Colomar [Thu, 13 Jun 2024 23:46:45 +0000 (01:46 +0200)] 
ioctl_userfaultfd.2, UFFDIO_REGISTER.2const: Split UFFDIO_REGISTER from ioctl_userfaultfd(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoUFFDIO_API.2const: Tweak after split
Alejandro Colomar [Thu, 13 Jun 2024 23:19:53 +0000 (01:19 +0200)] 
UFFDIO_API.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_userfaultfd.2, UFFDIO_API.2const: Split UFFDIO_API from ioctl_userfaultfd(2)
Alejandro Colomar [Thu, 13 Jun 2024 22:53:40 +0000 (00:53 +0200)] 
ioctl_userfaultfd.2, UFFDIO_API.2const: Split UFFDIO_API from ioctl_userfaultfd(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, man2const/: Make sashimi
Alejandro Colomar [Thu, 13 Jun 2024 16:21:57 +0000 (18:21 +0200)] 
ioctl_tty.2, man2const/: Make sashimi

14 months agoioctl_tty.2, TIOCTTYGSTRUCT.2const: Split TIOCTTYGSTRUCT from ioctl_tty(2)
Alejandro Colomar [Thu, 13 Jun 2024 16:16:14 +0000 (18:16 +0200)] 
ioctl_tty.2, TIOCTTYGSTRUCT.2const: Split TIOCTTYGSTRUCT from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, TIOC[SG]SOFTCAR.2const: Split TIOC[SG]SOFTCAR from ioctl_tty(2)
Alejandro Colomar [Thu, 13 Jun 2024 16:05:40 +0000 (18:05 +0200)] 
ioctl_tty.2, TIOC[SG]SOFTCAR.2const: Split TIOC[SG]SOFTCAR from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, TIOCM{[SG]ET,BI[CS],IWAIT}.2const, TIOCGICOUNT.2const: Split TIOC* from...
Alejandro Colomar [Thu, 13 Jun 2024 15:21:37 +0000 (17:21 +0200)] 
ioctl_tty.2, TIOCM{[SG]ET,BI[CS],IWAIT}.2const, TIOCGICOUNT.2const: Split TIOC* from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoTIOCPKT.2const: Tweak after split
Alejandro Colomar [Thu, 13 Jun 2024 14:43:58 +0000 (16:43 +0200)] 
TIOCPKT.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, TIOC[G]PKT.2const, TIOC[SG]PTLCK.2const, TIOCGPTPEER.2const: Split TIOC...
Alejandro Colomar [Thu, 13 Jun 2024 14:31:35 +0000 (16:31 +0200)] 
ioctl_tty.2, TIOC[G]PKT.2const, TIOC[SG]PTLCK.2const, TIOCGPTPEER.2const: Split TIOC* from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2: Fix constness of arguments
Alejandro Colomar [Thu, 13 Jun 2024 13:20:19 +0000 (15:20 +0200)] 
ioctl_tty.2: Fix constness of arguments

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, TIOC[SG]ETD.2const: Split TIOC[SG]ETD from ioctl_tty(2)
Alejandro Colomar [Thu, 13 Jun 2024 12:59:43 +0000 (14:59 +0200)] 
ioctl_tty.2, TIOC[SG]ETD.2const: Split TIOC[SG]ETD from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoTIOCEXCL.2const: Tweak after split
Alejandro Colomar [Thu, 13 Jun 2024 12:50:10 +0000 (14:50 +0200)] 
TIOCEXCL.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, TIOC{E,GE,N}XCL.2const: Split TIOC*XCL from ioctl_tty(2)
Alejandro Colomar [Thu, 13 Jun 2024 12:48:26 +0000 (14:48 +0200)] 
ioctl_tty.2, TIOC{E,GE,N}XCL.2const: Split TIOC*XCL from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, TIOC[SG]PGRP.2const, TIOCGSID.2const: Split TIOC* from ioctl_tty(2)
Alejandro Colomar [Thu, 13 Jun 2024 12:25:33 +0000 (14:25 +0200)] 
ioctl_tty.2, TIOC[SG]PGRP.2const, TIOCGSID.2const: Split TIOC* from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, TIOC{NO,SC}TTY.2const: Split TIOC*TTY from ioctl_tty(2)
Alejandro Colomar [Thu, 13 Jun 2024 12:14:11 +0000 (14:14 +0200)] 
ioctl_tty.2, TIOC{NO,SC}TTY.2const: Split TIOC*TTY from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoTIOCCONS.2const: Tweak after split
Alejandro Colomar [Thu, 13 Jun 2024 09:36:05 +0000 (11:36 +0200)] 
TIOCCONS.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, TIOCCONS.2const: Split TIOCCONS from ioctl_tty(2)
Alejandro Colomar [Thu, 13 Jun 2024 09:31:50 +0000 (11:31 +0200)] 
ioctl_tty.2, TIOCCONS.2const: Split TIOCCONS from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoTIOCSTI.2const: Tweak after split
Alejandro Colomar [Wed, 12 Jun 2024 23:58:13 +0000 (01:58 +0200)] 
TIOCSTI.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, TIOCSTI.2const: Split TIOCSTI from ioctl_tty(2)
Alejandro Colomar [Wed, 12 Jun 2024 23:53:07 +0000 (01:53 +0200)] 
ioctl_tty.2, TIOCSTI.2const: Split TIOCSTI from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, FIONREAD.2const, TIOC{IN,OUT}Q.2const, TCFLSH.2const, TIOCSERGETLSR...
Alejandro Colomar [Wed, 12 Jun 2024 23:42:32 +0000 (01:42 +0200)] 
ioctl_tty.2, FIONREAD.2const, TIOC{IN,OUT}Q.2const, TCFLSH.2const, TIOCSERGETLSR.2const: Split from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoTCXONC.2const: Tweak after split
Alejandro Colomar [Wed, 12 Jun 2024 23:19:14 +0000 (01:19 +0200)] 
TCXONC.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, TCXONC.2const: Split TCXONC from ioctl_tty(2)
Alejandro Colomar [Wed, 12 Jun 2024 23:17:46 +0000 (01:17 +0200)] 
ioctl_tty.2, TCXONC.2const: Split TCXONC from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, T*BRK*.2const: Split T*BRK* from ioctl_tty(2)
Alejandro Colomar [Wed, 12 Jun 2024 23:07:12 +0000 (01:07 +0200)] 
ioctl_tty.2, T*BRK*.2const: Split T*BRK* from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, TIOC[SG]LCKTRMIOS.2const: Split TIOC[SG]LCKTRMIOS from ioctl_tty(2)
Alejandro Colomar [Wed, 12 Jun 2024 19:25:56 +0000 (21:25 +0200)] 
ioctl_tty.2, TIOC[SG]LCKTRMIOS.2const: Split TIOC[SG]LCKTRMIOS from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoTIOCSWINSZ.2const: Tweak after split
Alejandro Colomar [Wed, 12 Jun 2024 19:10:54 +0000 (21:10 +0200)] 
TIOCSWINSZ.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, TIOC[SG]WINSZ.2const: Split TIOC[SG]WINSZ from ioctl_tty(2)
Alejandro Colomar [Wed, 12 Jun 2024 18:15:17 +0000 (20:15 +0200)] 
ioctl_tty.2, TIOC[SG]WINSZ.2const: Split TIOC[SG]WINSZ from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoshare/mk/: Skip expected warnings
Alejandro Colomar [Wed, 12 Jun 2024 16:57:48 +0000 (18:57 +0200)] 
share/mk/: Skip expected warnings

Due to missing 'U' suffixes in UAPI constants.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoTCSETS.2const: Tweak after split
Alejandro Colomar [Wed, 12 Jun 2024 11:35:56 +0000 (13:35 +0200)] 
TCSETS.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl.2, ioctl_fsmap.2, FS_IOC_GETFSMAP.2const: ioctl_getfsmap(2) => ioctl_fsmap(2)
Alejandro Colomar [Wed, 12 Jun 2024 08:47:31 +0000 (10:47 +0200)] 
ioctl.2, ioctl_fsmap.2, FS_IOC_GETFSMAP.2const: ioctl_getfsmap(2) => ioctl_fsmap(2)

This name makes it consistent with the header file <linux/fsmap.h>.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_tty.2, TC[SG]ET*.2const: Split TC[SG]ET* from ioctl_tty(2)
Alejandro Colomar [Wed, 12 Jun 2024 09:00:53 +0000 (11:00 +0200)] 
ioctl_tty.2, TC[SG]ET*.2const: Split TC[SG]ET* from ioctl_tty(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_ns.2, ioctl_nsfs.2: Rename page, and make sashimi
Alejandro Colomar [Tue, 11 Jun 2024 00:18:22 +0000 (02:18 +0200)] 
ioctl_ns.2, ioctl_nsfs.2: Rename page, and make sashimi

14 months agoioctl_tty.2: Tweak in preparation for sashimi
Alejandro Colomar [Wed, 12 Jun 2024 11:41:00 +0000 (13:41 +0200)] 
ioctl_tty.2: Tweak in preparation for sashimi

-  Move paragraph to CAVEATS.
-  Reword RETURN VALUE for consistency with other pages.
-  Remove some ERRORS that are redundant with ioctl(2).
-  Remove ENOIOCTLCMD; this error doesn't exist in user space.
-  Document includes and structures in SYNOPSIS properly.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_nsfs.2: Tweak after making sashimi of this page
Alejandro Colomar [Tue, 11 Jun 2024 00:17:55 +0000 (02:17 +0200)] 
ioctl_nsfs.2: Tweak after making sashimi of this page

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoNS_GET_OWNER_UID.2const: Tweak after split
Alejandro Colomar [Tue, 11 Jun 2024 00:14:33 +0000 (02:14 +0200)] 
NS_GET_OWNER_UID.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_nsfs.2, NS_GET_OWNER_UID.2const: Split NS_GET_OWNER_UID from ioctl_nsfs(2)
Alejandro Colomar [Tue, 11 Jun 2024 00:09:17 +0000 (02:09 +0200)] 
ioctl_nsfs.2, NS_GET_OWNER_UID.2const: Split NS_GET_OWNER_UID from ioctl_nsfs(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoNS_GET_NSTYPE.2const: Tweak after split
Alejandro Colomar [Tue, 11 Jun 2024 00:01:22 +0000 (02:01 +0200)] 
NS_GET_NSTYPE.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_nsfs.2, NS_GET_NSTYPE.2const: Split NS_GET_NSTYPE from ioctl_nsfs(2)
Alejandro Colomar [Mon, 10 Jun 2024 23:54:22 +0000 (01:54 +0200)] 
ioctl_nsfs.2, NS_GET_NSTYPE.2const: Split NS_GET_NSTYPE from ioctl_nsfs(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_fs.2, man/: Reorganize <linux/fs.h> ioctl(2)s
Alejandro Colomar [Mon, 10 Jun 2024 20:13:41 +0000 (22:13 +0200)] 
ioctl_fs.2, man/: Reorganize <linux/fs.h> ioctl(2)s

14 months agoNS_GET_USERNS.2const: Tweak after split
Alejandro Colomar [Mon, 10 Jun 2024 21:38:40 +0000 (23:38 +0200)] 
NS_GET_USERNS.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_nsfs.2, NS_GET_{USERNS,PARENT}.2const: Split NS_GET_* from ioctl_nsfs(2)
Alejandro Colomar [Mon, 10 Jun 2024 20:53:48 +0000 (22:53 +0200)] 
ioctl_nsfs.2, NS_GET_{USERNS,PARENT}.2const: Split NS_GET_* from ioctl_nsfs(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_ns.2, ioctl_nsfs.2, man/: Move page to ioctl_nsfs.2
Alejandro Colomar [Mon, 10 Jun 2024 20:27:55 +0000 (22:27 +0200)] 
ioctl_ns.2, ioctl_nsfs.2, man/: Move page to ioctl_nsfs.2

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl.2, ioctl_fs.2: Add overview page for <linux/fs.h> ioctl(2)s
Alejandro Colomar [Mon, 10 Jun 2024 20:11:38 +0000 (22:11 +0200)] 
ioctl.2, ioctl_fs.2: Add overview page for <linux/fs.h> ioctl(2)s

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoshare/mk/: Skip spurious warning from mandoc(1)
Alejandro Colomar [Wed, 12 Jun 2024 17:01:03 +0000 (19:01 +0200)] 
share/mk/: Skip spurious warning from mandoc(1)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl.2, PAGEMAP_SCAN.2const: Move page to PAGEMAP_SCAN.2const
Alejandro Colomar [Mon, 10 Jun 2024 19:13:13 +0000 (21:13 +0200)] 
ioctl.2, PAGEMAP_SCAN.2const: Move page to PAGEMAP_SCAN.2const

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_pagemap_scan.2: Move structure definitions to SYNOPSIS
Alejandro Colomar [Mon, 10 Jun 2024 19:11:06 +0000 (21:11 +0200)] 
ioctl_pagemap_scan.2: Move structure definitions to SYNOPSIS

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_iflags.2, FS_IOC_[GS]ETFLAGS.2const, man/: Move page to FS_IOC_SETFLAGS.2const
Alejandro Colomar [Mon, 10 Jun 2024 18:49:09 +0000 (20:49 +0200)] 
ioctl_iflags.2, FS_IOC_[GS]ETFLAGS.2const, man/: Move page to FS_IOC_SETFLAGS.2const

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl.2, ioctl_fslabel.2, FS_IOC_[GS]ETFSLABEL.2const: Move page to FS_IOC_SETFSLABEL...
Alejandro Colomar [Mon, 10 Jun 2024 16:42:59 +0000 (18:42 +0200)] 
ioctl.2, ioctl_fslabel.2, FS_IOC_[GS]ETFSLABEL.2const: Move page to FS_IOC_SETFSLABEL.2const

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl.2, ioctl_fideduperange.2, FIDEDUPERANGE.2const: Move page to FIDEDUPERANGE...
Alejandro Colomar [Mon, 10 Jun 2024 16:04:34 +0000 (18:04 +0200)] 
ioctl.2, ioctl_fideduperange.2, FIDEDUPERANGE.2const: Move page to FIDEDUPERANGE.2const

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl.2, ioctl_ficlone*.2, FICLONE{,RANGE}.2const: Move page to FICLONE.2const
Alejandro Colomar [Mon, 10 Jun 2024 15:56:26 +0000 (17:56 +0200)] 
ioctl.2, ioctl_ficlone*.2, FICLONE{,RANGE}.2const: Move page to FICLONE.2const

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_fat.2, man2const/: Make sashimi
Alejandro Colomar [Mon, 10 Jun 2024 15:41:51 +0000 (17:41 +0200)] 
ioctl_fat.2, man2const/: Make sashimi

14 months agoioctl_fat.2, VFAT_IOCTL_READDIR_{BOTH,SHORT}.2const: Split VFAT_IOCTL_READDIR_* from...
Alejandro Colomar [Mon, 10 Jun 2024 15:37:52 +0000 (17:37 +0200)] 
ioctl_fat.2, VFAT_IOCTL_READDIR_{BOTH,SHORT}.2const: Split VFAT_IOCTL_READDIR_* from ioctl_fat(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_fat.2, FAT_IOCTL_GET_VOLUME_ID.2const: Split FAT_IOCTL_GET_VOLUME_ID from ioctl...
Alejandro Colomar [Mon, 10 Jun 2024 15:11:31 +0000 (17:11 +0200)] 
ioctl_fat.2, FAT_IOCTL_GET_VOLUME_ID.2const: Split FAT_IOCTL_GET_VOLUME_ID from ioctl_fat(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_console.2, ioctl_kd.2, ioctl_vt.2, man2const/: Make sashimi
Alejandro Colomar [Sun, 9 Jun 2024 23:20:42 +0000 (01:20 +0200)] 
ioctl_console.2, ioctl_kd.2, ioctl_vt.2, man2const/: Make sashimi

14 months agoioctl_fat.2, FAT_IOCTL_[GS]ET_ATTRIBUTES.2const: Split FAT_IOCTL_[GS]ET_ATTRIBUTES...
Alejandro Colomar [Mon, 10 Jun 2024 08:46:24 +0000 (10:46 +0200)] 
ioctl_fat.2, FAT_IOCTL_[GS]ET_ATTRIBUTES.2const: Split FAT_IOCTL_[GS]ET_ATTRIBUTES from ioctl_fat(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_console.2: Tweak after making sashimi of this page
Alejandro Colomar [Sun, 9 Jun 2024 23:05:09 +0000 (01:05 +0200)] 
ioctl_console.2: Tweak after making sashimi of this page

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_kd.2: Tweak after split
Alejandro Colomar [Sun, 9 Jun 2024 23:02:03 +0000 (01:02 +0200)] 
ioctl_kd.2: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_console.2, ioctl_kd.2, man2const/: Split ioctl_kd(2) from ioctl_console(2)
Alejandro Colomar [Sun, 9 Jun 2024 22:57:35 +0000 (00:57 +0200)] 
ioctl_console.2, ioctl_kd.2, man2const/: Split ioctl_kd(2) from ioctl_console(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_vt.2: Tweak after split
Alejandro Colomar [Sun, 9 Jun 2024 21:46:37 +0000 (23:46 +0200)] 
ioctl_vt.2: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_console.2, ioctl_vt.2, VT_*.2const: Split VT_* from ioctl_console(2)
Alejandro Colomar [Sun, 9 Jun 2024 21:42:15 +0000 (23:42 +0200)] 
ioctl_console.2, ioctl_vt.2, VT_*.2const: Split VT_* from ioctl_console(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoTIOCLINUX.2const: Tweak after split
Alejandro Colomar [Sun, 9 Jun 2024 20:57:52 +0000 (22:57 +0200)] 
TIOCLINUX.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_console.2, TIOCLINUX.2const: Split TIOCLINUX from ioctl_console(2)
Alejandro Colomar [Sun, 9 Jun 2024 20:44:49 +0000 (22:44 +0200)] 
ioctl_console.2, TIOCLINUX.2const: Split TIOCLINUX from ioctl_console(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_console.2: SYNOPSIS: Add section
Alejandro Colomar [Sun, 9 Jun 2024 21:53:21 +0000 (23:53 +0200)] 
ioctl_console.2: SYNOPSIS: Add section

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agosched_setattr.2: Document sched_util_{min,max}
Brian Norris [Thu, 13 Jun 2024 20:46:56 +0000 (13:46 -0700)] 
sched_setattr.2: Document sched_util_{min,max}

Utilization attributes were added in Linux v5.3 via commit a509a7cd7974
("sched/uclamp: Extend sched_setattr() to support utilization
clamping"). Borrow some documentation from there, with a bit of
editorial trimming and augmentation.

The "reset" (-1 / UINT32_MAX) behavior was added in Linux 5.11 via
commit 480a6ca2dc6e ("sched/uclamp: Allow to reset a task uclamp
constraint value").

Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Patrick Bellasi <patrick.bellasi@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Message-ID: <20240613204823.3184609-1-briannorris@chromium.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoman-pages.7: Correct escaping of \~ advice
Brian Norris [Thu, 13 Jun 2024 20:53:27 +0000 (13:53 -0700)] 
man-pages.7: Correct escaping of \~ advice

\e[ti] renders as \[ti] -- using \[ti] in a man page will produce a
literal tilde (~), not a nonbreaking space.

The intention here is to recommend \~, which produces a nonbreaking
space, so we need some more escaping.

Apply bold formatting too, which I believe is in accordance with the
advice in this section.

Fixes: 36f73ba37945 ("man-pages.7: Recommend using \[..] instead of \(.. escapes")
Signed-off-by: Brian Norris <briannorris@chromium.org>
Message-ID: <20240613205329.3240669-1-briannorris@chromium.org>
Cc: "G. Branden Robinson" <branden@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agosched_setattr.2: ERRORS: Break EINVAL into separate blocks
Brian Norris [Wed, 12 Jun 2024 20:44:52 +0000 (13:44 -0700)] 
sched_setattr.2: ERRORS: Break EINVAL into separate blocks

The current EINVAL description has a complex boolean expression, and I'm
planning to add one more condition to it. Let's separate it into
different EINVAL descriptions to make it easier to read.  Tweak the
punctuation a bit too while I'm at it.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Message-ID: <20240612204504.2651521-1-briannorris@chromium.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoshare/mk/: Skip spurious warning from mandoc(1)
Alejandro Colomar [Tue, 11 Jun 2024 22:58:33 +0000 (00:58 +0200)] 
share/mk/: Skip spurious warning from mandoc(1)

$ make lint-man-mandoc
MANDOC .tmp/man/man2/ioctl_eventpoll.2.lint-man.mandoc.touch
mandoc: .tmp/man/man2/ioctl_eventpoll.2:25:2: STYLE: fill mode already disabled, skipping: EX
mandoc: .tmp/man/man2/ioctl_eventpoll.2:35:2: STYLE: fill mode already enabled, skipping: fi
make: *** [/home/alx/src/linux/man-pages/man-pages/contrib/share/mk/lint/man/mandoc.mk:39: .tmp/man/man2/ioctl_eventpoll.2.lint-man.mandoc.touch] Error 1

Link: <https://lists.gnu.org/archive/html/groff/2024-06/msg00010.html>
Cc: Joe Damato <jdamato@fastly.com>
Cc: "G. Branden Robinson" <branden@debian.org>
Cc: Ingo Schwarze <schwarze@openbsd.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_eventpoll.2, EPIOC[GS]PARAMS.2const: New page describing epoll ioctl(2)
Joe Damato [Tue, 11 Jun 2024 21:09:41 +0000 (21:09 +0000)] 
ioctl_eventpoll.2, EPIOC[GS]PARAMS.2const: New page describing epoll ioctl(2)

A new page is added which describes epoll fd ioctls: EPIOCSPARAMS and
EPIOCGPARAMS which allow the user to control epoll-based busy polling.

Also add link pages for EPIOCSPARAMS and EPIOCGPARAMS.

Signed-off-by: Joe Damato <jdamato@fastly.com>
Message-ID: <20240611210941.1791446-2-jdamato@fastly.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoctime.3, tzset.3, tm.3type: Adjust for POSIX, and don't overpromise
Alejandro Colomar [Tue, 11 Jun 2024 22:26:39 +0000 (00:26 +0200)] 
ctime.3, tzset.3, tm.3type: Adjust for POSIX, and don't overpromise

Merge changes from Paul Eggert.

Link: <https://lore.kernel.org/linux-man/d054fc63-6ea4-425b-94ce-14402d448ccf@cs.ucla.edu/T/>
Cc: Paul Eggert <eggert@cs.ucla.edu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agotm.3type: HISTORY: Say when tm_zone, tm_gmtoff standardized
Paul Eggert [Tue, 11 Jun 2024 15:29:15 +0000 (08:29 -0700)] 
tm.3type: HISTORY: Say when tm_zone, tm_gmtoff standardized

Message-ID: <20240611153005.3066-12-eggert@cs.ucla.edu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agotzset.3: STANDARDS: timezone & daylight in POSIX.1-2001
Paul Eggert [Tue, 11 Jun 2024 15:29:14 +0000 (08:29 -0700)] 
tzset.3: STANDARDS: timezone & daylight in POSIX.1-2001

Message-ID: <20240611153005.3066-11-eggert@cs.ucla.edu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoctime.3, tzset.3: Update more POSIX citations and quotes
Paul Eggert [Tue, 11 Jun 2024 15:29:13 +0000 (08:29 -0700)] 
ctime.3, tzset.3: Update more POSIX citations and quotes

Message-ID: <20240611153005.3066-10-eggert@cs.ucla.edu>
Co-developed-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agotm.3type: Update STANDARDS, HISTORY
Paul Eggert [Tue, 11 Jun 2024 15:29:12 +0000 (08:29 -0700)] 
tm.3type: Update STANDARDS, HISTORY

The current standards are C23 and POSIX.1-2024.
This stuff was first standardized in C89 and POSIX.1-1988.

Message-ID: <20240611153005.3066-9-eggert@cs.ucla.edu>
Link: <https://www.reddit.com/r/C_Programming/comments/1ay92d4/latest_working_draft_n3220/?rdt=49226>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agotzset.3: Omit colon in example
Paul Eggert [Tue, 11 Jun 2024 15:29:11 +0000 (08:29 -0700)] 
tzset.3: Omit colon in example

Message-ID: <20240611153005.3066-8-eggert@cs.ucla.edu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agotzset.3: TZ=":EST5" works
Paul Eggert [Tue, 11 Jun 2024 15:29:10 +0000 (08:29 -0700)] 
tzset.3: TZ=":EST5" works

Message-ID: <20240611153005.3066-7-eggert@cs.ucla.edu>
[alx: \fI => .I]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agotzset.3: Use NZ's current rules in example
Paul Eggert [Tue, 11 Jun 2024 15:29:09 +0000 (08:29 -0700)] 
tzset.3: Use NZ's current rules in example

Message-ID: <20240611153005.3066-6-eggert@cs.ucla.edu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agotzset.3: time hh range is now [-167, 167]
Paul Eggert [Tue, 11 Jun 2024 15:29:08 +0000 (08:29 -0700)] 
tzset.3: time hh range is now [-167, 167]

Message-ID: <20240611153005.3066-5-eggert@cs.ucla.edu>
[alx: use mathematical notation for the range, and \fI => .I]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agotzset.3: TZ can also be empty
Paul Eggert [Tue, 11 Jun 2024 15:29:07 +0000 (08:29 -0700)] 
tzset.3: TZ can also be empty

Message-ID: <20240611153005.3066-4-eggert@cs.ucla.edu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agotzset.3: CAVEATS: Recommend tm_gmtoff, tm_zone instead
Paul Eggert [Tue, 11 Jun 2024 15:29:06 +0000 (08:29 -0700)] 
tzset.3: CAVEATS: Recommend tm_gmtoff, tm_zone instead

New section CAVEATS for why time zone state is dicey.

Message-ID: <20240611153005.3066-3-eggert@cs.ucla.edu>
[alx: use .I instead of \fI]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agotzset.3: State vars unspecified if geographical TZ
Paul Eggert [Tue, 11 Jun 2024 15:29:05 +0000 (08:29 -0700)] 
tzset.3: State vars unspecified if geographical TZ

Message-ID: <20240611153005.3066-2-eggert@cs.ucla.edu>
[alx: use em dashes instead of commas]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoctime.3: Simplify coverage of tzname etc.
Paul Eggert [Tue, 11 Jun 2024 15:29:04 +0000 (08:29 -0700)] 
ctime.3: Simplify coverage of tzname etc.

* man/man3/ctime.3: Simplify by referring to tzset(3) for details
about how it sets tzname etc.  This simplifies a later patch,
which changes tzset(3)'s description.

Message-ID: <20240611153005.3066-1-eggert@cs.ucla.edu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoshare/mk/: Skip expected failures
Alejandro Colomar [Tue, 11 Jun 2024 16:56:49 +0000 (18:56 +0200)] 
share/mk/: Skip expected failures

These are all due to long URIs, which are fine.  It's just that groff
can't adjust to both margins.

Link: <https://lore.kernel.org/linux-man/y35l3wyxcjk5tsq4hd5mtqvpor577fmysaufv3gntu5uwsyzrf@wiqk4rbxkm4w/T/#t>
Reported-by: Joe Damato <jdamato@fastly.com>
Reported-by: "G. Branden Robinson" <branden@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoaddress_families.7: Add break-point in long URI
Alejandro Colomar [Tue, 11 Jun 2024 16:51:56 +0000 (18:51 +0200)] 
address_families.7: Add break-point in long URI

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoshare/mk/: TROFFFLAGS: -rU0: Disable generation of OSC 8 URI hyperlinks
Alejandro Colomar [Tue, 11 Jun 2024 16:44:51 +0000 (18:44 +0200)] 
share/mk/: TROFFFLAGS: -rU0: Disable generation of OSC 8 URI hyperlinks

This is the default in groff-1.23.0.  However, some distros turn it on,
which silenced some warnings.

Link: <https://lore.kernel.org/linux-man/y35l3wyxcjk5tsq4hd5mtqvpor577fmysaufv3gntu5uwsyzrf@wiqk4rbxkm4w/T/#m569eab0d60420fdeac9e48bf237712f18ea91c4e>
Suggested-by: "G. Branden Robinson" <branden@debian.org>
Cc: Joe Damato <jdamato@fastly.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoPR_*.2const: SYNOPSIS: Some of these calls don't need all args
Alejandro Colomar [Sat, 1 Jun 2024 23:28:26 +0000 (01:28 +0200)] 
PR_*.2const: SYNOPSIS: Some of these calls don't need all args

Some prctl()s just ignore unused parameters.  Users don't need to
specify them all.

Fixes: 2534dc7ad5e9 ("prctl.2, PR_*.2const: Make sashimi")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoprctl.2, PR_*.2const: SYNOPSIS: #include <linux/prctl.h> for the PR_* constants
Alejandro Colomar [Fri, 31 May 2024 19:47:29 +0000 (21:47 +0200)] 
prctl.2, PR_*.2const: SYNOPSIS: #include <linux/prctl.h> for the PR_* constants

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoprctl.2: CAVEATS: Document the necessity of using the 'L' suffix
Alejandro Colomar [Fri, 31 May 2024 19:31:33 +0000 (21:31 +0200)] 
prctl.2: CAVEATS: Document the necessity of using the 'L' suffix

Link: <https://lore.kernel.org/linux-man/ddbdyaiptesjalgfmztxideej67e3yaob7ucsmbf6qvriwxiif@dohhxrqgwhrf/T/#med306b5b003f9cc7cc2de69fcdd7ee2d056d0954>
Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoioctl_iflags.2: Document FS_APPEND_FL ('a') on directories
наб [Fri, 31 May 2024 18:11:17 +0000 (20:11 +0200)] 
ioctl_iflags.2: Document FS_APPEND_FL ('a') on directories

For some reason, neither chattr(1) nor this page document it;
this is supported by all tested filesystems (ext4, tmpfs, ZFS).

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Message-ID: <vzoykfmkokepn2gq3nqb2vvlbim32vky3vnac2x2avmkyzcdez@tarta.nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoopen_by_handle_at.2: Correct the name of the FreeBSD equivalent
Christoph Hellwig [Mon, 27 May 2024 11:38:00 +0000 (13:38 +0200)] 
open_by_handle_at.2: Correct the name of the FreeBSD equivalent

The open_by_handle_at equivalent in FreeBSD is called fhopen, not
openfh.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Message-ID: <20240527113800.1098633-1-hch@lst.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoPR_SET_KEEPCAPS.2const: Use 0L and 1L for arguments to prctl(2)
Alejandro Colomar [Fri, 31 May 2024 16:36:02 +0000 (18:36 +0200)] 
PR_SET_KEEPCAPS.2const: Use 0L and 1L for arguments to prctl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoprctl.2, PR_*.2const: Make sashimi
Alejandro Colomar [Fri, 31 May 2024 15:51:29 +0000 (17:51 +0200)] 
prctl.2, PR_*.2const: Make sashimi

prctl(2) was a huge page, which was quite hard to maintain, extend,
read, and refer to.  Split the page into small pages for the different
operations.  Some operations have suboperations, and some of them have
also been split into one page for each suboperation.

This change introduces a new sub-chapter: '2const'.

The new pages have the name of the constants for the operations, and
they're placed in 2const accordingly.

The prctl(2) page now describes the system call itself, without details
of each operation.  Errors and details common to all operations are
described in this page, while errors and other details of each operation
are described in the page for the operation.

While doing this splitting, some mistakes have been silently fixed.  The
most notable one being that 0L must be passed to this call (and in
general, integers of 'long' width), due to how variadic argument lists
work in C.

Also, the prototypes of the operations now show the specific arguments
that these calls expect, even if the actual prototype has a variadic
argument list.  Where a specific value is expected, such as 0L or 1L,
that specific value is shown.

Link: <https://lore.kernel.org/linux-man/ddbdyaiptesjalgfmztxideej67e3yaob7ucsmbf6qvriwxiif@dohhxrqgwhrf/T/#med306b5b003f9cc7cc2de69fcdd7ee2d056d0954>
Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoshare/mk/: Skip expected failures
Alejandro Colomar [Fri, 31 May 2024 16:04:51 +0000 (18:04 +0200)] 
share/mk/: Skip expected failures

The SEE ALSO section of prctl(2) is problematic.  MR will fix that; for
now, let's skip the errors.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoprctl.2: Tweak after making sashimi of this page
Alejandro Colomar [Fri, 31 May 2024 15:50:57 +0000 (17:50 +0200)] 
prctl.2: Tweak after making sashimi of this page

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoPR_GET_MDWE.2const: Tweak after split
Alejandro Colomar [Fri, 31 May 2024 15:46:47 +0000 (17:46 +0200)] 
PR_GET_MDWE.2const: Tweak after split

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoprctl.2, PR_GET_MDWE.2const: Split PR_GET_MDWE from prctl(2)
Alejandro Colomar [Fri, 31 May 2024 15:44:19 +0000 (17:44 +0200)] 
prctl.2, PR_GET_MDWE.2const: Split PR_GET_MDWE from prctl(2)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
14 months agoPR_SET_MDWE.2const: Tweak after split
Alejandro Colomar [Fri, 31 May 2024 15:32:55 +0000 (17:32 +0200)] 
PR_SET_MDWE.2const: Tweak after split

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