fedora-selinux / selinux-policy

selinux-policy for Fedora is a large patch off the mainline
GNU General Public License v2.0
156 stars 157 forks source link

Update the auth_dontaudit_read_passwd_file() interface #2094

Closed zpytela closed 2 months ago

zpytela commented 2 months ago

Include getattr permission in the auth_dontaudit_read_passwd_file() interface. This denial manifests only in permissive mode.

The commit addresses the following AVC denial: avc: denied { getattr } for pid=79656 comm="selinux-autorel" path="/etc/passwd" dev="dm-0" ino=17705170 scontext=system_u:system_r:selinux_autorelabel_generator_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file permissive=1

Resolves: rhbz#2275266