summaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-03-13 13:20:45 +0000
committerMark Brown <broonie@kernel.org>2023-03-13 13:20:45 +0000
commitb9d0bb8f1c2e5dce9b8a54fb77d1af4aa64a4c01 (patch)
tree1e8f106c57c2934eee422f8ee5e59e73015e2dc4 /kernel/fork.c
parent5bd73a162bc881dbb98ff9909dd865286852ee2b (diff)
parenteeac8ede17557680855031c6f305ece2378af326 (diff)
downloadlinux-stable-b9d0bb8f1c2e5dce9b8a54fb77d1af4aa64a4c01.tar.gz
linux-stable-b9d0bb8f1c2e5dce9b8a54fb77d1af4aa64a4c01.tar.bz2
linux-stable-b9d0bb8f1c2e5dce9b8a54fb77d1af4aa64a4c01.zip
Merge tag 'v6.3-rc2' into regulator-6.4 to fix clock related boot issues
Linux 6.3-rc2
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index f68954d05e89..d8cda4c6de6c 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -2936,7 +2936,7 @@ static bool clone3_args_valid(struct kernel_clone_args *kargs)
* - make the CLONE_DETACHED bit reusable for clone3
* - make the CSIGNAL bits reusable for clone3
*/
- if (kargs->flags & (CLONE_DETACHED | CSIGNAL))
+ if (kargs->flags & (CLONE_DETACHED | (CSIGNAL & (~CLONE_NEWTIME))))
return false;
if ((kargs->flags & (CLONE_SIGHAND | CLONE_CLEAR_SIGHAND)) ==