--- truecrypt/linux/kernel/dm-target.h 2018/04/24 16:43:12 1.1 +++ truecrypt/linux/kernel/dm-target.h 2018/04/24 16:46:49 1.1.1.5 @@ -1,19 +1,30 @@ -#define VERSION_NUM1 1 -#define VERSION_NUM2 0 -#define VERSION_NUM3 0 +/* + Copyright (c) TrueCrypt Foundation. All rights reserved. -#define ARG_EA 0 -#define ARG_KEY 1 -#define ARG_IV 2 -#define ARG_DEV 3 -#define ARG_SEC 4 -#define ARG_RO_START 5 -#define ARG_RO_END 6 -#define ARG_MTIME 7 -#define ARG_ATIME 8 -#define ARG_FLAGS 9 -#define ARG_VOL 10 + Covered by the TrueCrypt License 2.2 the full text of which is contained + in the file License.txt included in TrueCrypt binary and source code + distribution packages. +*/ -#define FLAG_READ_ONLY 0x1 -#define FLAG_HIDDEN_VOLUME_PROTECTION 0x2 -#define FLAG_PROTECTION_ACTIVATED 0x100 +#define TC_VERSION_NUM1 1 +#define TC_VERSION_NUM2 3 +#define TC_VERSION_NUM3 0 + +#define TC_ARG_EA 0 +#define TC_ARG_MODE 1 +#define TC_ARG_KEY 2 +#define TC_ARG_IV 3 +#define TC_ARG_DEV 4 +#define TC_ARG_SEC 5 +#define TC_ARG_RO_START 6 +#define TC_ARG_RO_END 7 +#define TC_ARG_UID 8 +#define TC_ARG_MTIME 9 +#define TC_ARG_ATIME 10 +#define TC_ARG_FLAGS 11 +#define TC_ARG_VOL 12 +#define TC_LAST_ARG 12 + +#define TC_READ_ONLY 0x1 +#define TC_HIDDEN_VOLUME_PROTECTION 0x2 +#define TC_PROTECTION_ACTIVATED 0x100