Smack: adds smackfs/ptrace interface 92/31092/1
authorLukasz Pawelczyk <l.pawelczyk@partner.samsung.com>
Tue, 11 Mar 2014 16:07:06 +0000 (17:07 +0100)
committerZbigniew Jasinski <z.jasinski@samsung.com>
Fri, 28 Nov 2014 09:35:50 +0000 (10:35 +0100)
commit94877ed37973a6d6c9a558231c878e59f054010f
treedb22299b909b3075ecc9ef7706b16cd1895a02a5
parentc6a6778bf7cf17b5c1094d2304c42256e3209b41
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>
security/smack/smack.h
security/smack/smack_lsm.c
security/smack/smackfs.c