diff options
author | Kees Cook <keescook@chromium.org> | 2012-05-14 10:19:28 -0700 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2012-05-15 10:27:57 +1000 |
commit | 2cc8a71641b4460783ea3bd7a3476043fdf85397 (patch) | |
tree | fe8a39bbedc403306c3a0c2f773a4499d6ae99ec /security/integrity | |
parent | 77b513dda90fd99bd1225410b25e745b74779c1c (diff) | |
download | op-kernel-dev-2cc8a71641b4460783ea3bd7a3476043fdf85397.zip op-kernel-dev-2cc8a71641b4460783ea3bd7a3476043fdf85397.tar.gz |
Yama: replace capable() with ns_capable()
When checking capabilities, the question we want to be asking is "does
current() have the capability in the child's namespace?"
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'security/integrity')
0 files changed, 0 insertions, 0 deletions