dbus: remove deprecated at_console statement
PATCH 1/1 dbus: remove deprecated at_console statement
From: Tom Gundersen <[email protected]>
As described in [0], this likely did not have the intended effect, so simply remove it. The change in behavior is that up until this patch it would be possible for any non-system user to potentially gain access to selinux' dbus interface. Now this is extended to also allow any system user.
As the comment indicates, PolicyKit is used to enforce access, so this should be perfectly harmless.
[0]: <https://www.spinics.net/lists/linux-bluetooth/msg75267.html>
---
This patch is from PR 113 - https://github.com/SELinuxProject/selinux/pull/113
dbus/org.selinux.conf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
dbus/org.selinux.conf +1 -5
@@ -12,12 +12,8 @@ <!-- Allow anyone to invoke methods on the interfaces, authorization is performed by PolicyKit --> - <policy at_console="true"> - <allow send_destination="org.selinux"/> - </policy> <policy context="default"> - <allow send_destination="org.selinux" - send_interface="org.freedesktop.DBus.Introspectable"/> + <allow send_destination="org.selinux"/> </policy> </busconfig>
Signature · 1 line
2.19.1
Quoted 8 lines
From: Tom Gundersen <[email protected]>
As described in [0], this likely did not have the intended effect, so simply remove it. The change in behavior is that up until this patch it would be possible for any non-system user to potentially gain access to selinux' dbus interface. Now this is extended to also allow any system user.
Quoted 7 lines
As the comment indicates, PolicyKit is used to enforce access, so this should be perfectly harmless.
[0]: <https://www.spinics.net/lists/linux-bluetooth/msg75267.html>
Signed-off-by Tom Gundersen <[email protected]>CC David Herrmann <[email protected]>
Quoted 25 lines
---
This patch is from PR 113 - https://github.com/SELinuxProject/selinux/pull/113
dbus/org.selinux.conf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)dbus/org.selinux.conf +1
-5@@ -12,12 +12,8 @@ <!-- Allow anyone to invoke methods on the interfaces, authorization is performed by PolicyKit --> - <policy at_console="true"> - <allow send_destination="org.selinux"/> - </policy> <policy context="default"> - <allow send_destination="org.selinux" - send_interface="org.freedesktop.DBus.Introspectable"/> + <allow send_destination="org.selinux"/> </policy> </busconfig>
Quoted 11 lines · Petr Lautrbach
Quoted 11 lines
From: Tom Gundersen <[email protected]>
As described in [0], this likely did not have the intended effect, so simply remove it. The change in behavior is that up until this patch it would be possible for any non-system user to potentially gain access to selinux' dbus interface. Now this is extended to also allow any system user.
As the comment indicates, PolicyKit is used to enforce access, so this should be perfectly harmless.
Quoted 6 lines
Quoted 4 lines
[0]: <https://www.spinics.net/lists/linux-bluetooth/msg75267.html>
Signed-off-by Tom Gundersen <[email protected]>CC David Herrmann <[email protected]>Acked-by Petr Lautrbach <[email protected]>
Merged. Thanks!
Quoted 25 lines
Quoted 25 lines
---
This patch is from PR 113 - https://github.com/SELinuxProject/selinux/pull/113
dbus/org.selinux.conf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)dbus/org.selinux.conf +1
-5@@ -12,12 +12,8 @@ <!-- Allow anyone to invoke methods on the interfaces, authorization is performed by PolicyKit --> - <policy at_console="true"> - <allow send_destination="org.selinux"/> - </policy> <policy context="default"> - <allow send_destination="org.selinux" - send_interface="org.freedesktop.DBus.Introspectable"/> + <allow send_destination="org.selinux"/> </policy> </busconfig>