zephyr/kernel
Flavio Ceolin 585d90f8fc kernel: Fix k_stack_alloc_init behavior
The implementation of this syscall can return either 0 or -ENOMEM, but
when USERSPACE is enabled and it is called through syscall it always
return 0.

Just change this syscall implementation to return the value of
_impl_k_stack_alloc_init

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2018-09-13 13:20:13 -04:00
..
include sched: Properly account for timeslicing in tickless mode 2018-08-29 10:01:41 -04:00
alert.c
atomic_c.c
CMakeLists.txt
compiler_stack_protect.c
device.c
errno.c
idle.c
init.c Revert "kernel: Enable interrupts for MULTITHREADING=n on supported arch's" 2018-09-06 13:09:26 -04:00
int_latency_bench.c
Kconfig
Kconfig.power_mgmt doc: fix kconfig misspellings 2018-08-28 13:58:46 -04:00
mailbox.c
mem_domain.c
mem_slab.c
mempool.c
msg_q.c
mutex.c
pipes.c kernel: pipes: fix k_pipe_block_put() when not enough space 2018-08-29 15:57:28 -04:00
poll.c kernel: Add missing break/default in switch statement 2018-09-12 10:05:06 -04:00
queue.c kernel: k_poll: Introduce separate status for cancelled events 2018-08-30 09:28:29 -04:00
sched.c tracing: remove stray event_logger code 2018-09-05 16:05:08 -04:00
sem.c tracing: remove stray event_logger code 2018-09-05 16:05:08 -04:00
smp.c
stack.c kernel: Fix k_stack_alloc_init behavior 2018-09-13 13:20:13 -04:00
sys_clock.c
system_work_q.c
thread_abort.c
thread.c
timer.c
userspace_handler.c
userspace.c kernel: userspace: Sanitize switch usage 2018-09-12 10:05:06 -04:00
version.c
work_q.c