History

fork: Provide a function for copying init_mm

Provide a function for copying init_mm. This function will be later used for setting a temporary mm.

Nadav Amit committed 7 years ago

Commit 13585fa1 parent aad42dd2 files · +19 −6Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/sched/task.h+1−0
@@ -76,6 +76,7 @@ extern void exit_itimers(struct signal_struct *); · 75 unmodified lines
7676 extern long _do_fork(unsigned long, unsigned long, unsigned long, int __user *, int __user *, unsigned long);
7777 extern long do_fork(unsigned long, unsigned long, unsigned long, int __user *, int __user *);
7878 struct task_struct *fork_idle(int);
79+struct mm_struct *copy_init_mm(void);
7980 extern pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);
8081 extern long kernel_wait4(pid_t, int __user *, int, struct rusage *);
8182

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t