Re: selection labeling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christopher J. PeBenito wrote:
I ran into an interesting denial:

avc:  denied  { setattr setattr } for request=X11:SetSelectionOwner
comm=dbus-launch
selection=_DBUS_SESSION_BUS_SELECTION_root_3c39a16f05862d57c3d6ef0047356754
scontext=root:staff_r:staff_t
tcontext=system_u:object_r:xselection_t
tclass=x_selection

Other than the double setattr in the permissions, trying to label this
selection for anything but the default doesn't seem possible.  It seems
that this should be type_transitioned, but it didn't seem to work.

Whoops, I know why the double setattr is there. I'll get that fixed, ignore that for now.

We probably need to have wildcarding in the X label support, like the way filenames work. Do you agree?

But I don't have a clue why D-BUS is creating selections with those insane names. It looks like abuse of the selection mechanism to me. Selections are used for IPC, hence they're supposed to have fixed, standard names. Actually it doesn't make sense to me that D-BUS is using selections at all.

--
Eamon Walsh <ewalsh@xxxxxxxxxxxxx>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux