diff --git a/kernel/sys.c b/kernel/sys.c index 250eade7a2f..8a31528cb33 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -2271,7 +2271,7 @@ SYSCALL_DEFINE5(prctl, int, option, unsigned long, arg2, unsigned long, arg3, error = prctl_set_vma(arg2, arg3, arg4, arg5); break; /* remove this case because of sidesync call mute for H-projects */ - +#ifndef CONFIG_SEC_H_PROJECT case PR_SET_TIMERSLACK_PID: if (task_pid_vnr(current) != (pid_t)arg3 && !capable(CAP_SYS_NICE)) @@ -2292,6 +2292,7 @@ SYSCALL_DEFINE5(prctl, int, option, unsigned long, arg2, unsigned long, arg3, put_task_struct(tsk); error = 0; break; +#endif case PR_SET_NO_NEW_PRIVS: if (arg2 != 1 || arg3 || arg4 || arg5) return -EINVAL;