From: David Quigley Date: Fri, 30 Jun 2006 08:55:46 +0000 (-0700) Subject: [PATCH] SELinux: extend task_kill hook to handle signals sent by AIO completion X-Git-Tag: v2.6.18-rc1~297 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9008e4c5c525941967b67777945aa6266ab6326;p=pandora-kernel.git [PATCH] SELinux: extend task_kill hook to handle signals sent by AIO completion This patch extends the security_task_kill hook to handle signals sent by AIO completion. In this case, the secid of the task responsible for the signal needs to be obtained and saved earlier, so a security_task_getsecid() hook is added, and then this saved value is passed subsequently to the extended task_kill hook for use in checking. Signed-off-by: David Quigley Signed-off-by: James Morris Cc: Stephen Smalley Cc: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed