On 2025-07-16 09:17, Oliver Neukum wrote:
Understood. It still seems dirty to me. If you want to send strings to a
device
the proper way is to use a device node and write().
There is definitely something to be said for that; or at least a file
descriptor. We do have cases in the kernel -- notably opening the pts
corresponding to a ptmx file descriptor -- that do that sort of
"auxiliary open" kind of thing.
The big question is how that interacts with the rest of the ACM driver,
as well as all the lifetime issues you mentioned elsewhere.