aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/ioprio.c1
-rw-r--r--include/linux/cred.h2
-rw-r--r--include/linux/sched/user.h6
-rw-r--r--ipc/mqueue.c1
-rw-r--r--kernel/fork.c1
-rw-r--r--kernel/signal.c1
-rw-r--r--kernel/user.c1
-rw-r--r--mm/mlock.c1
-rw-r--r--net/core/scm.c1
-rw-r--r--security/keys/process_keys.c1
10 files changed, 15 insertions, 1 deletions
diff --git a/block/ioprio.c b/block/ioprio.c
index 3790669232ff..89c43e07787d 100644
--- a/block/ioprio.c
+++ b/block/ioprio.c
@@ -25,6 +25,7 @@
25#include <linux/ioprio.h> 25#include <linux/ioprio.h>
26#include <linux/blkdev.h> 26#include <linux/blkdev.h>
27#include <linux/capability.h> 27#include <linux/capability.h>
28#include <linux/sched/user.h>
28#include <linux/syscalls.h> 29#include <linux/syscalls.h>
29#include <linux/security.h> 30#include <linux/security.h>
30#include <linux/pid_namespace.h> 31#include <linux/pid_namespace.h>
diff --git a/include/linux/cred.h b/include/linux/cred.h
index f0e70a1bb3ac..045d33e48069 100644
--- a/include/linux/cred.h
+++ b/include/linux/cred.h
@@ -18,8 +18,8 @@
18#include <linux/selinux.h> 18#include <linux/selinux.h>
19#include <linux/atomic.h> 19#include <linux/atomic.h>
20#include <linux/uidgid.h> 20#include <linux/uidgid.h>
21#include <linux/sched/user.h>
21 22
22struct user_struct;
23struct cred; 23struct cred;
24struct inode; 24struct inode;
25 25
diff --git a/include/linux/sched/user.h b/include/linux/sched/user.h
new file mode 100644
index 000000000000..83238e5ddadd
--- /dev/null
+++ b/include/linux/sched/user.h
@@ -0,0 +1,6 @@
1#ifndef _LINUX_SCHED_USER_H
2#define _LINUX_SCHED_USER_H
3
4#include <linux/sched.h>
5
6#endif /* _LINUX_SCHED_USER_H */
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 4f7241fbeff3..e8d41ff57241 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -37,6 +37,7 @@
37#include <linux/slab.h> 37#include <linux/slab.h>
38#include <linux/sched/wake_q.h> 38#include <linux/sched/wake_q.h>
39#include <linux/sched/signal.h> 39#include <linux/sched/signal.h>
40#include <linux/sched/user.h>
40 41
41#include <net/sock.h> 42#include <net/sock.h>
42#include "util.h" 43#include "util.h"
diff --git a/kernel/fork.c b/kernel/fork.c
index 7332448b668a..a5ad1e4ab604 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -15,6 +15,7 @@
15#include <linux/sched/autogroup.h> 15#include <linux/sched/autogroup.h>
16#include <linux/sched/mm.h> 16#include <linux/sched/mm.h>
17#include <linux/sched/coredump.h> 17#include <linux/sched/coredump.h>
18#include <linux/sched/user.h>
18#include <linux/init.h> 19#include <linux/init.h>
19#include <linux/unistd.h> 20#include <linux/unistd.h>
20#include <linux/module.h> 21#include <linux/module.h>
diff --git a/kernel/signal.c b/kernel/signal.c
index bae358532d0a..762fcf64f0c3 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -14,6 +14,7 @@
14#include <linux/export.h> 14#include <linux/export.h>
15#include <linux/init.h> 15#include <linux/init.h>
16#include <linux/sched.h> 16#include <linux/sched.h>
17#include <linux/sched/user.h>
17#include <linux/fs.h> 18#include <linux/fs.h>
18#include <linux/tty.h> 19#include <linux/tty.h>
19#include <linux/binfmts.h> 20#include <linux/binfmts.h>
diff --git a/kernel/user.c b/kernel/user.c
index b069ccbfb0b0..00281add65b2 100644
--- a/kernel/user.c
+++ b/kernel/user.c
@@ -13,6 +13,7 @@
13#include <linux/slab.h> 13#include <linux/slab.h>
14#include <linux/bitops.h> 14#include <linux/bitops.h>
15#include <linux/key.h> 15#include <linux/key.h>
16#include <linux/sched/user.h>
16#include <linux/interrupt.h> 17#include <linux/interrupt.h>
17#include <linux/export.h> 18#include <linux/export.h>
18#include <linux/user_namespace.h> 19#include <linux/user_namespace.h>
diff --git a/mm/mlock.c b/mm/mlock.c
index cdbed8aaa426..1050511f8b2b 100644
--- a/mm/mlock.c
+++ b/mm/mlock.c
@@ -8,6 +8,7 @@
8#include <linux/capability.h> 8#include <linux/capability.h>
9#include <linux/mman.h> 9#include <linux/mman.h>
10#include <linux/mm.h> 10#include <linux/mm.h>
11#include <linux/sched/user.h>
11#include <linux/swap.h> 12#include <linux/swap.h>
12#include <linux/swapops.h> 13#include <linux/swapops.h>
13#include <linux/pagemap.h> 14#include <linux/pagemap.h>
diff --git a/net/core/scm.c b/net/core/scm.c
index b6d83686e149..b1ff8a441748 100644
--- a/net/core/scm.c
+++ b/net/core/scm.c
@@ -14,6 +14,7 @@
14#include <linux/capability.h> 14#include <linux/capability.h>
15#include <linux/errno.h> 15#include <linux/errno.h>
16#include <linux/sched.h> 16#include <linux/sched.h>
17#include <linux/sched/user.h>
17#include <linux/mm.h> 18#include <linux/mm.h>
18#include <linux/kernel.h> 19#include <linux/kernel.h>
19#include <linux/stat.h> 20#include <linux/stat.h>
diff --git a/security/keys/process_keys.c b/security/keys/process_keys.c
index 918cddcd4516..b6fdd22205b1 100644
--- a/security/keys/process_keys.c
+++ b/security/keys/process_keys.c
@@ -12,6 +12,7 @@
12#include <linux/module.h> 12#include <linux/module.h>
13#include <linux/init.h> 13#include <linux/init.h>
14#include <linux/sched.h> 14#include <linux/sched.h>
15#include <linux/sched/user.h>
15#include <linux/keyctl.h> 16#include <linux/keyctl.h>
16#include <linux/fs.h> 17#include <linux/fs.h>
17#include <linux/err.h> 18#include <linux/err.h>