lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aLq6nRzW-KgSZ7yG@valkosipuli.retiisi.eu>
Date: Fri, 5 Sep 2025 13:25:33 +0300
From: Sakari Ailus <sakari.ailus@....fi>
To: linux-doc@...r.kernel.org, Jonathan Corbet <corbet@....net>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Madhavan Srinivasan <maddy@...ux.ibm.com>,
	Haren Myneni <haren@...ux.ibm.com>,
	Bagas Sanjaya <bagasdotme@...il.com>,
	Andrew Donnellan <ajd@...ux.ibm.com>,
	Michael Ellerman <mpe@...erman.id.au>,
	Akshay Gupta <akshay.gupta@....com>, linux-kernel@...r.kernel.org,
	linux-media@...r.kernel.org, hans@...erkuil.nl,
	laurent.pinchart@...asonboard.com,
	Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
	Lee Jones <lee@...nel.org>
Subject: Re: [PATCH v2 0/3] Document Media Controller IOCTL number assignments

Hi Jonathan, Greg, Miguel, others,

On Tue, May 27, 2025 at 08:56:45AM +0300, Sakari Ailus wrote:
> Hello all,
> 
> The Media Controller uses IOCTL numbers with '|' type up to 0x81 but the
> range from 0x80 upwards is documented to belong to samples. The samples,
> however, are currently using these values. Solve the problem by bumping
> the top of the MC range and the samples allocation by 0x10 as the samples
> don't require a stable IOCTL interface.

Could you comment on this, please?

I'd prefer to merge this via the media tree if that's ok.

> 
> since v1:
> 
> - Improved the commit message in the first patch.
> 
> - Added a patch to change the IOCTLs also in the Rust sample.
> 
> Sakari Ailus (3):
>   Documentation: Bump media IOCTL reserved numbers
>   media: uapi: Document IOCTL number assignment
>   samples: rust_misc_device: Bump IOCTL numbers
> 
>  Documentation/userspace-api/ioctl/ioctl-number.rst |  4 ++--
>  include/uapi/linux/media.h                         |  4 ++++
>  samples/rust/rust_misc_device.rs                   | 14 +++++++-------
>  3 files changed, 13 insertions(+), 9 deletions(-)
> 

-- 
Kind regards,

Sakari Ailus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ