SELinuxProject / selint

Static code analysis of refpolicy style SELinux policy
Apache License 2.0
38 stars 17 forks source link

Check attribute names in declarations #209

Closed cgzones closed 3 years ago

cgzones commented 3 years ago

For declarations in interfaces like

type foo_t, bar_attr;

also include in checks W-001 and W-002 the attribute bar_attr.

See https://github.com/SELinuxProject/refpolicy/pull/384

ssh.if: 172: (W): Attribute ssh_server is used in interface but not required (W-002) Found the following issue counts: W-002: 1

dburgener commented 3 years ago

Merged. Thanks!