Home
last modified time | relevance | path

Searched refs:user_desc (Results 1 – 25 of 29) sorted by relevance

12

/external/strace/tests/
Dxet_thread_area_x86.c71 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in set_thread_area()
111 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in get_thread_area()
112 struct user_desc *expected_ptr = in get_thread_area()
113 (struct user_desc *) (uintptr_t) expected; in get_thread_area()
155 TAIL_ALLOC_OBJECT_CONST_PTR(struct user_desc, ta1); in main()
156 TAIL_ALLOC_OBJECT_CONST_PTR(struct user_desc, ta2); in main()
Dprint_user_desc.c45 print_user_desc(struct user_desc *us, const char *entry_str) in print_user_desc()
Dmodify_ldt.c70 TAIL_ALLOC_OBJECT_CONST_PTR(struct user_desc, us); in main()
/external/strace/tests-m32/
Dxet_thread_area_x86.c71 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in set_thread_area()
111 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in get_thread_area()
112 struct user_desc *expected_ptr = in get_thread_area()
113 (struct user_desc *) (uintptr_t) expected; in get_thread_area()
155 TAIL_ALLOC_OBJECT_CONST_PTR(struct user_desc, ta1); in main()
156 TAIL_ALLOC_OBJECT_CONST_PTR(struct user_desc, ta2); in main()
Dprint_user_desc.c45 print_user_desc(struct user_desc *us, const char *entry_str) in print_user_desc()
Dmodify_ldt.c70 TAIL_ALLOC_OBJECT_CONST_PTR(struct user_desc, us); in main()
/external/strace/tests-mx32/
Dxet_thread_area_x86.c71 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in set_thread_area()
111 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in get_thread_area()
112 struct user_desc *expected_ptr = in get_thread_area()
113 (struct user_desc *) (uintptr_t) expected; in get_thread_area()
155 TAIL_ALLOC_OBJECT_CONST_PTR(struct user_desc, ta1); in main()
156 TAIL_ALLOC_OBJECT_CONST_PTR(struct user_desc, ta2); in main()
Dprint_user_desc.c45 print_user_desc(struct user_desc *us, const char *entry_str) in print_user_desc()
Dmodify_ldt.c70 TAIL_ALLOC_OBJECT_CONST_PTR(struct user_desc, us); in main()
/external/linux-kselftest/tools/testing/selftests/x86/
Dldt_gdt.c59 static struct user_desc *low_user_desc;
60 static struct user_desc *low_user_desc_clear; /* Use to delete GDT entry */
139 static bool install_valid_mode(const struct user_desc *d, uint32_t ar, in install_valid_mode()
142 struct user_desc desc = *d; in install_valid_mode()
189 static bool install_valid(const struct user_desc *desc, uint32_t ar) in install_valid()
202 static void install_invalid(const struct user_desc *desc, bool oldmode) in install_invalid()
223 static int safe_modify_ldt(int func, struct user_desc *ptr, in safe_modify_ldt()
232 static void fail_install(struct user_desc *desc) in fail_install()
246 struct user_desc desc = { in do_simple_tests()
451 const struct user_desc desc = {}; in threadproc()
[all …]
Dsigreturn.c174 static void add_ldt(const struct user_desc *desc, unsigned short *var, in add_ldt()
194 const struct user_desc code16_desc = { in setup_ldt()
207 const struct user_desc data16_desc = { in setup_ldt()
220 const struct user_desc npcode32_desc = { in setup_ldt()
233 const struct user_desc npdata32_desc = { in setup_ldt()
246 struct user_desc gdt_data16_desc = { in setup_ldt()
271 struct user_desc gdt_npdata32_desc = { in setup_ldt()
Dfsgsbase.c219 struct user_desc desc = { in do_unexpected_base()
236 struct user_desc *low_desc = mmap( in do_unexpected_base()
/external/ltp/testcases/kernel/syscalls/set_thread_area/
Dset_thread_area.h14 typedef struct user_desc thread_area_s;
18 typedef struct user_desc { struct
Dset_thread_area01.c52 static struct user_desc u_info1 = {.entry_number = -1 };
53 static struct user_desc u_info2 = {.entry_number = -2 };
/external/strace/
Dldt.c48 struct user_desc desc; in print_user_desc()
139 if (tcp->u_arg[2] != sizeof(struct user_desc)) in SYS_FUNC()
166 struct user_desc desc; in SYS_FUNC()
Dconfigure.ac306 AC_CHECK_TYPES([struct user_desc],
307 [AC_CHECK_MEMBERS([struct user_desc.lm],,,
/external/kernel-headers/original/uapi/asm-x86/asm/
Dldt.h21 struct user_desc { struct
/external/ltp/testcases/kernel/syscalls/modify_ldt/
Dmodify_ldt03.c41 # define SIZE sizeof(struct user_desc)
Dmodify_ldt02.c66 typedef struct user_desc modify_ldt_s;
Dmodify_ldt01.c70 typedef struct user_desc modify_ldt_s;
/external/ltp/testcases/cve/
Dcve-2017-17053.c120 struct user_desc desc = { .entry_number = 8191 }; in run_test()
Dcve-2015-3290.c206 const struct user_desc data_desc = { in set_ldt()
/external/ltp/m4/
Dltp-modify_ldt.m430 AC_CHECK_TYPES([struct user_desc, struct modify_ldt_ldt_s],[],[],[dnl
/external/syzkaller/sys/linux/
Dsys.txt451 set_thread_area(info ptr[in, user_desc])
452 get_thread_area(info ptr[in, user_desc])
454 modify_ldt$write(func const[1], buf ptr[in, user_desc], len len[buf])
456 modify_ldt$write2(func const[17], buf ptr[in, user_desc], len len[buf])
853 user_desc {
/external/ltp/include/
Dconfig.h.default182 /* Define to 1 if the system has the type `struct user_desc'. */

12