process.c (0fd2e9c53d82704a3ba87ea1980ec515188c5316) process.c (1a79797b58cddfa948420a7553241c79c013e3ca)
1// SPDX-License-Identifier: GPL-2.0
2#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
3
4#include <linux/errno.h>
5#include <linux/kernel.h>
6#include <linux/mm.h>
7#include <linux/smp.h>
8#include <linux/prctl.h>

--- 57 unchanged lines hidden (view full) ---

66 /*
67 * Note that the .io_bitmap member must be extra-big. This is because
68 * the CPU will access an additional byte beyond the end of the IO
69 * permission bitmap. The extra byte must be all 1 bits, and must
70 * be within the limit.
71 */
72 .io_bitmap = { [0 ... IO_BITMAP_LONGS] = ~0 },
73#endif
1// SPDX-License-Identifier: GPL-2.0
2#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
3
4#include <linux/errno.h>
5#include <linux/kernel.h>
6#include <linux/mm.h>
7#include <linux/smp.h>
8#include <linux/prctl.h>

--- 57 unchanged lines hidden (view full) ---

66 /*
67 * Note that the .io_bitmap member must be extra-big. This is because
68 * the CPU will access an additional byte beyond the end of the IO
69 * permission bitmap. The extra byte must be all 1 bits, and must
70 * be within the limit.
71 */
72 .io_bitmap = { [0 ... IO_BITMAP_LONGS] = ~0 },
73#endif
74#ifdef CONFIG_X86_32
75 .SYSENTER_stack_canary = STACK_END_MAGIC,
74 .SYSENTER_stack_canary = STACK_END_MAGIC,
76#endif
77};
78EXPORT_PER_CPU_SYMBOL(cpu_tss);
79
80DEFINE_PER_CPU(bool, __tss_limit_invalid);
81EXPORT_PER_CPU_SYMBOL_GPL(__tss_limit_invalid);
82
83/*
84 * this gets called so that we can store lazy state into memory and copy the

--- 556 unchanged lines hidden ---
75};
76EXPORT_PER_CPU_SYMBOL(cpu_tss);
77
78DEFINE_PER_CPU(bool, __tss_limit_invalid);
79EXPORT_PER_CPU_SYMBOL_GPL(__tss_limit_invalid);
80
81/*
82 * this gets called so that we can store lazy state into memory and copy the

--- 556 unchanged lines hidden ---