Re: [PATCH 1/2] misc: Add Nitro Secure Module driver

From: Alexander Graf
Date: Fri Sep 29 2023 - 06:46:02 EST



On 29.09.23 07:45, Greg Kroah-Hartman wrote:

On Thu, Sep 28, 2023 at 10:46:44PM +0000, Alexander Graf wrote:
+/* Register this as a misc driver */
+#define NSM_DEV_NAME "nsm"
+#define NSM_IOCTL_MAGIC 0x0A
+#define NSM_IO_REQUEST _IOWR(NSM_IOCTL_MAGIC, 0, struct nsm_message)
You have an ioctl for this driver, yet no include/uapi/ file for it?
How is userspace supposed to know about this and use it?


D'oh. Will fix :). Thanks!


Alex





Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879