summaryrefslogtreecommitdiff
path: root/policy/modules/services/perdition.if
blob: 949cc11f4ab703992d6cfb9b08185e60228701aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## <summary>Perdition POP and IMAP proxy</summary>

########################################
## <summary>
##	Connect to perdition over a TCP socket
## </summary>
## <param name="domain">
##	<summary>
##	The type of the process performing this action.
##	</summary>
## </param>
#
interface(`perdition_tcp_connect',`
	gen_require(`
		type perdition_t;
	')

	allow $1 perdition_t:tcp_socket { connectto recvfrom };
	allow perdition_t $1:tcp_socket { acceptfrom recvfrom };
	kernel_tcp_recvfrom($1)
')