fix some bugs in setxid and update setrlimit to use __synccall
[musl] / src / signal / restore.c