Smack: fix the subject/object order in smack_ptrace_traceme()
authorLukasz Pawelczyk <l.pawelczyk@partner.samsung.com>
Tue, 11 Mar 2014 16:07:04 +0000 (17:07 +0100)
committerCasey Schaufler <casey@schaufler-ca.com>
Fri, 11 Apr 2014 21:34:17 +0000 (14:34 -0700)
commit959e6c7f1eee42f14d31755b1134f5615db1d9bc
tree1931751fc4a9c37635c106498b7c2159e3f6576f
parent55dfc5da1a9b7e623b6f35620c74280555df0288
Smack: fix the subject/object order in smack_ptrace_traceme()

The order of subject/object is currently reversed in
smack_ptrace_traceme(). It is currently checked if the tracee has a
capability to trace tracer and according to this rule a decision is made
whether the tracer will be allowed to trace tracee.

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_access.c
security/smack/smack_lsm.c