• Zou Nanhai's avatar
    [PATCH] compat: sigtimedwait · 4b36077f
    Zou Nanhai authored
    - Merge sys32_rt_sigtimedwait function in X86_64, IA64, PPC64, MIPS,
      SPARC64, S390 32 bit layer into 1 compat_rt_sigtimedwait function.  It will
      also fix a bug of copy wrong information to 32 bit userspace siginfo
      structure on X86_64, IA64 and SPARC64 when calling sigtimedwait on 32 bit
      layer.
    
    - Change all name the of siginfo_t32 structure in X86_64, IA64, MIPS,
      SPARC64 and S390 to the name compat_siginfo_t as used in PPC64.
    
    - Patch introduced a macro __COMPAT_ENDIAN_SWAP__ in
      include/asm-mips/compat.h when MIPS kernel is compiled in little-endian
      mode.  This macro is used to do byte swapping in function
      sigset_from_compat.
    
    - This patch is only tested on X86_64 and IA_64.
    Signed-off-by: default avatarZou Nan hai <Nanhai.zou@intel.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    4b36077f
sys_sparc32.c 43.4 KB