|
@@ -149,22 +149,6 @@ long sys_olduname(struct oldold_utsname __user * name)
|
|
|
return error;
|
|
|
}
|
|
|
|
|
|
-DEFINE_SPINLOCK(syscall_lock);
|
|
|
-
|
|
|
-static int syscall_index = 0;
|
|
|
-
|
|
|
-int next_syscall_index(int limit)
|
|
|
-{
|
|
|
- int ret;
|
|
|
-
|
|
|
- spin_lock(&syscall_lock);
|
|
|
- ret = syscall_index;
|
|
|
- if(++syscall_index == limit)
|
|
|
- syscall_index = 0;
|
|
|
- spin_unlock(&syscall_lock);
|
|
|
- return(ret);
|
|
|
-}
|
|
|
-
|
|
|
int kernel_execve(const char *filename, char *const argv[], char *const envp[])
|
|
|
{
|
|
|
mm_segment_t fs;
|