error_inject_syacall.h 274 B

123456789101112131415
  1. // error_inject_syscall.h
  2. #ifndef ERROR_INJECT_SYSCALL_H
  3. #define ERROR_INJECT_SYSCALL_H
  4. #define MAX_DATA_LEN 1024
  5. struct event {
  6. char pathname[256];
  7. int mode;
  8. char command[50];
  9. size_t size;
  10. char data[MAX_DATA_LEN];
  11. };
  12. #endif // ERROR_INJECT_SYSCALL_H