The current app-admin/sudo packages do not use the USE="selinux" flag to enable selinux support. Enabling this allows SELinux users to define types and roles in the sudoers file and provide type/role information as a command-line option. Enabling --with-selinux (through "$(use_with selinux")) is sufficient here (it automatically updates the man pages etc.) Reproducible: Always
Created attachment 295457 [details, diff] Simple ebuild patch to enable SELinux support This is all there is to it to enable SELinux support in sudo
feel free to commit that
Done, thanks.