commit | 5d9f53337206f813c619101c8203ddef4fbf4c99 | [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 | bcf0c110d64775b51bf3fd160929bbe76247af41 [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