~ubuntu-branches/ubuntu/natty/refpolicy-ubuntu/natty

« back to all changes in this revision

Viewing changes to policy/modules/services/rlogin.if

  • Committer: Bazaar Package Importer
  • Author(s): Caleb Case
  • Date: 2009-10-19 01:48:39 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20091019014839-0rpi67ygkrjya30k
Tags: 0.2.20090730-0ubuntu1
* Updated to upstream release 2.20090730
* Handle Upstart direct execution of daemons.
* Pre-depend on selinux to ensure that the trigger is handled (LP: #434084).

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
        corecmd_search_bin($1)
19
19
        domtrans_pattern($1, rlogind_exec_t, rlogind_t)
20
20
')
 
21
 
 
22
########################################
 
23
## <summary>
 
24
##      read rlogin homedir content (.config)
 
25
## </summary>
 
26
## <param name="userdomain_prefix">
 
27
##      <summary>
 
28
##      The prefix of the user domain (e.g., user
 
29
##      is the prefix for user_t).
 
30
##      </summary>
 
31
## </param>
 
32
## <param name="user_domain">
 
33
##      <summary>
 
34
##      The type of the user domain.
 
35
##      </summary>
 
36
## </param>
 
37
#
 
38
template(`rlogin_read_home_content',`
 
39
        gen_require(`
 
40
                type rlogind_home_t;
 
41
        ')
 
42
 
 
43
        userdom_search_user_home_dirs($1)
 
44
        list_dirs_pattern($1, rlogind_home_t, rlogind_home_t)
 
45
        read_files_pattern($1, rlogind_home_t, rlogind_home_t)
 
46
        read_lnk_files_pattern($1, rlogind_home_t, rlogind_home_t)
 
47
')