All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Lautrbach <plautrba@redhat.com>
To: selinux@vger.kernel.org
Cc: Tom Gundersen <teg@jklm.no>, David Herrmann <dh.herrmann@gmail.com>
Subject: Re: [PATCH] dbus: remove deprecated at_console statement
Date: Thu, 22 Nov 2018 10:47:03 +0100	[thread overview]
Message-ID: <pjdefbdqwa0.fsf@redhat.com> (raw)
In-Reply-To: <pjd1s7esfrv.fsf@redhat.com> (Petr Lautrbach's message of "Wed, 21 Nov 2018 14:48:20 +0100")

Petr Lautrbach <plautrba@redhat.com> writes:

>> From: Tom Gundersen <teg@jklm.no>
>>
>> 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>
>>
>> Signed-off-by: Tom Gundersen <teg@jklm.no>
>> CC: David Herrmann <dh.herrmann@gmail.com>
>
> Acked-by: Petr Lautrbach <plautrba@redhat.com>

Merged. Thanks!

>> ---
>>
>> 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(-)
>>
>> diff --git a/dbus/org.selinux.conf b/dbus/org.selinux.conf
>> index a3509781..1ae079d2 100644
>> --- a/dbus/org.selinux.conf
>> +++ b/dbus/org.selinux.conf
>> @@ -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>

      reply	other threads:[~2018-11-22  9:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-16 12:25 [PATCH] dbus: remove deprecated at_console statement Petr Lautrbach
2018-11-21 13:48 ` Petr Lautrbach
2018-11-22  9:47   ` Petr Lautrbach [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pjdefbdqwa0.fsf@redhat.com \
    --to=plautrba@redhat.com \
    --cc=dh.herrmann@gmail.com \
    --cc=selinux@vger.kernel.org \
    --cc=teg@jklm.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.