summaryrefslogtreecommitdiff
path: root/tools/include/nolibc/sys/wait.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-04-14 17:13:09 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2026-04-14 17:13:09 -0700
commitee60c510fb3468ec6fab98419218c4e7b37e2ca3 (patch)
treea7748768691d1accaf7e2c4522df58a7c8bf969d /tools/include/nolibc/sys/wait.h
parent3203a08c1266689c204fb8f10d6bb5186921fce2 (diff)
parentb070dc36291fec966ad915f80a4f239b5c70c290 (diff)
Merge tag 'nolibc-20260412-for-7.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc
Pull nolibc updates from Thomas Weißschuh: - Many new features and optimizations to printf() - Rename non-standard symbols to avoid collisions with application code - Support for byteswap.h, endian.h, err.h and asprintf() - 64-bit dev_t - Smaller cleanups and fixes to the code and build system * tag 'nolibc-20260412-for-7.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc: (61 commits) selftests/nolibc: use gcc 15 tools/nolibc: support UBSAN on gcc tools/nolibc: create __nolibc_no_sanitize_ubsan selftests/nolibc: don't skip tests for unimplemented syscalls anymore selftests/nolibc: explicitly handle ENOSYS from ptrace() tools/nolibc: add byteorder conversions tools/nolibc: add the _syscall() macro tools/nolibc: move the call to __sysret() into syscall() tools/nolibc: rename the internal macros used in syscall() selftests/nolibc: only use libgcc when really necessary selftests/nolibc: test the memory allocator tools/nolibc: check for overflow in calloc() without divisions tools/nolibc: add support for asprintf() tools/nolibc: use __builtin_offsetof() tools/nolibc: use makedev() in fstatat() tools/nolibc: handle all major and minor numbers in makedev() and friends tools/nolibc: make dev_t 64 bits wide tools/nolibc: move the logic of makedev() and friends into functions selftests/nolibc: add a test for stat().st_rdev selftests/nolibc: add some tests for makedev() and friends ...
Diffstat (limited to 'tools/include/nolibc/sys/wait.h')
-rw-r--r--tools/include/nolibc/sys/wait.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/include/nolibc/sys/wait.h b/tools/include/nolibc/sys/wait.h
index 9d9319ba92cb..7a1feb2b66fc 100644
--- a/tools/include/nolibc/sys/wait.h
+++ b/tools/include/nolibc/sys/wait.h
@@ -21,15 +21,15 @@
*/
static __attribute__((unused))
-int sys_waitid(int which, pid_t pid, siginfo_t *infop, int options, struct rusage *rusage)
+int _sys_waitid(int which, pid_t pid, siginfo_t *infop, int options, struct rusage *rusage)
{
- return my_syscall5(__NR_waitid, which, pid, infop, options, rusage);
+ return __nolibc_syscall5(__NR_waitid, which, pid, infop, options, rusage);
}
static __attribute__((unused))
int waitid(int which, pid_t pid, siginfo_t *infop, int options)
{
- return __sysret(sys_waitid(which, pid, infop, options, NULL));
+ return __sysret(_sys_waitid(which, pid, infop, options, NULL));
}