aboutsummaryrefslogtreecommitdiff
path: root/pk/syscall.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2014-10-26 19:36:28 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2014-10-26 19:36:28 -0700
commitfda0d85ae4596262d1da642593676e0f3cf3f0f1 (patch)
tree0725f2bd71cd1bbb7912de74f519a025a4703245 /pk/syscall.h
parent90e64853188620e02a02727ff050e5014cbc2528 (diff)
downloadpk-fda0d85ae4596262d1da642593676e0f3cf3f0f1.zip
pk-fda0d85ae4596262d1da642593676e0f3cf3f0f1.tar.gz
pk-fda0d85ae4596262d1da642593676e0f3cf3f0f1.tar.bz2
Don't rely on the C library
Diffstat (limited to 'pk/syscall.h')
-rw-r--r--pk/syscall.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pk/syscall.h b/pk/syscall.h
index 79c4eb1..a9fc3c8 100644
--- a/pk/syscall.h
+++ b/pk/syscall.h
@@ -46,12 +46,13 @@
#define SYS_getdents 61
#define SYS_dup 23
#define SYS_readlinkat 78
+#define SYS_rt_sigprocmask 135
#define IS_ERR_VALUE(x) ((unsigned long)(x) >= (unsigned long)-4096)
#define ERR_PTR(x) ((void*)(long)(x))
#define PTR_ERR(x) ((long)(x))
void sys_exit(int code) __attribute__((noreturn));
-long syscall(long a0, long a1, long a2, long a3, long a4, long a5, long n);
+long do_syscall(long a0, long a1, long a2, long a3, long a4, long a5, long n);
#endif