zephyr/include
Andrew Boie 378024c510 userspace: add z_is_in_user_syscall()
Certain types of system call validation may need to be pushed
deeper in the implementation and not performed in the verification
function. If such checks are only pertinent when the caller was
from user mode, we need an API to detect this situation.

This is implemented by having thread->syscall_frame be non-NULL
only while a user system call is in progress. The template for the
system call marshalling functions is changed to clear this value
on exit.

A test is added to prove that this works.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-06-03 22:33:32 +02:00
..
app_memory
arch x86: 32-bit: allow direct ISRs only with !KPTI 2020-05-29 10:46:00 +02:00
audio drivers: audio: Port to the new timeout API 2020-05-07 11:01:55 +02:00
bluetooth Bluetooth: GATT: correct callback return value documentation 2020-06-01 20:03:25 +02:00
canbus canbus: canopen: add program download support 2020-05-08 10:53:42 +02:00
cmsis_rtos_v1
cmsis_rtos_v2
console documentation: fix wrong recommendation for millisecond timeouts 2020-04-30 18:26:26 +02:00
crypto docs: crypto: crypto API documentation 2020-03-14 13:01:03 -04:00
data
debug debug: thread_analyzer: Implement thread analyzer 2020-04-28 09:11:13 -04:00
devicetree devicetree.h: pwms: Add DT_ macros for retrieving pwm period 2020-05-29 14:48:12 +02:00
dfu dfu: use stream_flash in flash_img 2020-05-06 11:14:00 +02:00
disk doc: reference: Add disk access API 2020-03-18 11:47:24 +01:00
display timeouts: Port BBC micro:bit to the new timeout API 2020-05-07 11:01:55 +02:00
drivers gpio: Fix header comments 2020-05-29 10:42:07 +02:00
dt-bindings dts: x86: configure different IO APIC delivery modes for various devices 2020-05-08 22:32:39 -04:00
fs fs: littlefs: force alignment for buffers 2020-04-11 15:33:35 -04:00
linker devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
logging logging: Replace MACRO_MAP with FOR_EACH 2020-05-06 14:30:18 +02:00
mgmt mgmt: smp: add UDP transport for SMP 2020-04-17 10:16:25 +03:00
net device: Rephrase data parameter documentation 2020-05-29 10:42:07 +02:00
posix net: socket: syscall for socketpair(2) 2020-05-10 17:46:43 +02:00
power power: add system power management direct force mode. 2020-01-24 21:37:40 -05:00
random doc: doxygen: add missing groups and categorise 2020-03-14 13:01:03 -04:00
settings settings: add const qualifier for unmodified data source 2020-05-07 10:51:49 +02:00
shell shell: Refactor command execution to enable raw arguments 2020-05-07 23:47:39 -05:00
stats
storage include/storage/steram_flash: update buffer size requirements 2020-05-26 16:35:19 +02:00
sys include: sys: time_units: fix 32-bit near conversion for overflow 2020-06-03 01:49:42 +02:00
toolchain toolchain: Fix warning about too few arguments on BUILD_ASSERT() 2020-04-11 11:09:20 -04:00
tracing tracing: move headers under include/tracing 2020-02-07 15:58:05 -05:00
usb usb: Add USB audio implementation 2020-05-08 15:12:27 +02:00
zephyr
cache.h
device.h device: Rephrase data parameter documentation 2020-05-29 10:42:07 +02:00
devicetree.h doc: dts: simplify DT_INST documentation 2020-05-26 22:32:34 +02:00
exc_handle.h
fatal.h
generated_dts_board.h
init.h device: Refactor device structures 2020-05-08 23:07:44 +02:00
irq_nextlevel.h
irq_offload.h
irq.h irq: Remove return value from IRQ_CONNECT and IRQ_DIRECT_CONNECT 2020-04-17 13:19:07 -05:00
kernel_includes.h kernel: move thread stack macros to new header 2020-04-21 18:45:45 -04:00
kernel_structs.h kernel: remove legacy fields in _kernel 2020-05-08 17:42:49 +02:00
kernel_version.h
kernel.h kernel: fix k_object_free() spelling 2020-06-03 22:33:32 +02:00
mempool_heap.h kernel: Add k_mem_pool compatibility layer on top of k_heap 2020-04-14 10:05:55 -07:00
mempool_sys.h kernel: Refactor k_mem_pool APIs into a base and derived level 2020-04-14 10:05:55 -07:00
ptp_clock.h scripts: Replace hard-coded subsystem list with __subsystem annotations. 2020-03-11 17:13:39 +02:00
sched_priq.h
shared_irq.h
spinlock.h include: Add documentation for spinlocks 2020-05-08 10:46:44 +02:00
sw_isr_table.h sw_isr_table.h: fix __COUNTER__ usage 2020-04-17 18:28:37 +02:00
sys_clock.h timeout: correct non-legacy legacy timeout API 2020-06-02 15:21:45 +02:00
syscall_handler.h userspace: add z_is_in_user_syscall() 2020-06-03 22:33:32 +02:00
syscall.h
timeout_q.h kernel/timeout: Add timeout remaining/expires APIs 2020-03-31 19:40:47 -04:00
toolchain.h
wait_q.h
zephyr.h