OLD | NEW |
| (Empty) |
1 policy_module(chromium-browser,1.0.0) | |
2 | |
3 gen_require(` | |
4 type gnome_home_t; | |
5 type proc_t; | |
6 type tmpfs_t; | |
7 type unconfined_t; | |
8 type urandom_device_t; | |
9 type user_devpts_t; | |
10 type user_tmpfs_t; | |
11 ') | |
12 | |
13 type chromium_renderer_t; | |
14 domain_base_type(chromium_renderer_t) | |
15 role unconfined_r types chromium_renderer_t; | |
16 | |
17 allow unconfined_t chromium_renderer_t:process { dyntransition }; | |
18 | |
19 allow chromium_renderer_t unconfined_t:unix_stream_socket { read write send_msg
recv_msg }; | |
20 allow unconfined_t chromium_renderer_t:unix_stream_socket { read write send_msg
recv_msg }; | |
21 | |
22 allow chromium_renderer_t urandom_device_t:chr_file { read }; | |
23 allow chromium_renderer_t user_devpts_t:chr_file { write }; | |
24 allow chromium_renderer_t self:process { execmem }; | |
25 allow chromium_renderer_t self:fifo_file { read write }; | |
26 allow chromium_renderer_t self:unix_dgram_socket { read write create send_msg re
cv_msg sendto }; | |
27 allow chromium_renderer_t unconfined_t:unix_dgram_socket { read write send_msg r
ecv_msg }; | |
28 allow unconfined_t chromium_renderer_t:unix_dgram_socket { read write send_msg r
ecv_msg }; | |
29 allow chromium_renderer_t user_tmpfs_t:file { read write append open getattr }; | |
30 allow chromium_renderer_t tmpfs_t:file { read write }; | |
31 allow chromium_renderer_t self:shm { create destroy getattr setattr read write a
ssociate unix_read unix_write }; | |
32 | |
33 # For reading dictionaries out of the user-data-dir | |
34 allow chromium_renderer_t gnome_home_t:file { read getattr }; | |
35 | |
36 miscfiles_read_localization(chromium_renderer_t); | |
37 miscfiles_read_fonts(chromium_renderer_t); | |
38 | |
39 # The renderer will attempt to read meminfo | |
40 dontaudit chromium_renderer_t proc_t:file { read }; | |
OLD | NEW |