diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-03-26 16:54:15 +0530 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2016-02-16 13:53:55 -0800 |
commit | 713d685328efca4c4a7c123398c36c11d5dbc245 (patch) | |
tree | d0c685beff472e68cdbcdfaf9730c2dbd7d93953 /security/selinux/hooks.c | |
parent | 21b0489251a03bdd2a1080bcb2527bed82dc15e8 (diff) |
security: Add proper checks for Android specific capability checks
Commit b641072 ("security: Add AID_NET_RAW and AID_NET_ADMIN capability
check in cap_capable().") introduces additional checks for AID_NET_xxx
macros. Since the header file including those macros are conditionally
included, the checks should also be conditionally executed.
Change-Id: Iaec5208d5b95a46b1ac3f2db8449c661e803fa5b
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions