|
@@ -1987,6 +1987,7 @@ extern void mm_drop_all_locks(struct mm_struct *mm);
|
|
|
|
|
|
extern void set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file);
|
|
extern void set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file);
|
|
extern struct file *get_mm_exe_file(struct mm_struct *mm);
|
|
extern struct file *get_mm_exe_file(struct mm_struct *mm);
|
|
|
|
+extern struct file *get_task_exe_file(struct task_struct *task);
|
|
|
|
|
|
extern bool may_expand_vm(struct mm_struct *, vm_flags_t, unsigned long npages);
|
|
extern bool may_expand_vm(struct mm_struct *, vm_flags_t, unsigned long npages);
|
|
extern void vm_stat_account(struct mm_struct *, vm_flags_t, long npages);
|
|
extern void vm_stat_account(struct mm_struct *, vm_flags_t, long npages);
|