[LTP] [RFC 0/3] syscalls/fanotify03: add support and tests for new FAN_OPEN_EXEC_PERM flag

Matthew Bobrowski mbobrowski@mbobrowski.org
Wed Oct 24 05:26:56 CEST 2018


This patch series contains the modifications that I'm proposing in order        
to support the testing of the new permission flag FAN_OPEN_EXEC_PERM            
that is to be made available within fanotify.                                   
                                                                                 
The overall idea behind the changes are to allow more control over each         
individual test case based upon how it has been configured. At the same
time, it increases the overall test coverage by performing more operations
on file system objects that have been marked accordingly.
                                                                                
All modifications within this patch series are based on Amir's
'fanotify_sb' branch, which can be found below.                  
                                                                                 
https://github.com/amir73il/ltp/tree/fanotify_sb
                                                                                 
Please note, this is a RFC for testing functionality that is not yet
merged upstream.

---

Matthew Bobrowski (3):
  syscalls/fanotify03: defined additional tcase members to support more
    tcase control
  syscalls/fanotify03: included execve() to generate_events() to
    increase test coverage
  syscalls/fanotify03: add FAN_OPEN_EXEC_PERM tcase support

 testcases/kernel/syscalls/fanotify/.gitignore |   1 +
 testcases/kernel/syscalls/fanotify/fanotify.h |  14 ++
 .../kernel/syscalls/fanotify/fanotify03.c     | 194 ++++++++++++------
 .../kernel/syscalls/fanotify/fanotify_child.c |  14 ++
 4 files changed, 157 insertions(+), 66 deletions(-)
 create mode 100644 testcases/kernel/syscalls/fanotify/fanotify_child.c

-- 
2.17.2


-- 
Matthew Bobrowski <mbobrowski@mbobrowski.org>


More information about the ltp mailing list