]> git.baikalelectronics.ru Git - kernel.git/commit
tools/nolibc/stdlib: make raise() use the lower level syscalls only
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Feb 2022 16:23:38 +0000 (17:23 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 21 Apr 2022 00:05:44 +0000 (17:05 -0700)
commit52de784e51112c7dc79e6165e77f8dd8a5c7f829
treecd4a90a4d7d25bd557207e80a093f1f3b756e082
parent59951b49b90069e622c5b9f00b40ef5a7fc5b0ae
tools/nolibc/stdlib: make raise() use the lower level syscalls only

raise() doesn't set errno, so there's no point calling kill(), better
call sys_kill(), which also reduces the function's size.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/stdlib.h