[LTP] [PATCH 1/5] syscalls/fanotify03: defined additional tcase members for added control
    Cyril Hrubis 
    chrubis@suse.cz
       
    Thu Feb 21 17:42:35 CET 2019
    
    
  
Hi!
I've finally started to look into this patchset (sorry for the long delay), the
changes to fanotify03 looks good to me and I wanted to push them, but I'm
getting rejects:
Checking patch testcases/kernel/syscalls/fanotify/fanotify03.c...
error: while searching for:
static pid_t child_pid;
static unsigned long long event_set[EVENT_MAX];
static unsigned int event_resp[EVENT_MAX];
static char event_buf[EVENT_BUF_LEN];
static int support_perm_events;
static struct tcase {
        const char *tname;
        struct fanotify_mark_type mark;
} tcases[] = {
        {
                "inode mark permission events",
                INIT_FANOTIFY_MARK_TYPE(INODE),
        },
        {
                "mount mark permission events",
                INIT_FANOTIFY_MARK_TYPE(MOUNT),
        },
        {
                "filesystem mark permission events",
                INIT_FANOTIFY_MARK_TYPE(FILESYSTEM),
        },
};
static void generate_events(void)
error: patch failed: testcases/kernel/syscalls/fanotify/fanotify03.c:42
Hunk #3 succeeded at 147 (offset -21 lines).
error: while searching for:
                }
        } else {
                /*
                 * To distigouish between perm event not supported and
                 * filesystem mark not supported.
                 */
                support_perm_events = 1;
Is this based on some yet to be merged patchset?
-- 
Cyril Hrubis
chrubis@suse.cz
    
    
More information about the ltp
mailing list