blob: 46322405a9a65a3303d3092b56c755e824471bb1 [file] [log] [blame]
David Andersonfe303692020-10-19 22:11:29 -07001# snapuserd - Daemon for servicing dm-user requests for Virtual A/B snapshots.
2
3typeattribute snapuserd coredomain;
4
5init_daemon_domain(snapuserd)
6
7allow snapuserd kmsg_device:chr_file rw_file_perms;
8
9# Reading and writing to /dev/block/dm-* (device-mapper) nodes.
10allow snapuserd block_device:dir r_dir_perms;
11allow snapuserd dm_device:chr_file rw_file_perms;
12allow snapuserd dm_device:blk_file rw_file_perms;
13
14# Reading and writing to dm-user control nodes.
15allow snapuserd dm_user_device:chr_file rw_file_perms;