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

« back to all changes in this revision

Viewing changes to policy/modules/services/fprintd.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:
 
1
## <summary>DBus fingerprint reader service</summary>
 
2
 
 
3
########################################
 
4
## <summary>
 
5
##      Execute a domain transition to run fprintd.
 
6
## </summary>
 
7
## <param name="domain">
 
8
## <summary>
 
9
##      Domain allowed to transition.
 
10
## </summary>
 
11
## </param>
 
12
#
 
13
interface(`fprintd_domtrans',`
 
14
        gen_require(`
 
15
                type fprintd_t, fprintd_exec_t;
 
16
        ')
 
17
 
 
18
        domtrans_pattern($1, fprintd_exec_t, fprintd_t)
 
19
')
 
20
 
 
21
########################################
 
22
## <summary>
 
23
##      Send and receive messages from
 
24
##      fprintd over dbus.
 
25
## </summary>
 
26
## <param name="domain">
 
27
##      <summary>
 
28
##      Domain allowed access.
 
29
##      </summary>
 
30
## </param>
 
31
#
 
32
interface(`fprintd_dbus_chat',`
 
33
        gen_require(`
 
34
                type fprintd_t;
 
35
                class dbus send_msg;
 
36
        ')
 
37
 
 
38
        allow $1 fprintd_t:dbus send_msg;
 
39
        allow fprintd_t $1:dbus send_msg;
 
40
')
 
41