|
|
@@ -54,27 +54,6 @@ asmlinkage int old_mmap(struct mmap_arg_struct __user *arg)
|
|
|
return error;
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
- * Perform the select(nd, in, out, ex, tv) and mmap() system
|
|
|
- * calls.
|
|
|
- */
|
|
|
-
|
|
|
-struct sel_arg_struct {
|
|
|
- unsigned long n;
|
|
|
- fd_set __user *inp, *outp, *exp;
|
|
|
- struct timeval __user *tvp;
|
|
|
-};
|
|
|
-
|
|
|
-asmlinkage int old_select(struct sel_arg_struct __user *arg)
|
|
|
-{
|
|
|
- struct sel_arg_struct a;
|
|
|
-
|
|
|
- if (copy_from_user(&a, arg, sizeof(a)))
|
|
|
- return -EFAULT;
|
|
|
- /* sys_select() does the appropriate kernel locking */
|
|
|
- return sys_select(a.n, a.inp, a.outp, a.exp, a.tvp);
|
|
|
-}
|
|
|
-
|
|
|
#if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT)
|
|
|
/*
|
|
|
* sys_ipc() is the de-multiplexer for the SysV IPC calls..
|