summaryrefslogtreecommitdiffstats
blob: a5ea3a4b053dba64f428045a726cb3e62a9f5b84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
type lad_dra7xx, domain;
type lad_dra7xx_exec, exec_type, file_type;
type lad_data_file, file_type, data_file_type;

# Started by init
init_daemon_domain(lad_dra7xx)

# Allow access to /data/lad
allow lad_dra7xx devpts:chr_file {read write ioctl getattr };
allow lad_dra7xx lad_data_file:dir { create_dir_perms };
allow lad_dra7xx lad_data_file:fifo_file { create_file_perms };
allow lad_dra7xx self:socket { create_socket_perms };

# Allow access to hwspinlock and uio device
allow lad_dra7xx hwspinlock_dev:chr_file { rw_file_perms };
allow lad_dra7xx uio_dev:chr_file { rw_file_perms };
allow lad_dra7xx sysfs:file { r_file_perms };