criu/arch/x86
Sophie Blee-Goldman e606c2141e Dump capabilities from the parasite
Needed for future user namespace support. Capabilities will have to be
dumped from the parasite, ie from inside the namespace since there is no
obvious way to 'translate' capabilities from the global namespace (unlike
with uids and gids, where the id mappings can be used for translation).

[ additional explanation from Andrew Vagin:

"capabilities" are not translated between namespaces. They can exist
only in one userns, where a process lives. If a process is created in a
new userns, it gets a full set of capabilities in this userns, and
loses all caps in a parent userns.

So if capabilities are not shown in /proc/pid/stat, we have no way to
get it except of using parasite code. ]

Signed-off-by: Sophie Blee-Goldman <ableegoldman@google.com>
Acked-by: Andrew Vagin <avagin@parallels.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2014-08-15 23:10:44 +04:00
..
include/asm vdso: Implement vDSO proxification of any vvar/vdso order 2014-08-04 15:35:03 +04:00
cpu.c fpu: Move definitions to asm/fpu.h 2013-02-18 18:42:08 +04:00
crtools.c x86: Fix compiler warning 2014-03-14 15:43:02 +04:00
Makefile x86: Implement prlimit proxy 2013-05-23 15:12:58 +04:00
parasite-head.S parasite: allocate stack for each thread 2013-05-24 18:53:33 +04:00
prlimit.c x86: Implement prlimit proxy 2013-05-23 15:12:58 +04:00
restorer.c headers: Move prctl constants to prctl.h 2013-11-14 22:19:43 +04:00
syscall-common-x86-64.S restore: set up correct sa_restorer for SIGCHLD handler (v3) 2013-03-25 23:43:40 +04:00
syscall-x86-64.def Dump capabilities from the parasite 2014-08-15 23:10:44 +04:00
syscalls-x86-64.sh make: arch -- Switch to a new build scheme 2013-02-18 18:10:43 +04:00
vdso-pie.c vdso: x86 -- Fix missing ability to remap vDSO if only one zone present 2014-08-06 09:40:39 +04:00
vdso.c vdso: x86 -- Make sure that vdso symtable is carrying bindled vmas 2014-08-04 15:33:49 +04:00