summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorXu Panda <xu.panda@zte.com.cn>2022-09-12 09:17:19 +0000
committerPaul Moore <paul@paul-moore.com>2022-09-14 07:47:27 -0400
commit09b71adab09570fcc715ff31a6835d0e445e4a54 (patch)
tree7592e99ba72389eda93f0bc6eec06647a7997714 /samples
parent6354324d8a3e31108b53ac8ac6e9b67c9485d75a (diff)
selinux: remove the unneeded result variable
Return the value avc_has_perm() directly instead of storing it in another redundant variable. Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: Xu Panda <xu.panda@zte.com.cn> [PM: subject line tweak] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions