diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2017-05-31 13:23:41 -0700 |
---|---|---|
committer | Casey Schaufler <casey@schaufler-ca.com> | 2017-06-01 09:27:21 -0700 |
commit | f28e783ff668cf5757182f6b00d488be37226bff (patch) | |
tree | 7d81e1fc889d8ba239cbac25d79c8d59e5f68795 /scripts/mkversion | |
parent | 51d59af26fe81967e0d7ec92bd9381d3b26434f3 (diff) |
Smack: Use cap_capable in privilege check
Use cap_capable() rather than capable() in the Smack privilege
check as the former does not invoke other security module
privilege check, while the later does. This becomes important
when stacking. It may be a problem even with minor modules.
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'scripts/mkversion')
0 files changed, 0 insertions, 0 deletions