fanotify.c 385 B

1234567891011121314
  1. #include "syscall.h"
  2. #include <sys/fanotify.h>
  3. int fanotify_init(unsigned flags, unsigned event_f_flags)
  4. {
  5. return syscall(SYS_fanotify_init, flags, event_f_flags);
  6. }
  7. int fanotify_mark(int fanotify_fd, unsigned flags, unsigned long long mask,
  8. int dfd, const char *pathname)
  9. {
  10. return syscall(SYS_fanotify_mark, fanotify_fd, flags, __SYSCALL_LL_E(mask), dfd, pathname);
  11. }