diff options
author | Andrew Waterman <waterman@eecs.berkeley.edu> | 2015-01-26 18:21:26 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@eecs.berkeley.edu> | 2015-01-26 18:22:13 -0800 |
commit | d05359c14e60295b7c90337a5d8004efe814813e (patch) | |
tree | 727e639f0804f2abe08b01c6efd9608e5d29847f /pk/syscall.h | |
parent | 0a81fd3a93ad9eaebae17b207c0048bf5fda1aa2 (diff) | |
download | pk-d05359c14e60295b7c90337a5d8004efe814813e.zip pk-d05359c14e60295b7c90337a5d8004efe814813e.tar.gz pk-d05359c14e60295b7c90337a5d8004efe814813e.tar.bz2 |
return -ENOSYS for ioctl, rather than aborting
Diffstat (limited to 'pk/syscall.h')
-rw-r--r-- | pk/syscall.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pk/syscall.h b/pk/syscall.h index e071785..6632bc9 100644 --- a/pk/syscall.h +++ b/pk/syscall.h @@ -50,6 +50,7 @@ #define SYS_dup 23 #define SYS_readlinkat 78 #define SYS_rt_sigprocmask 135 +#define SYS_ioctl 29 #define IS_ERR_VALUE(x) ((unsigned long)(x) >= (unsigned long)-4096) #define ERR_PTR(x) ((void*)(long)(x)) |