diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2014-04-09 12:46:05 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2014-04-09 12:46:05 +0000 |
commit | 662221cab36826a502588279aaab4f3b9f942a60 (patch) | |
tree | 2bbee7505bb6db3a73bb50155e54a5b83ad0f2c3 | |
parent | f94e84780e96221a4b3e8eb39bfa2d227d367f69 (diff) | |
download | strace-662221cab36826a502588279aaab4f3b9f942a60.tar.gz |
x86_64, x32: enable decoding of modify_ldt, get_thread_area, and set_thread_area
* linux/dummy.h [X86_64 || X32]: Do not redirect sys_modify_ldt,
sys_get_thread_area, and sys_set_thread_area to printargs.
-rw-r--r-- | linux/dummy.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/dummy.h b/linux/dummy.h index eefe78141..95efa8a8e 100644 --- a/linux/dummy.h +++ b/linux/dummy.h @@ -43,12 +43,12 @@ #define sys_vm86 printargs /* machine-specific */ -#ifndef I386 -#define sys_modify_ldt printargs -#ifndef M68K -#define sys_get_thread_area printargs -#define sys_set_thread_area printargs -#endif +#if !(defined I386 || defined X86_64 || defined X32) +# define sys_modify_ldt printargs +# ifndef M68K +# define sys_get_thread_area printargs +# define sys_set_thread_area printargs +# endif #endif /* like another call */ |