Smack: Ptrace access check mode
authorCasey Schaufler <casey@schaufler-ca.com>
Tue, 22 Oct 2013 18:47:45 +0000 (11:47 -0700)
committerChanho Park <parkch98@gmail.com>
Fri, 23 Jan 2015 14:25:18 +0000 (23:25 +0900)
commit7536b6b703cf63ef93e061deb32be6bdb97733f5
treefe1ba694004fc3e56a19ea302cc8b2fb9991c966
parentf07760f881d693caded8dcee4df63532725009cb
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

Change-Id: I979f36da1b26d0fba5d73744f340422aaae5cc74
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Ɓukasz Stelmach <l.stelmach@samsung.com>
security/smack/smack_lsm.c