* Helge Deller <[email protected]>:
> On 04/17/2014 06:57 PM, [email protected] wrote:
> > I've pushed slightly modified version of this patch. Please check that
> > it works fine for you.
> 
> Yes, works for me (hppa arch, 32bit userspace, 64bit kernel).

Here is a small additional patch:

Attached patch helps to find the reason when the fanotify03 testcase
fails. For the test to work correctly, the kernel option
CONFIG_FANOTIFY_ACCESS_PERMISSIONS needs to be enabled.

Signed-off-by: Helge Deller <[email protected]>

diff --git a/testcases/kernel/syscalls/fanotify/fanotify03.c 
b/testcases/kernel/syscalls/fanotify/fanotify03.c
index 1e0e5f8..71dfa1d 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify03.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify03.c
@@ -296,7 +296,9 @@ static void setup(void)
                            FAN_OPEN_PERM, AT_FDCWD, fname) < 0) {
                tst_brkm(TBROK | TERRNO, cleanup,
                         "fanotify_mark (%d, FAN_MARK_ADD, FAN_ACCESS_PERM | "
-                        "FAN_OPEN_PERM, AT_FDCWD, %s) failed", fd_notify, 
fname);
+                        "FAN_OPEN_PERM, AT_FDCWD, %s) failed. "
+                        "CONFIG_FANOTIFY_ACCESS_PERMISSIONS maybe not "
+                        "configured in kernel?", fd_notify, fname);
        }
 
 }

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to