Home | History | Annotate | Download | only in tests
      1 #ifdef HAVE_CONFIG_H
      2 # include "config.h"
      3 #endif
      4 
      5 #if defined HAVE_SYS_FANOTIFY_H && defined HAVE_FANOTIFY_MARK
      6 # include <sys/fanotify.h>
      7 int
      8 main(void)
      9 {
     10 	fanotify_mark(-1, FAN_MARK_ADD, FAN_MODIFY | FAN_ONDIR, -100, ".");
     11 	return 0;
     12 }
     13 #else
     14 int
     15 main(void)
     16 {
     17 	return 77;
     18 }
     19 #endif
     20