Home
last modified time | relevance | path

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

12

/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/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/
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.c166 static void add_ldt(const struct user_desc *desc, unsigned short *var, in add_ldt()
186 const struct user_desc code16_desc = { in setup_ldt()
199 const struct user_desc data16_desc = { in setup_ldt()
212 const struct user_desc npcode32_desc = { in setup_ldt()
225 const struct user_desc npdata32_desc = { in setup_ldt()
238 struct user_desc gdt_data16_desc = { in setup_ldt()
263 struct user_desc gdt_npdata32_desc = { in setup_ldt()
Dfsgsbase.c259 struct user_desc desc = { in load_gs()
277 struct user_desc *low_desc = mmap( in load_gs()
/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],,,
Dconfig.h.in1366 /* Define to 1 if the system has the type `struct user_desc'. */
1369 /* Define to 1 if `lm' is a member of `struct user_desc'. */
Dconfigure10070 ac_fn_c_check_type "$LINENO" "struct user_desc" "ac_cv_type_struct_user_desc" "#include <asm/ldt.h>
10078 ac_fn_c_check_member "$LINENO" "struct user_desc" "lm" "ac_cv_member_struct_user_desc_lm" "#include…
/external/kernel-headers/original/uapi/asm-x86/asm/
Dldt.h21 struct user_desc { struct
/external/ltp/m4/
Dltp-modify_ldt.m410 AC_CHECK_TYPES([struct user_desc, struct modify_ldt_ldt_s],[],[],[
/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.c108 struct user_desc desc = { .entry_number = 8191 }; in run_test()
Dcve-2015-3290.c185 const struct user_desc data_desc = { in set_ldt()

12