Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull misc compat stuff updates from Al Viro: "This part is basically untangling various compat stuff. Compat syscalls moved to their native counterparts, getting rid of quite a bit of double-copying and/or set_fs() uses. A lot of field-by-field copyin/copyout killed off. - kernel/compat.c is much closer to containing just the copyin/copyout of compat structs. Not all compat syscalls are gone from it yet, but it's getting there. - ipc/compat_mq.c killed off completely. - block/compat_ioctl.c cleaned up; floppy compat ioctls moved to drivers/block/floppy.c where they belong. Yes, there are several drivers that implement some of the same ioctls. Some are m68k and one is 32bit-only pmac. drivers/block/floppy.c is the only one in that bunch that can be built on biarch" * 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: mqueue: move compat syscalls to native ones usbdevfs: get rid of field-by-field copyin compat_hdio_ioctl: get rid of set_fs() take floppy compat ioctls to sodding floppy.c ipmi: get rid of field-by-field __get_user() ipmi: get COMPAT_IPMICTL_RECEIVE_MSG in sync with the native one rt_sigtimedwait(): move compat to native select: switch compat_{get,put}_fd_set() to compat_{get,put}_bitmap() put_compat_rusage(): switch to copy_to_user() sigpending(): move compat to native getrlimit()/setrlimit(): move compat to native times(2): move compat to native compat_{get,put}_bitmap(): use unsafe_{get,put}_user() fb_get_fscreeninfo(): don't bother with do_fb_ioctl() do_sigaltstack(): lift copying to/from userland into callers take compat_sys_old_getrlimit() to native syscall trim __ARCH_WANT_SYS_OLD_GETRLIMIT
Showing
- arch/alpha/include/asm/unistd.h 0 additions, 1 deletionarch/alpha/include/asm/unistd.h
- arch/m32r/include/asm/unistd.h 0 additions, 1 deletionarch/m32r/include/asm/unistd.h
- arch/mips/include/asm/unistd.h 0 additions, 1 deletionarch/mips/include/asm/unistd.h
- arch/parisc/include/asm/unistd.h 0 additions, 1 deletionarch/parisc/include/asm/unistd.h
- arch/powerpc/include/asm/compat.h 0 additions, 1 deletionarch/powerpc/include/asm/compat.h
- arch/s390/include/asm/compat.h 0 additions, 1 deletionarch/s390/include/asm/compat.h
- arch/x86/include/asm/compat.h 0 additions, 1 deletionarch/x86/include/asm/compat.h
- block/compat_ioctl.c 6 additions, 349 deletionsblock/compat_ioctl.c
- drivers/block/floppy.c 328 additions, 0 deletionsdrivers/block/floppy.c
- drivers/char/ipmi/ipmi_devintf.c 151 additions, 182 deletionsdrivers/char/ipmi/ipmi_devintf.c
- drivers/usb/core/devio.c 19 additions, 29 deletionsdrivers/usb/core/devio.c
- drivers/video/fbdev/core/fbmem.c 5 additions, 14 deletionsdrivers/video/fbdev/core/fbmem.c
- fs/select.c 5 additions, 39 deletionsfs/select.c
- include/linux/compat.h 1 addition, 2 deletionsinclude/linux/compat.h
- include/linux/signal.h 0 additions, 2 deletionsinclude/linux/signal.h
- include/linux/syscalls.h 1 addition, 1 deletioninclude/linux/syscalls.h
- include/linux/time.h 0 additions, 3 deletionsinclude/linux/time.h
- ipc/Makefile 1 addition, 2 deletionsipc/Makefile
- ipc/compat_mq.c 0 additions, 138 deletionsipc/compat_mq.c
- ipc/mqueue.c 261 additions, 88 deletionsipc/mqueue.c
Loading
Please register or sign in to comment