~ubuntu-branches/ubuntu/dapper/selinux-policy-default/dapper

« back to all changes in this revision

Viewing changes to macros/program/ypbind_macros.te

  • Committer: Bazaar Package Importer
  • Author(s): Russell Coker
  • Date: 2004-06-10 18:08:00 UTC
  • Revision ID: james.westby@ubuntu.com-20040610180800-gagxr0cdovi7mv2i
Tags: upstream-1.12
ImportĀ upstreamĀ versionĀ 1.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
define(`can_ypbind',`')
 
2
 
 
3
ifdef(`ypbind.te', `
 
4
ifdef(`allow_ypbind', `
 
5
undefine(`can_ypbind')
 
6
define(`can_ypbind', `
 
7
r_dir_file($1,var_yp_t)
 
8
can_network($1)
 
9
allow $1 port_t:{ tcp_socket udp_socket } name_bind;
 
10
allow $1 $1:capability { net_bind_service };
 
11
') dnl can_ypbind
 
12
') dnl allow_ypbind
 
13
') dnl ypbind.te