commit | 1f428ea0547203924926d685495859e879ac63ce | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Thu Jun 21 12:35:58 2018 -0700 |
committer | David Anderson <dvander@google.com> | Mon Jun 25 11:37:51 2018 -0700 |
tree | 025e31900ceed198c12d461bbc197271fa2620b2 | |
parent | fc1cf90741e59d5615a7dcea1813f38bfa3a2eec [diff] |
libdm: Add helper classes for loop control. This change adds a LoopControl class for interacting with the loop control device. In addition it provides a LoopDevice class for creating temporary loop devices. This is aimed at being a building block for libdm tests, so the current functionality is limited to attaching and detaching file descriptors and finding free loop devices. Bug: 110035986 Test: libdm_test gtest Change-Id: Ice2891e3a44a037aff7b81c63ac793815640d582