Skip to content

Avc open

Laurent Bigonville requested to merge bigon/dbus:avc_open into master

Stop using avc_init() which is deprecated and use avc_open() instead. With this commit dbus-daemon will stop using a thread to monitor the avc netlink and will poll it instead.

Also, use SELINUX_CB_POLICYLOAD instead of AVC_CALLBACK_RESET callback as this only seems necessary on policy reload and not if the enforcing mode is changing.

See discussion at https://marc.info/?l=selinux&m=152173501930182&w=2

Edited by Laurent Bigonville

Merge request reports