[LTP] [PATCH 1/5] syscalls/fanotify03: defined additional tcase members for added control

Amir Goldstein
2019-02-26T13:45:55Z

On Tue, Feb 26, 2019 at 3:32 PM Cyril Hrubis <chrubis@suse.cz> wrote:
>
> Hi!
> > I see the problem.
> > It is based on an older version of
> > syscalls/fanotify03: add test for FAN_MARK_FILESYSTEM permission events
> >
> > You removed support_perm_events on commit or maybe I sent another
> > version based on your review - not sure.
> >
> > Attached the missing prerequisite patch.
> >
> > You may choose to drop support_perm_events again or add a test
> > for kernel permission events support in setup(), but we do need to
> > distinguish between support_exec_events (which comes in a later patch)
> > and FAN_MARK_FILESYSTEM support, as exec events may be backported
> > to distro stable kernels and FAN_MARK_FILESYSTEM is less likely to be
> > backported.
>
> Unfortunately that did the trick only for the first patch, the rest is
> still broken :-(.
>

Here is my branch with Matthew's patches, rebased on master
and tested:
https://github.com/amir73il/ltp/commits/fanotify_exec

Thanks,
Amir.