walnux/libs/libc/stdlib
Ville Juven df1d7dd480 libc/exit: Purge calls to userspace API exit() from kernel
Remove calls to the userspace API exit() from the kernel. The problem
with doing such calls is that the exit functions are called with kernel
mode privileges which is a big security no-no.
2023-02-17 23:07:17 +08:00
..
Kconfig libc: Implement exit, atexit, on_exit and cxa_exit on the user side 2022-05-25 15:28:43 +08:00
lib_abort.c libc: abort should always call exit not pthread_exit 2023-01-25 14:31:37 +02:00
lib_abs.c
lib_aligned_alloc.c add #undef for some libc function 2021-07-14 15:09:58 -03:00
lib_atexit.c libc: Move on_exit and __cxa_atexit in lib_atexit.c 2023-01-25 14:31:37 +02:00
lib_atof.c
lib_atoi.c add #undef for some libc function 2021-07-14 15:09:58 -03:00
lib_atol.c add #undef for some libc function 2021-07-14 15:09:58 -03:00
lib_atoll.c
lib_bsearch.c
lib_checkbase.c
lib_div.c Fix various typos in comments and documentation 2021-07-04 11:23:26 -05:00
lib_exit.c libc/exit: Purge calls to userspace API exit() from kernel 2023-02-17 23:07:17 +08:00
lib_getprogname.c libc: Add getprogname function 2021-12-15 10:47:56 -06:00
lib_itoa.c
lib_labs.c
lib_ldiv.c Fix various typos in comments and documentation 2021-07-04 11:23:26 -05:00
lib_llabs.c
lib_lldiv.c Fix various typos in comments and documentation 2021-07-04 11:23:26 -05:00
lib_mblen.c libc/wchar: remove unnecessary config 2022-07-27 00:36:49 +08:00
lib_mbstowcs.c libc/wchar: remove unnecessary config 2022-07-27 00:36:49 +08:00
lib_mbtowc.c libc/wchar: support wchar 2022-07-27 00:36:49 +08:00
lib_mkdtemp.c
lib_mkstemp.c
lib_mktemp.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
lib_openpty.c libc: posix_openpty should use the absolute path("dev/ptmx") 2022-02-14 08:43:05 +09:00
lib_posix_memalign.c add #undef for some libc function 2021-07-14 15:09:58 -03:00
lib_ptsname.c libc/pty: Make ptsname[_r] support PSEUDOTERM_BSD config too 2021-05-07 16:35:20 -03:00
lib_ptsnamer.c libc/pty: Make ptsname[_r] support PSEUDOTERM_BSD config too 2021-05-07 16:35:20 -03:00
lib_qsort.c Remove the remain MIN/MAX like macro 2023-02-03 23:22:41 +08:00
lib_rand.c
lib_rand48.c stdlib: generate uniformly distributed pseudo-random numbers 2023-01-04 20:53:05 +08:00
lib_realpath.c libc: Don't duplicate string in chdir and lib_restoredir 2022-04-18 10:36:36 +03:00
lib_srand.c Rename LIB_ to LIBC_ for all libc Kconfig 2021-08-05 19:45:24 +02:00
lib_strtol.c libs: Gregory Nutt: update licenses to Apache 2021-04-02 11:12:25 -05:00
lib_strtold.c fix some bug of strtold 2023-02-10 22:45:24 +08:00
lib_strtoll.c
lib_strtoul.c
lib_strtoull.c
lib_unlockpt.c
lib_valloc.c add #undef for some libc function 2021-07-14 15:09:58 -03:00
lib_wcstombs.c libc/wchar: remove unnecessary config 2022-07-27 00:36:49 +08:00
lib_wctomb.c libc/wchar: support wchar 2022-07-27 00:36:49 +08:00
Make.defs libc: Move on_exit and __cxa_atexit in lib_atexit.c 2023-01-25 14:31:37 +02:00