]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
Smack: Ptrace access check mode
authorCasey Schaufler <casey@schaufler-ca.com>
Tue, 22 Oct 2013 18:47:45 +0000 (11:47 -0700)
committerCasey Schaufler <casey@schaufler-ca.com>
Mon, 28 Oct 2013 17:23:36 +0000 (10:23 -0700)
commitb5dfd8075bc26636d11c3d8888940198afbf5112
tree65c10996178b210a5d7223489cf8d5332bc9c273
parentc0ab6e56dcb7ca9903d460247cb464e769ae6e77
Smack: Ptrace access check mode

When the ptrace security hooks were split the addition of
a mode parameter was not taken advantage of in the Smack
ptrace access check. This changes the access check from
always looking for read and write access to using the
passed mode. This will make use of /proc much happier.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack_lsm.c