1. 02 8月, 2012 1 次提交
    • J
      sparc64: do not clobber personality flags in sys_sparc64_personality() · a27032ee
      Jiri Kosina 提交于
      There are multiple errors in how sys_sparc64_personality() handles
      personality flags stored in top three bytes.
      
      - directly comparing current->personality against PER_LINUX32 doesn't work
        in cases when any of the personality flags stored in the top three bytes
        are used.
      - directly forcefully setting personality to PER_LINUX32 or PER_LINUX
        discards any flags stored in the top three bytes
      
      Fix the first one by properly using personality() macro to compare only
      PER_MASK bytes.
      Fix the second one by setting only the bits that should be set, instead of
      overwriting the whole value.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a27032ee
  2. 31 7月, 2012 2 次提交
  3. 27 7月, 2012 19 次提交
  4. 19 7月, 2012 1 次提交
  5. 10 7月, 2012 2 次提交
  6. 06 7月, 2012 2 次提交
  7. 27 6月, 2012 4 次提交
  8. 25 6月, 2012 1 次提交
  9. 16 6月, 2012 2 次提交
  10. 14 6月, 2012 2 次提交
  11. 12 6月, 2012 1 次提交
  12. 07 6月, 2012 1 次提交
  13. 05 6月, 2012 1 次提交
  14. 02 6月, 2012 1 次提交
    • A
      new helper: signal_delivered() · efee984c
      Al Viro 提交于
      Does block_sigmask() + tracehook_signal_handler();  called when
      sigframe has been successfully built.  All architectures converted
      to it; block_sigmask() itself is gone now (merged into this one).
      
      I'm still not too happy with the signature, but that's a separate
      story (IMO we need a structure that would contain signal number +
      siginfo + k_sigaction, so that get_signal_to_deliver() would fill one,
      signal_delivered(), handle_signal() and probably setup...frame() -
      take one).
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      efee984c