summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/tst-fanotify.c
AgeCommit message (Collapse)AuthorFilesLines
2014-01-04tst-fanotify: switch to AC_DEFINEMike Frysinger1-0/+1
Reported-by: Joseph S. Myers <joseph@codesourcery.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae1-1/+1
2013-12-31tst-fanotify: check for linux/fanotify.h existenceMike Frysinger1-0/+14
We support older kernels that lack this header, so check for it before we try to use it. Reported-by: Adhemerval Zanella <azanella@linux.vnet.ibm.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-09-28tst-fanotify: fix styleMike Frysinger1-8/+9
Reported-by: Andreas Jaeger <aj@suse.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-09-05tst-fanotify: skip when we get back EPERMMike Frysinger1-5/+8
Since fanotify_init requires CAP_SYS_ADMIN in order to work (which usually means running as root), we need to handle that error case too. Reported-by: Andreas Jaeger <aj@suse.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-09-02tst-fanotify: new simple testMike Frysinger1-0/+56
Basic test for the fanotify functions. Signed-off-by: Mike Frysinger <vapier@gentoo.org>