]> Git Repo - linux.git/blobdiff - kernel/sys.c
Merge tag 'sched-core-2024-09-19' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / kernel / sys.c
index 3a2df1bd9f640ebbd63ceda94dd8cc1c51018f1b..b7e096e1c3a13d808731f0f4e55a16a5524dcb81 100644 (file)
@@ -2557,6 +2557,8 @@ SYSCALL_DEFINE5(prctl, int, option, unsigned long, arg2, unsigned long, arg3,
                        error = current->timer_slack_ns;
                break;
        case PR_SET_TIMERSLACK:
+               if (rt_or_dl_task_policy(current))
+                       break;
                if (arg2 <= 0)
                        current->timer_slack_ns =
                                        current->default_timer_slack_ns;
This page took 0.032609 seconds and 4 git commands to generate.