/system/sepolicy/prebuilts/api/34.0/private/ |
D | snapuserd.te | 1 # snapuserd - Daemon for servicing dm-user requests for Virtual A/B snapshots. 2 type snapuserd, domain; 5 typeattribute snapuserd coredomain; 7 init_daemon_domain(snapuserd) 9 allow snapuserd kmsg_device:chr_file rw_file_perms; 11 # Allow snapuserd to reach block devices in /dev/block. 12 allow snapuserd block_device:dir search; 15 allow snapuserd sysfs:dir { open read }; 20 allow snapuserd sysfs_dm:dir { open read search }; 21 allow snapuserd sysfs_dm:file r_file_perms; [all …]
|
D | update_engine.te | 12 # Allow to start snapuserd for dm-user communication. 24 # Allow to communicate with the snapuserd service, for dm-user snapshots. 25 allow update_engine snapuserd:unix_stream_socket connectto;
|
D | update_verifier.te | 11 # allow update_verifier to connect to snapuserd daemon 13 allow update_verifier snapuserd:unix_stream_socket connectto;
|
D | recovery.te | 34 # Start snapuserd for merging VABC updates 37 # Needed to communicate with snapuserd to complete merges. 39 allow recovery snapuserd:unix_stream_socket connectto;
|
D | fastbootd.te | 32 # Start snapuserd for merging VABC updates 35 # Needed to communicate with snapuserd to complete merges. 37 allow fastbootd snapuserd:unix_stream_socket connectto;
|
/system/sepolicy/private/ |
D | snapuserd.te | 1 # snapuserd - Daemon for servicing dm-user requests for Virtual A/B snapshots. 2 type snapuserd, domain; 5 typeattribute snapuserd coredomain; 7 init_daemon_domain(snapuserd) 9 allow snapuserd kmsg_device:chr_file rw_file_perms; 11 # Allow snapuserd to reach block devices in /dev/block. 12 allow snapuserd block_device:dir search; 15 allow snapuserd sysfs:dir { open read }; 20 allow snapuserd sysfs_dm:dir { open read search }; 21 allow snapuserd sysfs_dm:file r_file_perms; [all …]
|
D | update_engine.te | 12 # Allow to start snapuserd for dm-user communication. 24 # Allow to communicate with the snapuserd service, for dm-user snapshots. 25 allow update_engine snapuserd:unix_stream_socket connectto;
|
D | update_verifier.te | 11 # allow update_verifier to connect to snapuserd daemon 13 allow update_verifier snapuserd:unix_stream_socket connectto;
|
D | recovery.te | 34 # Start snapuserd for merging VABC updates 37 # Needed to communicate with snapuserd to complete merges. 39 allow recovery snapuserd:unix_stream_socket connectto;
|
/system/sepolicy/prebuilts/api/33.0/private/ |
D | snapuserd.te | 1 # snapuserd - Daemon for servicing dm-user requests for Virtual A/B snapshots. 2 type snapuserd, domain; 5 typeattribute snapuserd coredomain; 7 init_daemon_domain(snapuserd) 9 allow snapuserd kmsg_device:chr_file rw_file_perms; 11 allow snapuserd self:capability ipc_lock; 13 # Allow snapuserd to reach block devices in /dev/block. 14 allow snapuserd block_device:dir search; 17 allow snapuserd sysfs:dir { open read }; 22 allow snapuserd sysfs_dm:dir { open read search }; [all …]
|
D | update_engine.te | 12 # Allow to start snapuserd for dm-user communication. 24 # Allow to communicate with the snapuserd service, for dm-user snapshots. 25 allow update_engine snapuserd:unix_stream_socket connectto;
|
D | fastbootd.te | 32 # Start snapuserd for merging VABC updates 35 # Needed to communicate with snapuserd to complete merges. 37 allow fastbootd snapuserd:unix_stream_socket connectto;
|
D | recovery.te | 34 # Start snapuserd for merging VABC updates 37 # Needed to communicate with snapuserd to complete merges. 39 allow recovery snapuserd:unix_stream_socket connectto;
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | snapuserd.te | 1 # snapuserd - Daemon for servicing dm-user requests for Virtual A/B snapshots. 2 type snapuserd, domain; 5 typeattribute snapuserd coredomain; 7 init_daemon_domain(snapuserd) 9 allow snapuserd kmsg_device:chr_file rw_file_perms; 12 allow snapuserd block_device:dir r_dir_perms; 13 allow snapuserd dm_device:chr_file rw_file_perms; 14 allow snapuserd dm_device:blk_file rw_file_perms; 17 allow snapuserd dm_user_device:dir r_dir_perms; 18 allow snapuserd dm_user_device:chr_file rw_file_perms; [all …]
|
D | update_engine.te | 12 # Allow to start snapuserd for dm-user communication. 24 # Allow to communicate with the snapuserd service, for dm-user snapshots. 25 allow update_engine snapuserd:unix_stream_socket connectto;
|
D | fastbootd.te | 31 # Start snapuserd for merging VABC updates 34 # Needed to communicate with snapuserd to complete merges. 36 allow fastbootd snapuserd:unix_stream_socket connectto;
|
D | recovery.te | 34 # Start snapuserd for merging VABC updates 37 # Needed to communicate with snapuserd to complete merges. 39 allow recovery snapuserd:unix_stream_socket connectto;
|
/system/sepolicy/prebuilts/api/32.0/private/ |
D | snapuserd.te | 1 # snapuserd - Daemon for servicing dm-user requests for Virtual A/B snapshots. 2 type snapuserd, domain; 5 typeattribute snapuserd coredomain; 7 init_daemon_domain(snapuserd) 9 allow snapuserd kmsg_device:chr_file rw_file_perms; 12 allow snapuserd block_device:dir r_dir_perms; 13 allow snapuserd dm_device:chr_file rw_file_perms; 14 allow snapuserd dm_device:blk_file rw_file_perms; 17 allow snapuserd dm_user_device:dir r_dir_perms; 18 allow snapuserd dm_user_device:chr_file rw_file_perms; [all …]
|
D | update_engine.te | 12 # Allow to start snapuserd for dm-user communication. 24 # Allow to communicate with the snapuserd service, for dm-user snapshots. 25 allow update_engine snapuserd:unix_stream_socket connectto;
|
D | fastbootd.te | 31 # Start snapuserd for merging VABC updates 34 # Needed to communicate with snapuserd to complete merges. 36 allow fastbootd snapuserd:unix_stream_socket connectto;
|
D | recovery.te | 34 # Start snapuserd for merging VABC updates 37 # Needed to communicate with snapuserd to complete merges. 39 allow recovery snapuserd:unix_stream_socket connectto;
|
/system/core/fs_mgr/libsnapshot/snapuserd/ |
D | snapuserd.rc | 1 service snapuserd /system/bin/snapuserd 2 socket snapuserd stream 0660 system system 8 seclabel u:r:snapuserd:s0 10 service snapuserd_proxy /system/bin/snapuserd -socket-handoff 11 socket snapuserd stream 0660 system system 17 seclabel u:r:snapuserd:s0 19 on property:init.svc.snapuserd=stopped 20 setprop snapuserd.ready false
|
D | Android.bp | 61 "dm-snapshot-merge/snapuserd.cpp", 127 // snapuserd is started during early boot by first-stage init. At that 130 // snapuserd, which would lead to deadlock if we had to handle page 142 name: "snapuserd", 145 "snapuserd.rc", 152 // It will also create a symblink on /system/bin/snapuserd that point to 159 "snapuserd.rc", 166 symlinks: ["snapuserd"], 177 "dm-snapshot-merge/snapuserd.cpp",
|
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
D | snapuserd_server.cpp | 105 HandlerThread::HandlerThread(std::shared_ptr<SnapshotHandler> snapuserd) in HandlerThread() argument 106 : snapuserd_(snapuserd), misc_name_(snapuserd_->GetMiscName()) {} in HandlerThread() 156 auto retval = "success," + std::to_string(handler->snapuserd()->GetNumSectors()); in Receivemsg() 175 if (!(*iter)->snapuserd() || (*iter)->snapuserd()->IsAttached()) { in Receivemsg() 225 (*iter)->snapuserd()->NotifyIOTerminated(); in Receivemsg() 314 if (!handler->snapuserd()->Start()) { in RunThread() 318 handler->snapuserd()->CloseFds(); in RunThread() 319 bool merge_completed = handler->snapuserd()->CheckMergeCompletionStatus(); in RunThread() 320 handler->snapuserd()->UnmapBufferRegion(); in RunThread() 349 if (handler->snapuserd()->IsAttached()) { in RunThread() [all …]
|
/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/ |
D | snapuserd_server.cpp | 93 DmUserHandler::DmUserHandler(std::shared_ptr<Snapuserd> snapuserd) in DmUserHandler() argument 94 : snapuserd_(snapuserd), misc_name_(snapuserd_->GetMiscName()) {} in DmUserHandler() 144 auto retval = "success," + std::to_string(handler->snapuserd()->GetNumSectors()); in Receivemsg() 163 if (!(*iter)->snapuserd() || (*iter)->snapuserd()->IsAttached()) { in Receivemsg() 230 handler->snapuserd()->SetSocketPresent(is_socket_present_); in RunThread() 231 if (!handler->snapuserd()->Start()) { in RunThread() 235 handler->snapuserd()->CloseFds(); in RunThread() 236 handler->snapuserd()->CheckMergeCompletionStatus(); in RunThread() 237 handler->snapuserd()->UnmapBufferRegion(); in RunThread() 260 if (handler->snapuserd()->IsAttached()) { in RunThread() [all …]
|