Michal Privoznik 7135cee755 check-file-access: Allow specifying action
The check-file-access.pl script is used to match access list
generated by virtestmock against whitelisted rules stored in
file_access_whitelist.txt. So far the rules are in form:

  $path: $progname: $testname

This is not sufficient because the rule does not take into
account 'action' that caused $path to appear in the list of
accessed files. After this commit the rule can be in new form:

  $path: $action: $progname: $testname

where $action is one from ("open", "fopen", "access", "stat",
"lstat", "connect"). This way the white list can be fine tuned to
allow say access() but not connect().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-08-15 10:15:29 +02:00
..
2017-11-20 13:22:48 +01:00
2018-08-13 15:50:01 +02:00
2017-04-27 14:13:19 +02:00
2017-04-11 13:23:01 +02:00
2017-11-03 13:24:12 +01:00
2018-04-10 15:16:23 +02:00
2013-07-29 13:09:39 -06:00
2018-03-12 20:04:08 +04:00
2016-05-02 07:18:25 +02:00
2017-11-03 13:24:12 +01:00
2017-07-26 15:33:45 +02:00
2017-04-27 14:13:19 +02:00
2017-11-24 11:47:26 -05:00
2017-11-03 13:24:12 +01:00
2015-04-14 19:33:02 +02:00
2018-01-25 17:16:08 +01:00
2016-09-14 13:18:07 +02:00
2016-08-24 17:43:29 +02:00
2016-05-02 07:18:25 +02:00
2018-07-27 15:47:45 +02:00
2018-07-27 15:44:42 +02:00
2017-10-05 09:09:50 +02:00