commit | 99a0544f010cfaade3f42d08656285555bec60db | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Thu Apr 10 14:10:17 2014 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Thu Apr 10 15:29:13 2014 +0000 |
tree | 5cfa379c4ec31f1f39bc40ef2c7fbefce396dc86 | |
parent | 329fa3919d0da95ec32949c2092dc40dac6a9d5b [diff] |
Refactor LDT decoding * configure.ac (AC_CHECK_TYPES): Remove struct user_desc. * ldt.c: New file. * Makefile.am (strace_SOURCES): Add ldt.c. * mem.c: Do not include <asm/ldt.h>. (print_ldt_entry): Remove. (sys_modify_ldt, sys_set_thread_area, sys_get_thread_area): Move... * ldt.c: ... here. * process.c: Do not include <asm/ldt.h>. (sys_clone) [I386 || X86_64 || X32]: Use print_user_desc.