Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/asm
File: ldt.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* ldt.h
[2] Fix | Delete
*
[3] Fix | Delete
* Definitions of structures used with the modify_ldt system call.
[4] Fix | Delete
*/
[5] Fix | Delete
#ifndef _ASM_X86_LDT_H
[6] Fix | Delete
#define _ASM_X86_LDT_H
[7] Fix | Delete
[8] Fix | Delete
/* Maximum number of LDT entries supported. */
[9] Fix | Delete
#define LDT_ENTRIES 8192
[10] Fix | Delete
/* The size of each LDT entry. */
[11] Fix | Delete
#define LDT_ENTRY_SIZE 8
[12] Fix | Delete
[13] Fix | Delete
#ifndef __ASSEMBLY__
[14] Fix | Delete
/*
[15] Fix | Delete
* Note on 64bit base and limit is ignored and you cannot set DS/ES/CS
[16] Fix | Delete
* not to the default values if you still want to do syscalls. This
[17] Fix | Delete
* call is more for 32bit mode therefore.
[18] Fix | Delete
*/
[19] Fix | Delete
struct user_desc {
[20] Fix | Delete
unsigned int entry_number;
[21] Fix | Delete
unsigned int base_addr;
[22] Fix | Delete
unsigned int limit;
[23] Fix | Delete
unsigned int seg_32bit:1;
[24] Fix | Delete
unsigned int contents:2;
[25] Fix | Delete
unsigned int read_exec_only:1;
[26] Fix | Delete
unsigned int limit_in_pages:1;
[27] Fix | Delete
unsigned int seg_not_present:1;
[28] Fix | Delete
unsigned int useable:1;
[29] Fix | Delete
#ifdef __x86_64__
[30] Fix | Delete
/*
[31] Fix | Delete
* Because this bit is not present in 32-bit user code, user
[32] Fix | Delete
* programs can pass uninitialized values here. Therefore, in
[33] Fix | Delete
* any context in which a user_desc comes from a 32-bit program,
[34] Fix | Delete
* the kernel must act as though lm == 0, regardless of the
[35] Fix | Delete
* actual value.
[36] Fix | Delete
*/
[37] Fix | Delete
unsigned int lm:1;
[38] Fix | Delete
#endif
[39] Fix | Delete
};
[40] Fix | Delete
[41] Fix | Delete
#define MODIFY_LDT_CONTENTS_DATA 0
[42] Fix | Delete
#define MODIFY_LDT_CONTENTS_STACK 1
[43] Fix | Delete
#define MODIFY_LDT_CONTENTS_CODE 2
[44] Fix | Delete
[45] Fix | Delete
#endif /* !__ASSEMBLY__ */
[46] Fix | Delete
#endif /* _ASM_X86_LDT_H */
[47] Fix | Delete
[48] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function