libc: add dummy symbols for the Rust std library

Add dummies for sigaltstack(3) and FreeBSD's _umtx_op(2).

Ref #4824
This commit is contained in:
Benjamin Lamowski 2023-04-24 11:21:04 +02:00 committed by Christian Helmuth
parent 0c70e9e8df
commit 70644186c1
2 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,7 @@ _Exit T
_exit T
_getlong T
_getshort T
_umtx_op T
a64l T
abort T
abs T
@ -703,6 +704,7 @@ setvbuf T
shutdown T
sigaction W
sigaddset T
sigaltstack T
sigblock T
sigdelset T
sigemptyset T

View File

@ -130,6 +130,7 @@ DUMMY(int , -1, sched_setscheduler, (pid_t, int, const sched_param *))
DUMMY(int , -1, sched_yield, (void))
DUMMY(int , -1, __semctl, (void))
DUMMY_SILENT(sig_t, SIG_ERR, signal, (int, sig_t));
DUMMY_SILENT(int , -1, sigaltstack, (const stack_t *, stack_t *))
DUMMY(int , -1, setegid, (uid_t))
DUMMY(int , -1, seteuid, (uid_t))
DUMMY(int , -1, setgid, (gid_t))
@ -147,6 +148,7 @@ DUMMY_SILENT(mode_t, 0, umask, (mode_t))
DUMMY(int , 0, utimes, (const char *, const timeval *))
DUMMY(int, -1, semget, (key_t, int, int))
DUMMY(int, -1, semop, (key_t, int, int))
DUMMY(int , -1, _umtx_op, (void *, int , u_long, void *, void *))
__SYS_DUMMY(int, -1, aio_suspend, (const struct aiocb * const[], int, const struct timespec *));
__SYS_DUMMY(int , -1, getfsstat, (struct statfs *, long, int))
__SYS_DUMMY(int, -1, kevent, (int, const struct kevent*, int, struct kevent *, int, const struct timespec*));