1. 07 10月, 2008 1 次提交
  2. 02 5月, 2008 1 次提交
  3. 05 3月, 2008 1 次提交
  4. 19 12月, 2007 1 次提交
  5. 08 12月, 2007 1 次提交
  6. 20 10月, 2007 1 次提交
    • P
      pid namespaces: changes to show virtual ids to user · b488893a
      Pavel Emelyanov 提交于
      This is the largest patch in the set. Make all (I hope) the places where
      the pid is shown to or get from user operate on the virtual pids.
      
      The idea is:
       - all in-kernel data structures must store either struct pid itself
         or the pid's global nr, obtained with pid_nr() call;
       - when seeking the task from kernel code with the stored id one
         should use find_task_by_pid() call that works with global pids;
       - when showing pid's numerical value to the user the virtual one
         should be used, but however when one shows task's pid outside this
         task's namespace the global one is to be used;
       - when getting the pid from userspace one need to consider this as
         the virtual one and use appropriate task/pid-searching functions.
      
      [akpm@linux-foundation.org: build fix]
      [akpm@linux-foundation.org: nuther build fix]
      [akpm@linux-foundation.org: yet nuther build fix]
      [akpm@linux-foundation.org: remove unneeded casts]
      Signed-off-by: NPavel Emelyanov <xemul@openvz.org>
      Signed-off-by: NAlexey Dobriyan <adobriyan@openvz.org>
      Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
      Cc: Oleg Nesterov <oleg@tv-sign.ru>
      Cc: Paul Menage <menage@google.com>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b488893a
  7. 09 5月, 2007 2 次提交
  8. 01 7月, 2006 1 次提交
  9. 27 1月, 2006 1 次提交
  10. 13 1月, 2006 1 次提交
  11. 09 11月, 2005 1 次提交
  12. 30 8月, 2005 1 次提交
    • S
      [PATCH] convert signal handling of NODEFER to act like other Unix boxes. · 69be8f18
      Steven Rostedt 提交于
      It has been reported that the way Linux handles NODEFER for signals is
      not consistent with the way other Unix boxes handle it.  I've written a
      program to test the behavior of how this flag affects signals and had
      several reports from people who ran this on various Unix boxes,
      confirming that Linux seems to be unique on the way this is handled.
      
      The way NODEFER affects signals on other Unix boxes is as follows:
      
      1) If NODEFER is set, other signals in sa_mask are still blocked.
      
      2) If NODEFER is set and the signal is in sa_mask, then the signal is
      still blocked. (Note: this is the behavior of all tested but Linux _and_
      NetBSD 2.0 *).
      
      The way NODEFER affects signals on Linux:
      
      1) If NODEFER is set, other signals are _not_ blocked regardless of
      sa_mask (Even NetBSD doesn't do this).
      
      2) If NODEFER is set and the signal is in sa_mask, then the signal being
      handled is not blocked.
      
      The patch converts signal handling in all current Linux architectures to
      the way most Unix boxes work.
      
      Unix boxes that were tested:  DU4, AIX 5.2, Irix 6.5, NetBSD 2.0, SFU
      3.5 on WinXP, AIX 5.3, Mac OSX, and of course Linux 2.6.13-rcX.
      
      * NetBSD was the only other Unix to behave like Linux on point #2. The
      main concern was brought up by point #1 which even NetBSD isn't like
      Linux.  So with this patch, we leave NetBSD as the lonely one that
      behaves differently here with #2.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      69be8f18
  13. 07 7月, 2005 1 次提交
  14. 22 6月, 2005 1 次提交
  15. 04 5月, 2005 1 次提交
    • D
      [IA64] fix ia64 syscall auditing · 446b8831
      David Woodhouse 提交于
      Attached is a patch against David's audit.17 kernel that adds checks
      for the TIF_SYSCALL_AUDIT thread flag to the ia64 system call and
      signal handling code paths.  The patch enables auditing of system
      calls set up via fsys_bubble_down, as well as ensuring that
      audit_syscall_exit() is called on return from sigreturn.
      
      Neglecting to check for TIF_SYSCALL_AUDIT at these points results in
      incorrect information in audit_context, causing frequent system panics
      when system call auditing is enabled on an ia64 system.
      
      I have tested this patch and have seen no problems with it.
      
      [Original patch from Amy Griffis ported to current kernel by David Woodhouse]
      
      From: Amy Griffis <amy.griffis@hp.com>
      From: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NChris Wright <chrisw@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      446b8831
  16. 29 4月, 2005 1 次提交
    • A
      [PATCH] fix ia64 syscall auditing · 3ac3ed55
      Amy Griffis 提交于
      Attached is a patch against David's audit.17 kernel that adds checks
      for the TIF_SYSCALL_AUDIT thread flag to the ia64 system call and
      signal handling code paths.The patch enables auditing of system
      calls set up via fsys_bubble_down, as well as ensuring that
      audit_syscall_exit() is called on return from sigreturn.
      
      Neglecting to check for TIF_SYSCALL_AUDIT at these points results in
      incorrect information in audit_context, causing frequent system panics
      when system call auditing is enabled on an ia64 system.
      Signed-off-by: NAmy Griffis <amy.griffis@hp.com>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      3ac3ed55
  17. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4