All of lore.kernel.org
 help / color / mirror / Atom feed
* Further X client cleanups..questions
@ 2005-03-31 22:28 Ivan Gyurdiev
  2005-03-31 22:34 ` Ivan Gyurdiev
  0 siblings, 1 reply; 9+ messages in thread
From: Ivan Gyurdiev @ 2005-03-31 22:28 UTC (permalink / raw)
  To: selinux

I am wondering whether the following are needed:

allow $1_$2_t xdm_t:fd use;
allow $1_$2_t xdm_t:fifo_file rw_file_perms;
dontaudit $1_$2_t xdm_t:tcp_socket { read write };

allow $1_t $2_xserver_t:process signal;

=========

I also plan on moving this out of x_client and into each 
separate client:

# Allow the user domain to send any signal to the $2 process.
can_ps($1_t, $1_$2_t)
allow $1_t $1_$2_t:process signal_perms;

=========

And I've introduced a boolean here:

# Client write xserver shm
if (allow_write_xshm) {
allow $1_t $2_xserver_t:shm write;
allow $1_t $2_xserver_tmpfs_t:file write;
}


-- 
Ivan Gyurdiev <ivg2@cornell.edu>
Cornell University


--
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] 9+ messages in thread

end of thread, other threads:[~2005-04-06  5:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-31 22:28 Further X client cleanups..questions Ivan Gyurdiev
2005-03-31 22:34 ` Ivan Gyurdiev
2005-04-02  4:31   ` [ PATCH ] X clients cleanup Patch #3 Ivan Gyurdiev
2005-04-02 12:04     ` Daniel J Walsh
2005-04-02 12:27       ` Russell Coker
2005-04-02 15:43         ` Ivan Gyurdiev
     [not found]           ` <425154AB.8080206@redhat.com>
2005-04-05 22:56             ` Ivan Gyurdiev
2005-04-06  4:18               ` Ivan Gyurdiev
2005-04-06  4:41                 ` Ivan Gyurdiev

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.