summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-05 14:24:31 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-03 01:45:23 +0100
commit28851755990c832d7050d5e1e2c91ed9d9e6fe59 (patch)
treef9fd223eef1d9f27ccacd01252cce29e00179d84 /include/linux/sched.h
parenta2d7a7463c38dd14b845721aac3583a26a97c66d (diff)
downloadtalos-op-linux-28851755990c832d7050d5e1e2c91ed9d9e6fe59.tar.gz
talos-op-linux-28851755990c832d7050d5e1e2c91ed9d9e6fe59.zip
sched/headers, vfs/execve: Move the do_execve*() prototypes from <linux/sched.h> to <linux/binfmts.h>
These are not scheduler related. 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>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 707eee099332..5f2267e41fde 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1400,14 +1400,6 @@ extern void exit_files(struct task_struct *);
extern void exit_itimers(struct signal_struct *);
-extern int do_execve(struct filename *,
- const char __user * const __user *,
- const char __user * const __user *);
-extern int do_execveat(int, struct filename *,
- const char __user * const __user *,
- const char __user * const __user *,
- int);
-
extern void __set_task_comm(struct task_struct *tsk, const char *from, bool exec);
static inline void set_task_comm(struct task_struct *tsk, const char *from)
{
OpenPOWER on IntegriCloud