criu/images
Dmitry Safonov 6068d10cee core/x86: add compatible 32 register set
Introduced user_regs_struct32.
Other changes mainly are reforming existing code to use the new
register sets union.

For protobuf images - reuse user_x86_regs_entry for both compatible
and native tasks with enum in the beggining that describes register
set type. That's better and simpler, than introducing a new 32-bit
register set for compatible tasks. I tried to do this firstly with
oneof keyword:
499c93ae0e
But protobuf supports oneof keyword only from recent version 2.6.0,
so I tried to rework it into enum + 2 register sets:
aab4489bd4

But that did not work either because restorer pie takes gpregs as
thread_restore_args parameter and UserRegsEntry shouldn't contain
pointers, but structure objects. This may be fixed by redefining
UserRegsEntry not as typedef for UserX86RegsEntry, but containing
needed objects, than treat it right for restorer - but that's
more complicated that reusing user_x86_regs_entry.

Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2017-03-14 21:03:21 +03:00
..
google/protobuf build: Move @protobuf dir into @images 2016-02-15 15:32:27 +03:00
autofs.proto images: add syntax specifier to autofs.proto 2016-10-10 12:49:28 +03:00
binfmt-misc.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
cgroup.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
core-aarch64.proto core-aarch64: mark gregs and clear_tid_addr as (criu).hex 2016-10-24 16:00:15 +03:00
core-arm.proto core-arm: mark gregs and clear_tid_addr as (criu).hex 2016-10-24 16:00:15 +03:00
core-ppc64.proto core-ppc64: mark gregs and clear_tid_addr as (criu).hex 2016-10-24 16:00:15 +03:00
core-x86.proto core/x86: add compatible 32 register set 2017-03-14 21:03:21 +03:00
core.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
cpuinfo.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
creds.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
eventfd.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
eventpoll.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
ext-file.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
fdinfo.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
fh.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
fifo.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
file-lock.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
fown.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
fs.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
fsnotify.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
ghost-file.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
inventory.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
ipc-desc.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
ipc-msg.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
ipc-sem.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
ipc-shm.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
ipc-var.proto ipc/sysctl: c/r kernel.{msg_next_id,sem_next_id,shm_next_id} 2016-09-06 18:58:26 +03:00
macvlan.proto images: add syntax declaration to macvlan.proto 2016-11-03 18:15:02 +03:00
Makefile images/Makefile: sanitize cleaning 2017-03-06 19:43:47 +03:00
mm.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
mnt.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
netdev.proto net: add support for macvlan link types 2016-11-03 18:14:17 +03:00
ns.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
opts.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
packet-sock.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
pagemap.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
pipe-data.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
pipe.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
pstree.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
regfile.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
remap-file-path.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
rlimit.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
rpc.proto tty: notify about orphan tty-s via rpc 2017-03-01 21:58:02 +03:00
sa.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
seccomp.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
siginfo.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
signalfd.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
sk-inet.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
sk-netlink.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
sk-opts.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
sk-packet.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
sk-unix.proto unix: don't drop the path on unix sockets if they don't exist 2016-08-01 16:51:05 +03:00
stats.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
sysctl.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
tcp-stream.proto tcp: dump and restore window parameters 2016-08-08 15:20:47 +03:00
time.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
timer.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
timerfd.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
tty.proto tty: Restore peers uid, gid 2016-09-06 19:31:22 +03:00
tun.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
userns.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
utsns.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00
vma.proto Add missing "proto2" syntax marker 2016-07-07 12:38:39 +03:00