Skip to content

Commit 5c2c5c5

Browse files
committed
sched/headers, vfs/execve: Prepare to move the do_execve*() prototypes from <linux/sched.h> to <linux/binfmts.h>
But first update the usage sites with the new header dependency. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 3905f9a commit 5c2c5c5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎init/main.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <linux/extable.h>
1616
#include <linux/module.h>
1717
#include <linux/proc_fs.h>
18+
#include <linux/binfmts.h>
1819
#include <linux/kernel.h>
1920
#include <linux/syscalls.h>
2021
#include <linux/stackprotector.h>

‎kernel/kmod.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <linux/module.h>
2222
#include <linux/sched.h>
2323
#include <linux/sched/task.h>
24+
#include <linux/binfmts.h>
2425
#include <linux/syscalls.h>
2526
#include <linux/unistd.h>
2627
#include <linux/kmod.h>

0 commit comments

Comments
 (0)