global cleanup to use the new syscall interface

This commit is contained in:
Rich Felker
2011-03-20 00:16:43 -04:00
parent be82e122bf
commit aa398f56fa
160 changed files with 180 additions and 238 deletions

View File

@ -10,9 +10,9 @@ int raise(int sig)
sigset_t set;
sigfillset(&set);
__sigprocmask(SIG_BLOCK, &set, &set);
tid = syscall0(__NR_gettid);
pid = syscall0(__NR_getpid);
ret = syscall3(__NR_tgkill, pid, tid, sig);
tid = syscall(SYS_gettid);
pid = syscall(SYS_getpid);
ret = syscall(SYS_tgkill, pid, tid, sig);
__sigprocmask(SIG_SETMASK, &set, 0);
return ret;
}