All of lore.kernel.org
 help / color / mirror / Atom feed
* KDE and SE Linux
@ 2012-06-18  8:03 Russell Coker
  2012-06-19 12:40 ` Stephen Smalley
  0 siblings, 1 reply; 4+ messages in thread
From: Russell Coker @ 2012-06-18  8:03 UTC (permalink / raw)
  To: SE-Linux

The current version of KDE in Debian is 4.8.4, it seems that large parts of 
the KDE environment depend on execmem access, this includes kwin and plasma-
desktop.  Basically there is no possibility of having a KDE desktop 
environment without them.

Debugging this is difficult as the important programs SEGV when denied execmem 
access and the KDE crash handler really gets in the way of debugging it - 
running /usr/bin/plasma-desktop results in the process forking a child and 
detaching from the gdb session.

The most clear example of an execmem issue in KDE is from the program 
/usr/lib/kde4/libexec/kwin_opengl_test which gives the following error:
LLVM ERROR: Allocation failed when allocating new memory in the JIT
Can't allocate RWX Memory: Permission denied

What should I do?  Obviously setting the allow_execmem makes things work, but 
that also allows a lot of unwanted stuff.

I could label the programs in question as unconfined_execmem_t, but that would 
rely on finding all of them and would also give a problem for sessions with 
the user_t domain.

Is it possible to change the way KDE works or is there any other easy fix?

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-19 14:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-18  8:03 KDE and SE Linux Russell Coker
2012-06-19 12:40 ` Stephen Smalley
2012-06-19 12:47   ` Daniel J Walsh
2012-06-19 14:25     ` Hinnerk van Bruinehsen

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.