zephyr/kernel
Andrew Boie 64c8189ab0 userspace: fix bad ssf pointer on bad/no syscall
This was passing along _current->ssf, but these types of bad
syscalls do not go through the z_mrsh mechanism and was
passing stale data.

We have the syscall stack frame already as an argument,
propagate that so it works properly.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-06-03 22:33:32 +02:00
..
include kernel: simplify dummy thread implementation 2020-05-13 21:23:52 +02:00
atomic_c.c kernel: Add k_heap synchronized memory allocator 2020-04-14 10:05:55 -07:00
CMakeLists.txt kernel: Add k_mem_pool compatibility layer on top of k_heap 2020-04-14 10:05:55 -07:00
compiler_stack_protect.c
device.c device_pm: correct nop documented behavior 2020-05-21 20:32:12 +02:00
errno.c
fatal.c
futex.c kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
idle.c
init.c kernel: simplify dummy thread implementation 2020-05-13 21:23:52 +02:00
Kconfig kernel/Kconfig: Add prompt for CONFIG_TIMEOUT_64BIT 2020-05-06 06:05:03 -04:00
Kconfig.power_mgmt
kheap.c kernel: Add k_mem_pool compatibility layer on top of k_heap 2020-04-14 10:05:55 -07:00
mailbox.c kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
mem_domain.c
mem_slab.c kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
mempool_sys.c kernel: Refactor k_mem_pool APIs into a base and derived level 2020-04-14 10:05:55 -07:00
mempool.c kernel: Refactor k_mem_pool APIs into a base and derived level 2020-04-14 10:05:55 -07:00
msg_q.c kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
mutex.c kernek: don't allow mutex ops in ISRs 2020-05-28 01:38:05 +02:00
pipes.c kernel: pipe: read_avail / write_avail syscalls 2020-05-07 19:39:53 +02:00
poll.c kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
queue.c kernel/queue: Remove interior use of k_poll() 2020-06-03 01:47:41 +02:00
sched.c kernel: fix issue with k_thread_join() timeouts 2020-05-05 11:43:08 -07:00
sem.c kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
smp.c kernel: simplify dummy thread implementation 2020-05-13 21:23:52 +02:00
stack.c kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
system_work_q.c
thread_abort.c
thread.c kernel: wipe TLS before dropping to user mode 2020-05-13 22:02:48 +02:00
timeout.c kernel/timeout: Check for K_FOREVER in z_add_timeout() 2020-04-22 11:10:17 -07:00
timer.c kernel/timer: Handle K_FOREVER in k_timer_start() 2020-05-29 19:59:14 +02:00
userspace_handler.c
userspace.c userspace: fix bad ssf pointer on bad/no syscall 2020-06-03 22:33:32 +02:00
version.c
work_q.c kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00