FAILTEST_READ,
FAILTEST_WRITE,
FAILTEST_FCNTL,
+ FAILTEST_MMAP,
};
struct calloc_call {
} arg;
};
+struct mmap_call {
+ void *ret;
+ void *addr;
+ size_t length;
+ int prot;
+ int flags;
+ int fd;
+ off_t offset;
+};
+
/**
* struct failtest_call - description of a call redirected to failtest module
* @type: the call type
struct read_call read;
struct write_call write;
struct fcntl_call fcntl;
+ struct mmap_call mmap;
} u;
};