criu/pie
Tycho Andersen 7083fc370d lsm: restore lsm bits per tid instead of per pid
This is a little tricky, since the threads are forked in the restorer blob, we
can't open their attr/curent files to pass into the restorer blob. So, we pass
in an fd for /proc that the restorer blob can use to access the attr/current
files once they exist.

N.B. this is still incorrect in that it restores the same credentials for all
threads in the group; however, it matches the behavior of the current creds
restore code, which also restores the same creds for all threads in the group.

v2: use simple_sprintf() instead of pie_strcat()

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-06-16 12:17:36 +03:00
..
piegen pie: piegen -- Handle SHN_ABS symbols 2015-06-15 21:17:36 +03:00
log-simple.c pie: add printf-like functionality to simple_buf 2015-06-16 12:17:35 +03:00
Makefile pie: piegen -- Make different names for parasite and restorer relocs 2015-06-15 21:15:57 +03:00
parasite.c pie: x86-32 -- Prepare parasite head 2015-06-08 23:53:21 +03:00
pie-reloc.lds.S.in ppc64: pie -- Move the TOC in its own section 2015-06-08 23:53:29 +03:00
pie-relocs.c pie: piegen -- Slightly rework the building procedure 2015-06-08 23:53:27 +03:00
pie-relocs.h pie: relocs -- Fix compilation on ARM 2015-06-16 11:40:20 +03:00
pie.lds.S.in arch/ppc64: Add PowerPC 64 LE support 2015-04-30 09:57:49 +03:00
restorer.c lsm: restore lsm bits per tid instead of per pid 2015-06-16 12:17:36 +03:00
util-fd.c util-fd: Use standard BUG_ON instead of hand-made 2015-03-04 17:50:06 +03:00
util.c criu: Drop redundant newline from pr_perror 2014-08-22 19:22:39 +04:00