zephyr/kernel/include
Andrew Boie 74f114caef userspace: easy checking for specific driver
In general driver system calls are implemented at a subsystem
layer. However, some drivers may have capabilities specific to
the hardware not covered by the subsystem API. Such drivers may
want to define their own system calls.

This macro makes it simple to validate in the driver-specific
system call handlers that not only does the untrusted device
pointer correspond to the expected subsystem, initialization
state, and caller permissions, but also that the device object
is an instance of a specific driver (and not just any driver in
that subsystem).

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2018-12-27 20:31:58 -05:00
..
gen_offset.h headers: Fix headers guards 2018-09-17 15:49:26 -04:00
kernel_internal.h kernel: expose k_busy_wait() to user mode 2018-11-15 16:20:36 -05:00
kernel_offsets.h kernel: Remove duplicated identifier 2018-11-04 11:37:24 -05:00
kernel_structs.h kernel: Remove duplicated identifier 2018-11-04 11:37:24 -05:00
ksched.h kernel: Use distinct macro names 2018-10-31 19:43:47 -04:00
kswap.h subsys: debug: tracing: Fix thread tracing 2018-10-29 22:09:12 -04:00
offsets_short.h headers: Fix headers guards 2018-09-17 15:49:26 -04:00
syscall_handler.h userspace: easy checking for specific driver 2018-12-27 20:31:58 -05:00
timeout_q.h kernel: Always set clock expiry with sync with timeout module 2018-11-26 12:24:59 +01:00
wait_q.h kernel/include: Move stubs for timeout functions to their declarations 2018-10-16 15:03:10 -04:00