Old kernel includes don't necessarily have IN_MOVE_SELF

-Andi

diff -u testcases/kernel/syscalls/inotify/inotify02.c-o 
testcases/kernel/syscalls/inotify/inotify02.c
--- testcases/kernel/syscalls/inotify/inotify02.c-o     2007-10-25 
12:04:58.000000000 +0200
+++ testcases/kernel/syscalls/inotify/inotify02.c       2007-10-25 
12:05:45.000000000 +0200
@@ -52,6 +52,10 @@
 #ifdef __NR_inotify_init
 #include <linux/inotify.h>
 
+#ifndef IN_MOVE_SELF
+#define IN_MOVE_SELF            0x00000800
+#endif
+
 #define EVENT_MAX 1024
 /* size of the event structure, not counting name */
 #define EVENT_SIZE  (sizeof (struct inotify_event))

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to