projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7666d
)
acall: move syscall nr limit up
syslet
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 27 Nov 2008 15:03:16 +0000
(16:03 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 27 Nov 2008 15:03:16 +0000
(16:03 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
kernel/acall.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/acall.c
b/kernel/acall.c
index 4acc37857d07fc2973cd71f04f49974dcfa02ad3..ef698c0c40473f822d542591dfe2f7d6adb061a5 100644
(file)
--- a/
kernel/acall.c
+++ b/
kernel/acall.c
@@
-140,7
+140,12
@@
static long call_syscall(struct acall_submission *sub)
long);
extern syscall_fn_t sys_call_table[];
- if (sub->nr >= 290) /* hee, x86-64 */
+ /*
+ * Obviously this needs some real way of checking for a valid
+ * syscall number. Aditionally, we also want to do some syscalls
+ * always sync
+ */
+ if (sub->nr >= 295) /* hee, x86-64 */
return -ENOSYS;
else
return sys_call_table[sub->nr](sub->args[0], sub->args[1],