criu/scripts
Tycho Andersen 5fe3a138df lsm: add support for c/ring LSM profiles
This patch adds support for checkpoint and restore of two linux security
modules (apparmor and selinux). The actual checkpoint or restore code isn't
that interesting, other than that we have to do the LSM restore in the restorer
blob since it may block any number of things that we want to do as part of the
restore process.

I tried originally to get this to work using libraries in the restorer blob,
but I could _not_ get things to work correctly (I assume I was doing something
wrong with all the static linking, you can see my draft attempts here:
https://github.com/tych0/criu/commits/apparmor-using-libraries ). I can try to
resurrect this if it makes more sense, to do it that way, though.

v2: lsm_profile lives in creds.proto instead of the task core, look in a more
    canonical place for selinuxfs and don't try to special case any selinux
    profile names.
v3: only allow unconfined selinux profiles

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-05-08 15:31:05 +03:00
..
logrotate.d install: install criu-service logrotate config 2014-02-18 12:39:50 +04:00
sd systemd: start criu-service with log at /var/log 2014-02-18 12:39:49 +04:00
crit-setup.py crit: add scripts/crit-setup.py 2015-01-14 20:44:48 +04:00
fake-restore.sh scripts: Add script to abort restore at the end 2014-02-05 19:40:47 +04:00
feature-tests.mak crtools: check for setproctitle_init 2014-09-02 16:14:39 +04:00
gen-offsets.sh build: Move pie/gen-offsets.sh into scripts/ 2013-10-15 11:30:41 +04:00
magic-gen.py scripts: add magic-gen.py 2015-01-14 20:44:45 +04:00
Makefile.build make: Introduce ldflags-y variable 2015-04-24 14:52:55 +03:00
Makefile.rules simplify dummy rules 2014-01-11 09:14:18 +04:00
Makefile.version make: version -- Ensure that .gitid exist vefore read 2015-05-07 18:38:26 +03:00
protobuf-gen.sh Remove \u and \U GNU-isms from sed command 2014-02-11 09:18:32 +04:00
travis-ci.sh travis: add python-ipaddr as a dep 2015-02-09 14:07:07 +03:00
utilities.mak lsm: add support for c/ring LSM profiles 2015-05-08 15:31:05 +03:00