No description
Find a file
James Bottomley 1b7cfe7ddd Add LGPL licence for library directory
We've received some requests to create a way to interface with crtools
that doesn't involve forking the utilities, so we're going to create a
linkable library for this.  In order to be fair, we plan to allow
proprietary code to link with this library and thus want to change the
licence of the CRIU code base to be LGPL *only* for this library
directory, preserving the rest of the code as GPL.  Because creating the
library may involve refactoring, I anticipate that some code that's
currently GPL will have to move into lib/ and become LGPL (and this may
occur in future as well), so I've amended the COPYING file to spell out
for contributors that code outside lib/ is GPL and inside lib/ is LGPL,
but that they give future permission to change the licence to GPL or
LGPL if code has to move into (or out of) lib/, based on acceptance of a
patch into the CRIU code base, so j random developer can't download the
code and make it all LGPL by applying a private patch to move everything
into lib/.

All the Parallels authors have agreed to this, but we have a couple of
non parallels ones on the cc to this email I'd like explicit acks from.

Cc: Qiang Huang <h.huangqiang@huawei.com>
Cc: Andrew Grigorev <andrew@ei-grad.ru>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Acked-by: Qiang Huang <h.huangqiang@huawei.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-04-01 12:29:06 +04:00
arch x86: Use pr_perror instead of plain perror 2013-03-27 15:44:34 +04:00
Documentation docs: crtools -- Use bold format for parameters 2013-02-18 18:42:07 +04:00
include dump: unprotect vmas for dumping content 2013-03-30 00:17:03 +04:00
pie dump: unprotect vmas for dumping content 2013-03-30 00:17:03 +04:00
protobuf sockets: dump netlink sockets 2013-03-26 00:23:59 +04:00
scripts make: Provide mandatory options in cflags-y variable 2013-02-23 00:36:36 +04:00
test zdtm: protect random pages in maps04 2013-03-30 00:17:36 +04:00
.gitignore make: pie -- Switch to a new scheme 2013-02-18 18:10:45 +04:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
COPYING Add LGPL licence for library directory 2013-04-01 12:29:06 +04:00
cr-check.c check: More verbose messages when sock diag infratructure is missing. 2013-03-26 19:36:26 +04:00
cr-dump.c dump: unprotect vmas for dumping content 2013-03-30 00:17:03 +04:00
cr-exec.c vma: Introduce list-of-vmas object 2013-03-01 20:11:51 +04:00
cr-restore.c rst: Properly check si_code of sigchild 2013-03-27 17:27:36 +04:00
cr-show.c crtools: add a callback to show signal=*.img 2013-03-25 23:43:34 +04:00
CREDITS Add the CREDITS file 2012-07-30 13:52:37 +04:00
crtools.c lock: Show long option in log message about using one 2013-03-27 20:17:59 +04:00
eventfd.c cr: generalized format strings 2013-01-16 19:20:08 +04:00
eventpoll.c cr: generalized format strings 2013-01-16 19:20:08 +04:00
fifo.c files: pass a file descriptor on an fdinfo image instead of cr_fdset 2013-01-11 14:47:09 +04:00
file-ids.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
file-lock.c locks: Move dump_task_file_locks into file-locks.c 2013-02-08 02:58:10 +04:00
files-reg.c files-reg: Print file name on error 2013-03-25 17:41:47 +04:00
files.c file: More detailed error on cwd restore 2013-03-21 00:44:26 +04:00
fsnotify.c fsnotify: Don't fail on old versions where no inotify/fanotify image present 2013-01-17 19:20:41 +04:00
image.c rlim: The rlimit images should be per-pid 2013-03-29 19:40:23 +04:00
ipc_ns.c ipc: restore IPC objects credentials 2013-01-17 16:00:48 +04:00
kcmp-ids.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
libnetlink.c netlink: return errno from do_rtnl_req 2013-03-28 18:21:11 +04:00
log.c log: Add generic __print_on_level helper 2013-01-14 14:26:18 +04:00
Makefile make: Provide mandatory options in cflags-y variable 2013-02-23 00:36:36 +04:00
Makefile.crtools crtools: add a function for showing netlink sockets 2013-03-26 00:22:47 +04:00
mount.c mount: remove root with MS_PRIVATE before cleaning up mntns 2013-03-27 17:28:30 +04:00
namespaces.c rst: Evaluate per-task clone mask early 2013-01-19 01:16:19 +04:00
net.c net: Do not BUG() if unsupported link type met 2013-02-11 17:14:20 +04:00
netfilter.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
page-pipe.c page-pipe: Don't forget to free page pipe buffer itself 2013-03-18 22:26:04 +04:00
page-xfer.c page-xfer.c: fixed format strings 2013-03-18 22:31:45 +04:00
parasite-syscall.c dump: unprotect vmas for dumping content 2013-03-30 00:17:03 +04:00
pipes.c pipes: fix error handling 2013-03-19 23:54:41 +04:00
proc_parse.c vma: Keep track of lonest vma in list and sum of its lengths 2013-03-01 20:12:33 +04:00
protobuf.c protobuf: add image for netlink sockets 2013-03-26 00:22:46 +04:00
pstree.c tty: More descriptive log message about --shell-job requirement 2013-03-27 20:11:00 +04:00
ptrace.c seize: Warn if crtools tried to seize self 2013-03-27 01:10:56 +04:00
rbtree.c code: Fix spaced indentation where found 2012-08-11 21:36:03 +04:00
README Drop kernel patching from README 2012-01-29 16:26:36 +04:00
shmem.c pages: Accept pages images from versions v0.4 and below 2013-03-27 13:12:02 +04:00
signalfd.c files: pass a file descriptor on an fdinfo image instead of cr_fdset 2013-01-11 14:47:09 +04:00
sk-inet.c sk-inet: drop proto from struct inet_sk_desc 2013-03-28 18:23:20 +04:00
sk-netlink.c sk-netlink: typo fix for unconnected netlink sockets 2013-03-30 00:18:29 +04:00
sk-packet.c socket: prevent dumping of sockets if they are not collected 2013-03-28 18:23:18 +04:00
sk-queue.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
sk-tcp.c check: Check for ability to get tcp timestamp 2013-02-14 20:27:55 +04:00
sk-unix.c socket: prevent dumping of sockets if they are not collected 2013-03-28 18:23:18 +04:00
sockets.c sk-inet: drop proto from struct inet_sk_desc 2013-03-28 18:23:20 +04:00
sysctl.c cr: generalized format strings 2013-01-16 19:20:08 +04:00
tty.c tty: More descriptive log message about --shell-job requirement 2013-03-27 20:11:00 +04:00
util.c util: Use read_fd_link helper in is_anon_link_type 2013-03-21 00:45:45 +04:00
uts_ns.c ns: Introduce ns descriptors 2013-01-15 23:24:01 +04:00

crtools
=======

An utility to checkpoint/restore tasks.

Some code snippets are borrowed from

 - Linux kernel (http://kernel.org/)
 - git (http://git-scm.com/)
 - kvm-tools (https://github.com/penberg/linux-kvm)
 - ptrace-parasite (https://code.google.com/p/ptrace-parasite/)

Many thanks to these projects.

Licensed under GPLv2 (http://www.gnu.org/licenses/gpl-2.0.txt)