Blame targeted/macros/program/resmgrd_macros.te
|
Chris PeBenito |
ab58ad |
# Macro for resmgrd
|
|
Chris PeBenito |
ab58ad |
|
|
Chris PeBenito |
ab58ad |
define(`can_resmgrd_connect', `
|
|
Chris PeBenito |
ab58ad |
ifdef(`resmgrd.te', `
|
|
Chris PeBenito |
ab58ad |
allow $1 resmgrd_t:unix_stream_socket connectto;
|
|
Chris PeBenito |
ab58ad |
allow $1 { var_t var_run_t }:dir search;
|
|
Chris PeBenito |
ab58ad |
allow $1 resmgrd_var_run_t:sock_file write;
|
|
Chris PeBenito |
ab58ad |
allow $1 resmgrd_t:fd use;
|
|
Chris PeBenito |
ab58ad |
')
|
|
Chris PeBenito |
ab58ad |
')
|
|
Chris PeBenito |
ab58ad |
|