1 --- dietlibc-0.32/include/linux/loop.h~ 2003-08-19 18:58:18.000000000 +0200
2 +++ dietlibc-0.32/include/linux/loop.h 2011-05-30 16:50:15.748100072 +0200
8 + __u64 lo_device; /* ioctl r/o */
9 + __u64 lo_inode; /* ioctl r/o */
10 + __u64 lo_rdevice; /* ioctl r/o */
12 + __u64 lo_sizelimit;/* bytes, 0 == max available */
13 + __u32 lo_number; /* ioctl r/o */
14 + __u32 lo_encrypt_type;
15 + __u32 lo_encrypt_key_size; /* ioctl w/o */
16 + __u32 lo_flags; /* ioctl r/o */
17 + __u8 lo_file_name[LO_NAME_SIZE];
18 + __u8 lo_crypt_name[LO_NAME_SIZE];
19 + __u8 lo_encrypt_key[LO_KEY_SIZE]; /* ioctl w/o */
23 /* Loop filter types */
24 #define LO_CRYPT_NONE 0
25 #define LO_CRYPT_XOR 1
27 #define LO_CRYPT_IDEA 6
28 #define LO_CRYPT_DUMMY 9
29 #define LO_CRYPT_SKIPJACK 10
30 +#define LO_CRYPT_CRYPTOAPI 18
31 #define MAX_LO_CRYPT 20
33 /* IOCTL commands --- we will commandeer 0x4C ('L') */
35 #define LOOP_CLR_FD 0x4C01
36 #define LOOP_SET_STATUS 0x4C02
37 #define LOOP_GET_STATUS 0x4C03
38 +#define LOOP_SET_STATUS 0x4C02
39 +#define LOOP_GET_STATUS 0x4C03
40 +#define LOOP_SET_STATUS64 0x4C04
41 +#define LOOP_GET_STATUS64 0x4C05
42 +#define LOOP_CHANGE_FD 0x4C06
43 +#define LOOP_SET_CAPACITY 0x4C07