uti: Return -ENOSYS without offloading for set_robust_list()
Change-Id: I43466e3850fd2ad68e5754d1d460438fa47f3ed4
This commit is contained in:
@ -3121,7 +3121,6 @@ create_tracer(unsigned long user_start, unsigned long user_end)
|
|||||||
case __NR_munmap:
|
case __NR_munmap:
|
||||||
case __NR_mprotect:
|
case __NR_mprotect:
|
||||||
case __NR_mremap:
|
case __NR_mremap:
|
||||||
case __NR_set_robust_list:/* debug */
|
|
||||||
break;
|
break;
|
||||||
case __NR_exit_group:
|
case __NR_exit_group:
|
||||||
exited++;
|
exited++;
|
||||||
@ -3144,6 +3143,12 @@ create_tracer(unsigned long user_start, unsigned long user_end)
|
|||||||
set_syscall_number(&args, -1);
|
set_syscall_number(&args, -1);
|
||||||
set_syscall_args(uti_desc->tid, &args);
|
set_syscall_args(uti_desc->tid, &args);
|
||||||
continue;
|
continue;
|
||||||
|
#if 1 /* debug */
|
||||||
|
case __NR_set_robust_list:
|
||||||
|
set_syscall_number(&args, -1);
|
||||||
|
set_syscall_args(uti_desc->tid, &args);
|
||||||
|
continue;
|
||||||
|
#endif
|
||||||
case __NR_ioctl:
|
case __NR_ioctl:
|
||||||
param = (struct syscall_struct *)
|
param = (struct syscall_struct *)
|
||||||
get_syscall_arg3(&args);
|
get_syscall_arg3(&args);
|
||||||
|
|||||||
Reference in New Issue
Block a user