Skip to content

Commit

Permalink
fix: Applying patch for USER_NS_UNPRIVILEGED
Browse files Browse the repository at this point in the history
  • Loading branch information
whitehara committed Nov 9, 2024
1 parent 7c8a35c commit be699f0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ diff --git a/kernel/fork.c b/kernel/fork.c
index 08969f5aa38d59..ff601cb7a1fae0 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -104,6 +104,10 @@
#include <uapi/linux/pidfd.h>
@@ -106,6 +106,10 @@
#include <linux/pidfs.h>
#include <linux/tick.h>

+#ifdef CONFIG_USER_NS
+#include <linux/user_namespace.h>
Expand Down

0 comments on commit be699f0

Please sign in to comment.