[CRIU] [PATCH 00/16] Cleanups and syscalls rework, v2
Cyrill Gorcunov
gorcunov at openvz.org
Fri Mar 30 18:46:18 EDT 2012
Hi guys,
please review a few cleanups and syscalls reworked. I've
been trying to minimize the impact of patches and do it
in small steps, though syscalls are to be replaced in
one commit.
Comments are welcome.
For testing purpose I've pushed this series to github as
syscall-v2 branch.
Cyrill Gorcunov (16):
restorer: Fix bug in address computation of thread args area
parasite: Drop unused PARASITE_COMPLETE_ADDR helper
files: Add case::default in open_fd
dump: Simplify cr_dump_tasks message printing
sockets: Fix compilation on older kernel headers
sockets: Drop unused variables
parasite, restorer: Cleanup ld scripts
restorer: Cleanup - drop always_inline attribute from write_ helpers
parasite, restore: Add EXPORT_SYMBOL for blob symbol definitions
make: Squash parasite.lds.S and restorer.lds.S into pie.lds.S
make: Use -fpie instead of -fpic
make: Sanitize pie.lds.S
make: Generate offsets from linked files only
make: Add own Makefile.pie for binary blobs we generate
parasite: Move bootstrap code into parasite-head.S
syscalls: Complete redesign
Makefile | 79 ++--------
Makefile.inc | 1 +
Makefile.pie | 73 ++++++++
Makefile.syscall | 37 ++++
cr-dump.c | 5 +-
cr-restore.c | 6 +-
files.c | 3 +
gen-offsets.sh | 6 +-
include/linkage.h | 34 ++++
include/parasite.h | 18 +-
include/syscall-codes.h | 62 -------
include/syscall-types.h | 51 ++++++
include/syscall.def | 57 ++++++
include/syscall.h | 435 -----------------------------------------------
parasite-head.S | 28 +++
parasite.c | 43 +----
parasite.lds.S | 19 --
pie.lds.S | 27 +++
restorer-log.c | 14 +-
restorer.c | 23 ++-
restorer.lds.S | 19 --
sockets.c | 6 +-
syscall-common.S | 16 ++
syscalls.pl | 51 ++++++
24 files changed, 437 insertions(+), 676 deletions(-)
create mode 100644 Makefile.pie
create mode 100644 Makefile.syscall
create mode 100644 include/linkage.h
delete mode 100644 include/syscall-codes.h
create mode 100644 include/syscall-types.h
create mode 100644 include/syscall.def
delete mode 100644 include/syscall.h
create mode 100644 parasite-head.S
delete mode 100644 parasite.lds.S
create mode 100644 pie.lds.S
delete mode 100644 restorer.lds.S
create mode 100644 syscall-common.S
create mode 100644 syscalls.pl
--
1.7.7.6
More information about the CRIU
mailing list