Provide a function for copying init_mm. This function will be later used for setting a temporary mm.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -76,6 +76,7 @@ extern void exit_itimers(struct signal_struct *); · 75 unmodified lines | |||
| 76 | extern long _do_fork(unsigned long, unsigned long, unsigned long, int __user *, int __user *, unsigned long); | 76 | extern long _do_fork(unsigned long, unsigned long, unsigned long, int __user *, int __user *, unsigned long); |
| 77 | extern long do_fork(unsigned long, unsigned long, unsigned long, int __user *, int __user *); | 77 | extern long do_fork(unsigned long, unsigned long, unsigned long, int __user *, int __user *); |
| 78 | struct task_struct *fork_idle(int); | 78 | struct task_struct *fork_idle(int); |
| 79 | struct mm_struct *copy_init_mm(void); | ||
| 79 | extern pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); | 80 | extern pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); |
| 80 | extern long kernel_wait4(pid_t, int __user *, int, struct rusage *); | 81 | extern long kernel_wait4(pid_t, int __user *, int, struct rusage *); |
| 81 | 82 | ||