Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/asm
File: mman.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
#ifndef _ASM_X86_MMAN_H
[1] Fix | Delete
#define _ASM_X86_MMAN_H
[2] Fix | Delete
[3] Fix | Delete
#define MAP_32BIT 0x40 /* only give out 32bit addresses */
[4] Fix | Delete
[5] Fix | Delete
#ifdef CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
[6] Fix | Delete
/*
[7] Fix | Delete
* Take the 4 protection key bits out of the vma->vm_flags
[8] Fix | Delete
* value and turn them in to the bits that we can put in
[9] Fix | Delete
* to a pte.
[10] Fix | Delete
*
[11] Fix | Delete
* Only override these if Protection Keys are available
[12] Fix | Delete
* (which is only on 64-bit).
[13] Fix | Delete
*/
[14] Fix | Delete
#define arch_vm_get_page_prot(vm_flags) __pgprot( \
[15] Fix | Delete
((vm_flags) & VM_PKEY_BIT0 ? _PAGE_PKEY_BIT0 : 0) | \
[16] Fix | Delete
((vm_flags) & VM_PKEY_BIT1 ? _PAGE_PKEY_BIT1 : 0) | \
[17] Fix | Delete
((vm_flags) & VM_PKEY_BIT2 ? _PAGE_PKEY_BIT2 : 0) | \
[18] Fix | Delete
((vm_flags) & VM_PKEY_BIT3 ? _PAGE_PKEY_BIT3 : 0))
[19] Fix | Delete
[20] Fix | Delete
#define arch_calc_vm_prot_bits(prot, key) ( \
[21] Fix | Delete
((key) & 0x1 ? VM_PKEY_BIT0 : 0) | \
[22] Fix | Delete
((key) & 0x2 ? VM_PKEY_BIT1 : 0) | \
[23] Fix | Delete
((key) & 0x4 ? VM_PKEY_BIT2 : 0) | \
[24] Fix | Delete
((key) & 0x8 ? VM_PKEY_BIT3 : 0))
[25] Fix | Delete
#endif
[26] Fix | Delete
[27] Fix | Delete
#include <asm-generic/mman.h>
[28] Fix | Delete
[29] Fix | Delete
#endif /* _ASM_X86_MMAN_H */
[30] Fix | Delete
[31] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function