sys32_ioctl -> compat_ioctl -- other 64bit archs
Hi!
This is rest of patches. These have not been tested, and probably break something; but it was broken before: there were races around ioctl callback registration. Hopefully this is good starting point. Please apply,
Pavel
arch/ia64/ia32/ia32_entry.S +1 -1
@@ -252,7 +252,7 @@ data8 sys_acct data8 sys_umount /* recycled never used phys( */ data8 sys32_ni_syscall /* old lock syscall holder */ - data8 sys32_ioctl + data8 compat_ioctl data8 sys32_fcntl /* 55 */ data8 sys32_ni_syscall /* old mpx syscall holder */ data8 sys_setpgid
arch/ia64/ia32/ia32_ioctl.c +0 -218
221 lines not on this page · raw message
arch/mips64/kernel/ioctl32.c +0 -67
70 lines not on this page · raw message
arch/mips64/kernel/scall_o32.S +1 -1
@@ -287,7 +287,7 @@ sys sys_acct 0 sys sys_umount 2 sys sys_ni_syscall 0 - sys sys32_ioctl 3 + sys compat_ioctl 3 sys sys32_fcntl 3 /* 4055 */ sys sys_ni_syscall 2 sys sys_setpgid 2
arch/parisc/kernel/ioctl32.c +0 -143
146 lines not on this page · raw message
arch/ppc64/kernel/ioctl32.c +0 -126
129 lines not on this page · raw message
arch/ppc64/kernel/misc.S +1 -1
@@ -556,7 +556,7 @@ .llong .sys_acct .llong .sys32_umount .llong .sys_ni_syscall /* old lock syscall */ - .llong .sys32_ioctl + .llong .compat_ioctl .llong .sys32_fcntl /* 55 */ .llong .sys_ni_syscall /* old mpx syscall */ .llong .sys32_setpgid
arch/s390x/kernel/ioctl32.c +0 -110
113 lines not on this page · raw message
arch/s390x/kernel/wrapper32.S +1 -1
@@ -225,7 +225,7 @@ llgfr %r2,%r2 # unsigned int llgfr %r3,%r3 # unsigned int llgfr %r4,%r4 # unsigned int - jg sys32_ioctl # branch to system call + jg compat_ioctl # branch to system call .globl sys32_fcntl_wrapper sys32_fcntl_wrapper:
Signature · 2 lines
When do you have a heart between your knees? [Johanka's followup: and *two* hearts?]