Blame targeted/macros/program/xdm_macros.te
|
Chris PeBenito |
ab58ad |
########################################
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
# can_pipe_xdm(domain)
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
# Allow communication to xdm over a pipe
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
|
|
Chris PeBenito |
ab58ad |
define(`can_pipe_xdm', `
|
|
Chris PeBenito |
ab58ad |
ifdef(`xdm.te', `
|
|
Chris PeBenito |
ab58ad |
allow $1 xdm_t:fd use;
|
|
Chris PeBenito |
ab58ad |
allow $1 xdm_t:fifo_file { getattr read write ioctl };
|
|
Chris PeBenito |
ab58ad |
')
|
|
Chris PeBenito |
ab58ad |
') dnl can_pipe_xdm
|