/external/strace/ |
D | ldt.c | 49 unsigned *entry_number = get_tcb_priv_data(tcp); in print_user_desc() local 53 if (umove_or_printaddr(tcp, addr, &desc.entry_number)) in print_user_desc() 62 if (entry_number) in print_user_desc() 78 PRINT_FIELD_ID("{", desc, entry_number); in print_user_desc() 85 entry_number = xmalloc(sizeof(*entry_number)); in print_user_desc() 87 *entry_number = desc.entry_number; in print_user_desc() 88 set_tcb_priv_data(tcp, entry_number, free); in print_user_desc() 98 if (entry_number) { in print_user_desc() 99 if (*entry_number != desc.entry_number) { in print_user_desc() 100 if ((int) desc.entry_number == -1) in print_user_desc() [all …]
|
D | ChangeLog | 9428 Since there is possibility now that strace read only entry_number field 9437 Allow separate printing of struct user_desc.entry_number. 9438 Kernel reads only entry_number field in the beginning of the 9445 * ldt.c (print_user_desc): Add filter argument. Print entry_number on 9447 entry_number field in order to print the updated value in the impossible 9448 case of changed entry_number value.
|
/external/strace/tests/ |
D | xet_thread_area_x86.c | 87 printf(" (entry_number=%u)", ptr->entry_number); in set_thread_area() 124 assert(ptr->entry_number == expected_ptr->entry_number); in get_thread_area() 144 (int) ptr->entry_number == -1 ? "-1" : NULL); in get_thread_area() 183 ta1->entry_number = -1; in main() 203 ta2->entry_number = 3141592653U; in main() 207 ta2->entry_number = -1; in main() 211 ta2->entry_number = ta1->entry_number; in main() 212 assert(set_rc == 0 || (int) ta2->entry_number == -1); in main()
|
D | print_user_desc.c | 50 printf("{entry_number=%u", us->entry_number); in print_user_desc()
|
D | modify_ldt.c | 118 us->entry_number = -1; in main()
|
/external/strace/tests-m32/ |
D | xet_thread_area_x86.c | 87 printf(" (entry_number=%u)", ptr->entry_number); in set_thread_area() 124 assert(ptr->entry_number == expected_ptr->entry_number); in get_thread_area() 144 (int) ptr->entry_number == -1 ? "-1" : NULL); in get_thread_area() 183 ta1->entry_number = -1; in main() 203 ta2->entry_number = 3141592653U; in main() 207 ta2->entry_number = -1; in main() 211 ta2->entry_number = ta1->entry_number; in main() 212 assert(set_rc == 0 || (int) ta2->entry_number == -1); in main()
|
D | print_user_desc.c | 50 printf("{entry_number=%u", us->entry_number); in print_user_desc()
|
D | modify_ldt.c | 118 us->entry_number = -1; in main()
|
/external/strace/tests-mx32/ |
D | xet_thread_area_x86.c | 87 printf(" (entry_number=%u)", ptr->entry_number); in set_thread_area() 124 assert(ptr->entry_number == expected_ptr->entry_number); in get_thread_area() 144 (int) ptr->entry_number == -1 ? "-1" : NULL); in get_thread_area() 183 ta1->entry_number = -1; in main() 203 ta2->entry_number = 3141592653U; in main() 207 ta2->entry_number = -1; in main() 211 ta2->entry_number = ta1->entry_number; in main() 212 assert(set_rc == 0 || (int) ta2->entry_number == -1); in main()
|
D | print_user_desc.c | 50 printf("{entry_number=%u", us->entry_number); in print_user_desc()
|
D | modify_ldt.c | 118 us->entry_number = -1; in main()
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | sigreturn.c | 178 *var = LDT3(desc->entry_number); in add_ldt() 195 .entry_number = LDT_OFFSET + 0, in setup_ldt() 208 .entry_number = LDT_OFFSET + 1, in setup_ldt() 221 .entry_number = LDT_OFFSET + 3, in setup_ldt() 234 .entry_number = LDT_OFFSET + 4, in setup_ldt() 247 .entry_number = -1, in setup_ldt() 265 gdt_data16_desc.entry_number); in setup_ldt() 266 gdt_data16_idx = gdt_data16_desc.entry_number; in setup_ldt() 272 .entry_number = -1, in setup_ldt() 288 gdt_npdata32_desc.entry_number); in setup_ldt() [all …]
|
D | ldt_gdt.c | 152 desc.entry_number = gdt_entry_num; in install_valid_mode() 172 check_valid_segment(desc.entry_number, ldt, ar, limit, true); in install_valid_mode() 209 check_invalid_segment(desc->entry_number, 1); in install_invalid() 247 .entry_number = 0, in do_simple_tests() 265 desc.entry_number = 2; in do_simple_tests() 335 check_valid_segment(desc.entry_number, 1, in do_simple_tests() 358 desc.entry_number = i; in do_simple_tests() 376 desc.entry_number = 8192; in do_simple_tests() 573 .entry_number = 0, in do_multicpu_tests() 642 .entry_number = 0, in do_exec_test() [all …]
|
D | fsgsbase.c | 220 .entry_number = 0, in do_unexpected_base() 242 low_desc->entry_number = -1; in do_unexpected_base() 256 printf("\tother thread: using GDT slot %d\n", desc.entry_number); in do_unexpected_base() 257 asm volatile ("mov %0, %%gs" : : "rm" ((unsigned short)((desc.entry_number << 3) | 0x3))); in do_unexpected_base()
|
/external/python/cpython2/Modules/ |
D | readline.c | 409 int entry_number; in py_remove_history() local 412 if (!PyArg_ParseTuple(args, "i:remove_history_item", &entry_number)) in py_remove_history() 414 if (entry_number < 0) { in py_remove_history() 419 entry = remove_history(entry_number); in py_remove_history() 423 entry_number); in py_remove_history() 438 int entry_number; in py_replace_history() local 442 if (!PyArg_ParseTuple(args, "is:replace_history_item", &entry_number, in py_replace_history() 446 if (entry_number < 0) { in py_replace_history() 451 old_entry = replace_history_entry(entry_number, line, (void *)NULL); in py_replace_history() 455 entry_number); in py_replace_history()
|
/external/python/cpython3/Modules/ |
D | readline.c | 522 int entry_number; in py_remove_history() local 525 if (!PyArg_ParseTuple(args, "i:remove_history_item", &entry_number)) in py_remove_history() 527 if (entry_number < 0) { in py_remove_history() 532 entry = remove_history(entry_number); in py_remove_history() 536 entry_number); in py_remove_history() 551 int entry_number; in py_replace_history() local 556 if (!PyArg_ParseTuple(args, "iU:replace_history_item", &entry_number, in py_replace_history() 560 if (entry_number < 0) { in py_replace_history() 569 old_entry = replace_history_entry(entry_number, PyBytes_AS_STRING(encoded), (void *)NULL); in py_replace_history() 574 entry_number); in py_replace_history()
|
/external/ltp/testcases/kernel/syscalls/fork/ |
D | fork05.c | 120 unsigned int entry_number; member 146 ldt0.entry_number = 0; in main()
|
/external/ltp/testcases/kernel/syscalls/set_thread_area/ |
D | set_thread_area01.c | 52 static struct user_desc u_info1 = {.entry_number = -1 }; 53 static struct user_desc u_info2 = {.entry_number = -2 };
|
D | set_thread_area.h | 19 unsigned int entry_number; member
|
/external/ltp/testcases/kernel/syscalls/modify_ldt/ |
D | modify_ldt02.c | 71 unsigned int entry_number; member 172 entry.entry_number = 0; in create_segment()
|
D | modify_ldt01.c | 75 unsigned int entry_number; member 222 entry.entry_number = 0; in create_segment()
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | ldt.h | 22 unsigned int entry_number; member
|
/external/ltp/testcases/cve/ |
D | cve-2017-17053.c | 120 struct user_desc desc = { .entry_number = 8191 }; in run_test()
|
D | cve-2015-3290.c | 207 .entry_number = 0, in set_ldt()
|
/external/syzkaller/sys/linux/ |
D | sys.txt | 854 entry_number int32
|