UBUNTU: SAUCE: security: create task_free security callback
authorKees Cook <kees.cook@canonical.com>
Tue, 29 Jun 2010 05:34:04 +0000 (22:34 -0700)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:48:53 +0000 (06:48 -0700)
commit9e0b7288559a1cb6f42df1cea0ee0ed15420540c
tree63e143dad7e96e3c05c07d29abe152d2baeebeeb
parent02a3046515d6b8968187be8d8ec15fe08ebead0a
UBUNTU: SAUCE: security: create task_free security callback

The current LSM interface to cred_free is not sufficient for allowing
an LSM to track the life and death of a task.  This patch adds the
task_free hook so that an LSM can clean up resources on task death.

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
include/linux/security.h
kernel/fork.c
security/capability.c
security/security.c