Thread (22 messages) 22 messages, 7 authors, 2020-07-06

Re: [PATCH 3/3] selftests: add readfile(2) selftests

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2020-07-05 07:34:35
Also in: linux-fsdevel, linux-kselftest, linux-man, lkml

On Sun, Jul 05, 2020 at 03:41:48AM +0200, Heinrich Schuchardt wrote:
On 7/4/20 4:02 PM, Greg Kroah-Hartman wrote:
quoted
Test the functionality of readfile(2) in various ways.
Hello Greg,

I expect readfile() to generate fanotify events FAN_OPEN_PERM, FAN_OPEN,
FAN_ACCESS_PERM, FAN_ACCESS, FAN_CLOSE_NOWRITE in this sequence.
Yes, it should, I don't think I do anything unique here when it comes to
vfs accesses that would go around those events.
Looking at patch 1/3 you took care of notifications. Would this deserve
testing here?
Possibly, do we have other in-tree tests of syscalls that validate those
events properly being created?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help