[PATCH AUTOSEL 4.19 130/146] Smack: ptrace capability use fixes

2018-10-31 Thread Sasha Levin
From: Casey Schaufler [ Upstream commit dcb569cf6ac99ca899b8109c128b6ae52477a015 ] This fixes a pair of problems in the Smack ptrace checks related to checking capabilities. In both cases, as reported by Lukasz Pawelczyk, the raw capability calls are used rather than the Smack wrapper that

[PATCH AUTOSEL 4.19 130/146] Smack: ptrace capability use fixes

2018-10-31 Thread Sasha Levin
From: Casey Schaufler [ Upstream commit dcb569cf6ac99ca899b8109c128b6ae52477a015 ] This fixes a pair of problems in the Smack ptrace checks related to checking capabilities. In both cases, as reported by Lukasz Pawelczyk, the raw capability calls are used rather than the Smack wrapper that