Skip to content
Snippets Groups Projects
  1. Jun 12, 2008
  2. Jun 06, 2008
  3. Jun 04, 2008
  4. May 01, 2008
  5. Apr 30, 2008
    • Oleg Nesterov's avatar
      signals: cleanup security_task_kill() usage/implementation · 3b5e9e53
      Oleg Nesterov authored
      
      Every implementation of ->task_kill() does nothing when the signal comes from
      the kernel.  This is correct, but means that check_kill_permission() should
      call security_task_kill() only for SI_FROMUSER() case, and we can remove the
      same check from ->task_kill() implementations.
      
      (sadly, check_kill_permission() is the last user of signal->session/__session
       but we can't s/task_session_nr/task_session/ here).
      
      NOTE: Eric W.  Biederman pointed out cap_task_kill() should die, and I think
      he is very right.
      
      Signed-off-by: default avatarOleg Nesterov <oleg@tv-sign.ru>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Serge Hallyn <serue@us.ibm.com>
      Cc: Roland McGrath <roland@redhat.com>
      Cc: Casey Schaufler <casey@schaufler-ca.com>
      Cc: David Quigley <dpquigl@tycho.nsa.gov>
      Cc: Eric Paris <eparis@redhat.com>
      Cc: Harald Welte <laforge@gnumonks.org>
      Cc: Pavel Emelyanov <xemul@openvz.org>
      Cc: Stephen Smalley <sds@tycho.nsa.gov>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3b5e9e53
  6. Apr 29, 2008
  7. Apr 28, 2008
  8. Apr 27, 2008
Loading