summaryrefslogtreecommitdiff
path: root/libdm/ioctl/libdm-targets.h
diff options
context:
space:
mode:
authorKarol Lewandowski <k.lewandowsk@samsung.com>2024-01-23 12:58:00 +0100
committerKarol Lewandowski <k.lewandowsk@samsung.com>2024-01-23 12:58:00 +0100
commitcbab226a74fbaaa43220dee80e8435555c6506ce (patch)
tree1bbd14ec625ea85d0bcc32232d51c1f71e2604d2 /libdm/ioctl/libdm-targets.h
parent44a3c2255bc480c82f34db156553a595606d8a0b (diff)
downloaddevice-mapper-sandbox/klewandowski/upstream_2.03.22.tar.gz
device-mapper-sandbox/klewandowski/upstream_2.03.22.tar.bz2
device-mapper-sandbox/klewandowski/upstream_2.03.22.zip
Diffstat (limited to 'libdm/ioctl/libdm-targets.h')
-rw-r--r--libdm/ioctl/libdm-targets.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/libdm/ioctl/libdm-targets.h b/libdm/ioctl/libdm-targets.h
index 8fc8738..022b02c 100644
--- a/libdm/ioctl/libdm-targets.h
+++ b/libdm/ioctl/libdm-targets.h
@@ -10,7 +10,7 @@
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef LIB_DMTARGETS_H
@@ -47,7 +47,7 @@ struct dm_task {
mode_t mode;
uint32_t read_ahead;
uint32_t read_ahead_flags;
- union {
+ union dmi_u {
struct dm_ioctl *v4;
} dmi;
char *newname;
@@ -65,8 +65,13 @@ struct dm_task {
int new_uuid;
int secure_data;
int retry_remove;
+ int deferred_remove;
int enable_checks;
int expected_errno;
+ int ioctl_errno;
+ int ima_measurement;
+
+ int record_timestamp;
char *uuid;
char *mangled_uuid;
@@ -74,7 +79,7 @@ struct dm_task {
struct cmd_data {
const char *name;
- const int cmd;
+ const unsigned cmd;
const int version[3];
};