Re: [PATCH] Documentation: ioctl: document 0x07 ioctl code

From: Randy Dunlap
Date: Thu Jul 25 2024 - 16:28:24 EST




On 7/25/24 10:11 AM, Alyssa Ross wrote:
> It looks like this was supposed to be documented when VSOCK was
> added[1], but it got lost in later submissions.
>
> Link: https://lore.kernel.org/20130109000024.3719.71468.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/#Z31Documentation:ioctl:ioctl-number.txt [1]
> Fixes: d021c344051a ("VSOCK: Introduce VM Sockets")
> Signed-off-by: Alyssa Ross <hi@xxxxxxxxx>

Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> ---
> Documentation/userspace-api/ioctl/ioctl-number.rst | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/userspace-api/ioctl/ioctl-number.rst b/Documentation/userspace-api/ioctl/ioctl-number.rst
> index e91c0376ee59..217bdc76fe56 100644
> --- a/Documentation/userspace-api/ioctl/ioctl-number.rst
> +++ b/Documentation/userspace-api/ioctl/ioctl-number.rst
> @@ -78,6 +78,7 @@ Code Seq# Include File Comments
> 0x03 all linux/hdreg.h
> 0x04 D2-DC linux/umsdos_fs.h Dead since 2.6.11, but don't reuse these.
> 0x06 all linux/lp.h
> +0x07 9F-D0 linux/vmw_vmci_defs.h, uapi/linux/vm_sockets.h
> 0x09 all linux/raid/md_u.h
> 0x10 00-0F drivers/char/s390/vmcp.h
> 0x10 10-1F arch/s390/include/uapi/sclp_ctl.h
>
> base-commit: c33ffdb70cc6df4105160f991288e7d2567d7ffa

--
~Randy