20 lines
282 B
C
20 lines
282 B
C
|
#ifdef HAVE_CONFIG_H
|
||
|
# include "config.h"
|
||
|
#endif
|
||
|
|
||
|
#if defined HAVE_SYS_FANOTIFY_H && defined HAVE_FANOTIFY_MARK
|
||
|
# include <sys/fanotify.h>
|
||
|
int
|
||
|
main(void)
|
||
|
{
|
||
|
fanotify_mark(-1, FAN_MARK_ADD, FAN_MODIFY | FAN_ONDIR, -100, ".");
|
||
|
return 0;
|
||
|
}
|
||
|
#else
|
||
|
int
|
||
|
main(void)
|
||
|
{
|
||
|
return 77;
|
||
|
}
|
||
|
#endif
|