aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/tst-fanotify.c
AgeCommit message (Collapse)Author
2017-01-01Update copyright dates with scripts/update-copyrights.Joseph Myers
2016-02-24Remove linux/fanotify.h configure test.Joseph Myers
Now we require Linux 3.2 or later kernel headers everywhere, the configure test for <linux/fanotify.h> is obsolete; this patch removes it. Tested for x86_64. * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not test for header. * sysdeps/unix/sysv/linux/configure: Regenerated. * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef. * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]: Remove conditional code. [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
2016-01-04Update copyright dates with scripts/update-copyrights.Joseph Myers
2015-01-02Update copyright dates with scripts/update-copyrights.Joseph Myers
2014-01-04tst-fanotify: switch to AC_DEFINEMike Frysinger
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 McRae
2013-12-31tst-fanotify: check for linux/fanotify.h existenceMike Frysinger
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 Frysinger
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 Frysinger
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 Frysinger
Basic test for the fanotify functions. Signed-off-by: Mike Frysinger <vapier@gentoo.org>