[CRIU] [PATCH 00/17] fanotify c/r, v2
Cyrill Gorcunov
gorcunov at openvz.org
Mon Dec 10 16:33:56 EST 2012
Hi guys, here is a slightly updated version, please take
a look and tell what you think. Thanks!
Cyrill Gorcunov (17):
fsnotify: Rename inotify files to fsnotify
fsnotify: Rename inotify@ to fsnotify@ function names and structures
fsnotify: Extend protobuf format to keep notification type and
specific parameters
fsnotify: inotify -- Add dumping of optional fields
fsnotify: Add is_fanotify_link helper
syscall: Add __NR_fanotify_init and __NR_fanotify_mark
mount: Add lookup_mnt_id and lookup_mnt_sdev helpers
fsnotify: Add try_open_handle helper
fsnotify: Update open_fsnotify_fd to choose helper depending on notif
type
fsnotify: Add fanotify restore
dump: Collect mount information on dump
proc_parse: Add parsing of fanotify entries
dump: Add dumping of fanotify objects
fsnotify: inotify -- Add FIXME about disabling events
fsnotify: Don't foget to put ref of remap object on error path
fsnotify: Add verification of read data
zdtm: Add fanotify00 test
Makefile | 2 +-
cr-check.c | 10 +-
cr-dump.c | 7 +-
cr-restore.c | 4 +-
fsnotify.c | 518 +++++++++++++++++++++++++++++++++++++
image.c | 6 +-
include/crtools.h | 4 +-
include/fsnotify.h | 26 ++
include/image.h | 4 +-
include/inotify.h | 18 --
include/mount.h | 5 +
include/proc_parse.h | 4 +-
include/protobuf.h | 4 +-
include/syscall-x86-64.def | 2 +
inotify.c | 261 -------------------
mount.c | 20 +-
proc_parse.c | 106 ++++++--
protobuf.c | 6 +-
protobuf/Makefile | 2 +-
protobuf/fdinfo.proto | 2 +-
protobuf/fsnotify.proto | 42 +++
protobuf/inotify.proto | 18 --
test/zdtm.sh | 1 +
test/zdtm/live/static/Makefile | 1 +
test/zdtm/live/static/fanotify00.c | 110 ++++++++
25 files changed, 836 insertions(+), 347 deletions(-)
create mode 100644 fsnotify.c
create mode 100644 include/fsnotify.h
delete mode 100644 include/inotify.h
delete mode 100644 inotify.c
create mode 100644 protobuf/fsnotify.proto
delete mode 100644 protobuf/inotify.proto
create mode 100644 test/zdtm/live/static/fanotify00.c
--
1.8.0.1
More information about the CRIU
mailing list