kernel-fxtec-pro1x/arch
H.J. Lu 55283e2537 x32: Add ptrace for x32
X32 ptrace is a hybrid of 64bit ptrace and compat ptrace with 32bit
address and longs.  It use 64bit ptrace to access the full 64bit
registers.  PTRACE_PEEKUSR and PTRACE_POKEUSR are only allowed to access
segment and debug registers.  PTRACE_PEEKUSR returns the lower 32bits
and PTRACE_POKEUSR zero-extends 32bit value to 64bit.   It works since
the upper 32bits of segment and debug registers of x32 process are always
zero.  GDB only uses PTRACE_PEEKUSR and PTRACE_POKEUSR to access
segment and debug registers.

[ hpa: changed TIF_X32 test to use !is_ia32_task() instead, and moved
  the system call number to the now-unused 521 slot. ]

Signed-off-by: "H.J. Lu" <hjl.tools@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Roland McGrath <roland@hack.frob.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Link: http://lkml.kernel.org/r/1329696488-16970-1-git-send-email-hpa@zytor.com
2012-03-05 15:43:45 -08:00
..
alpha alpha: Use generic posix_types.h 2012-02-14 12:01:27 -08:00
arm arm: Use generic posix_types.h 2012-02-14 12:01:28 -08:00
avr32 avr32: Use generic posix_types.h 2012-02-14 12:01:28 -08:00
blackfin Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci 2012-01-11 18:50:26 -08:00
c6x C6X: replace tick_nohz_stop/restart_sched_tick calls 2012-01-08 15:13:16 -05:00
cris cris: Use generic posix_types.h 2012-02-14 12:01:28 -08:00
frv frv: Use generic posix_types.h 2012-02-14 12:01:28 -08:00
h8300 h8300: Use generic posix_types.h 2012-02-14 12:01:28 -08:00
hexagon
ia64 ia64: Use generic posix_types.h 2012-02-14 12:01:28 -08:00
m32r m32r: Use generic posix_types.h 2012-02-14 12:01:28 -08:00
m68k m68k: Use generic posix_types.h 2012-02-14 12:01:29 -08:00
microblaze Revert "microblaze: Add topology init" 2012-01-31 09:06:52 +01:00
mips fs: Remove missed ->fds_bits from cessation use of fd_set structs internally 2012-02-24 14:04:50 +01:00
mn10300 mn10300: Use generic posix_types.h 2012-02-14 12:01:29 -08:00
openrisc Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2012-01-16 14:34:54 -08:00
parisc parisc: Use generic posix_types.h 2012-02-14 12:01:29 -08:00
powerpc Wrap accesses to the fd_sets in struct fdtable 2012-02-19 10:30:52 -08:00
s390 s390: Use generic posix_types.h 2012-02-14 12:01:29 -08:00
score score: fix off-by-one index into syscall table 2012-01-23 08:38:49 -08:00
sh sh: Remove unnecessary posix_types.h type overrides 2012-02-14 12:01:29 -08:00
sparc sparc: Use generic posix_types.h 2012-02-14 12:01:30 -08:00
tile Merge branch 'for-next' of git://git.infradead.org/users/dhowells/linux-headers 2012-01-14 18:03:30 -08:00
um Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit 2012-01-17 16:41:31 -08:00
unicore32 Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci 2012-01-11 18:50:26 -08:00
x86 x32: Add ptrace for x32 2012-03-05 15:43:45 -08:00
xtensa xtensa: Use generic posix_types.h 2012-02-14 12:01:30 -08:00
.gitignore
Kconfig mm,x86,um: move CMPXCHG_DOUBLE config option 2012-01-12 20:13:03 -08:00