]> git.hungrycats.org Git - linux/commit
[IA64] Makefile: fix for the PTRACE_SYSCALL corruption bug
authorStéphane Eranian <eranian@hpl.hp.com>
Mon, 13 Sep 2004 18:48:29 +0000 (18:48 +0000)
committerTony Luck <tony.luck@intel.com>
Mon, 13 Sep 2004 18:48:29 +0000 (18:48 +0000)
commitdf86f2e006e93949673dff02ee5a83b5ec359dc4
tree1914a15e3c3ac358757512e55caff682b88523a7
parent65fd90f1492898e695a33ce4b164e02f157246e3
[IA64] Makefile: fix for the PTRACE_SYSCALL corruption bug

Thanks to David for his help in tracking it down.

  compile the kernel with sibling call optimization
  turned off. There is a problem with all functions
  using the optimization and the asmlinkage attribute.
  The compiler should not perform the optimization on
  these functions because it cannot preserve the syscall
  parameters in the callee. This caused SIGSEGV on programs
  traced with PTRACE_SYSCALL, for instance.

signed-off-by: stephane eranian <eranian@hpl.hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/Makefile