Smack: adds smackfs/ptrace interface 66/23266/1
authorLukasz Pawelczyk <l.pawelczyk@partner.samsung.com>
Tue, 11 Mar 2014 16:07:06 +0000 (17:07 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Fri, 20 Jun 2014 15:17:51 +0000 (17:17 +0200)
commit9d9530ef50eca71b25beb25471079984484cd536
tree8c1b70814021cc501b8f9fb56b83bd466a16678e
parent93c84240d46436b69c085ba223759cb8fe646903
Smack: adds smackfs/ptrace interface

This allows to limit ptrace beyond the regular smack access rules.
It adds a smackfs/ptrace interface that allows smack to be configured
to require equal smack labels for PTRACE_MODE_ATTACH access.
See the changes in Documentation/security/Smack.txt below for details.

Change-Id: I5459ff414e96dde0430ed8febd92c361c9dc1d81
Signed-off-by: Lukasz Pawelczyk <l.pawelczyk@partner.samsung.com>
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Documentation/security/Smack.txt
security/smack/smack.h
security/smack/smack_access.c
security/smack/smack_lsm.c
security/smack/smackfs.c