exec.c (bd74fdaea146029e4fa12c6de89adbe0779348a9) | exec.c (7964cf8caa4dfa42c4149f3833d3878713cda3dc) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/fs/exec.c 4 * 5 * Copyright (C) 1991, 1992 Linus Torvalds 6 */ 7 8/* --- 14 unchanged lines hidden (view full) --- 23 * formats. 24 */ 25 26#include <linux/kernel_read_file.h> 27#include <linux/slab.h> 28#include <linux/file.h> 29#include <linux/fdtable.h> 30#include <linux/mm.h> | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/fs/exec.c 4 * 5 * Copyright (C) 1991, 1992 Linus Torvalds 6 */ 7 8/* --- 14 unchanged lines hidden (view full) --- 23 * formats. 24 */ 25 26#include <linux/kernel_read_file.h> 27#include <linux/slab.h> 28#include <linux/file.h> 29#include <linux/fdtable.h> 30#include <linux/mm.h> |
31#include <linux/vmacache.h> | |
32#include <linux/stat.h> 33#include <linux/fcntl.h> 34#include <linux/swap.h> 35#include <linux/string.h> 36#include <linux/init.h> 37#include <linux/sched/mm.h> 38#include <linux/sched/coredump.h> 39#include <linux/sched/signal.h> --- 982 unchanged lines hidden (view full) --- 1022 * switches. Not all architectures can handle irqs off over 1023 * activate_mm yet. 1024 */ 1025 if (!IS_ENABLED(CONFIG_ARCH_WANT_IRQS_OFF_ACTIVATE_MM)) 1026 local_irq_enable(); 1027 activate_mm(active_mm, mm); 1028 if (IS_ENABLED(CONFIG_ARCH_WANT_IRQS_OFF_ACTIVATE_MM)) 1029 local_irq_enable(); | 31#include <linux/stat.h> 32#include <linux/fcntl.h> 33#include <linux/swap.h> 34#include <linux/string.h> 35#include <linux/init.h> 36#include <linux/sched/mm.h> 37#include <linux/sched/coredump.h> 38#include <linux/sched/signal.h> --- 982 unchanged lines hidden (view full) --- 1021 * switches. Not all architectures can handle irqs off over 1022 * activate_mm yet. 1023 */ 1024 if (!IS_ENABLED(CONFIG_ARCH_WANT_IRQS_OFF_ACTIVATE_MM)) 1025 local_irq_enable(); 1026 activate_mm(active_mm, mm); 1027 if (IS_ENABLED(CONFIG_ARCH_WANT_IRQS_OFF_ACTIVATE_MM)) 1028 local_irq_enable(); |
1030 tsk->mm->vmacache_seqnum = 0; 1031 vmacache_flush(tsk); | |
1032 task_unlock(tsk); 1033 lru_gen_use_mm(mm); 1034 1035 if (vfork) 1036 timens_on_fork(tsk->nsproxy, tsk); 1037 1038 if (old_mm) { 1039 mmap_read_unlock(old_mm); --- 1128 unchanged lines hidden --- | 1029 task_unlock(tsk); 1030 lru_gen_use_mm(mm); 1031 1032 if (vfork) 1033 timens_on_fork(tsk->nsproxy, tsk); 1034 1035 if (old_mm) { 1036 mmap_read_unlock(old_mm); --- 1128 unchanged lines hidden --- |