Re: missing compat_sys_ptrace conversions for mips and parisc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christoph Hellwig wrote:
Currently mips and parisc are the only architectures not yet converted
to the generic compat_sys_ptrace.  The conversion is rather trivial and
only involves splitting the current compat_ptrace handler into a
compat_arch_ptrace with all the meat and the existing compat_sys_ptrace
that does all the boilerplate code, just like the generic sys_ptrace.
To get the generic compat_sys_ptrace you have to add a

	#define __ARCH_WANT_COMPAT_SYS_PTRACE

to ptrace.h for now, but once mips and parisc are converted this will of
course be removed.  Take a look at the powerpc conversion as an example:

	http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git&a=commitdiff&h=81e695c026eeda9a97e412fa4f458e5cab2f6c85

I could take care of this for parisc. Just looked into the code and it seems it could cleanup the code nicely as well.

But I don't want to step on Kyle's toe, since I assume he prepares the asm-parisc/ move in the parisc-2.6 git tree during the next days.

Kyle: any comments? Should I prepare some patches? Or do you want to take care of the compat_sys_ptrace yourself?

Helge



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux