Subject: [PATCH] Smack: Ptrace access check mode 27/12027/2 tizen
authorElena Reshetova <elena.reshetova@intel.com>
Mon, 11 Nov 2013 10:37:38 +0000 (12:37 +0200)
committerElena Reshetova <elena.reshetova@intel.com>
Mon, 11 Nov 2013 13:24:05 +0000 (15:24 +0200)
commit98b1a4a07faf0afeec7943e6a338415f620a0055
tree0eb71235b4ec4745d6b05fe30c57ade2108365a6
parentd79df2f75a8e2b3c0dba3f7aeb309395c1b3942b
Subject: [PATCH] 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: Ia3dfc1ec16f922e03fd5e52861df516e00b0a45e
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack_lsm.c