criu/criu
Cyrill Gorcunov 3c54e236c7 tty: Require @stdin being tty to inherit from in a laze fashion
When migrating process it might not have slave tty peers at
all so instead of exiting early just wait for its real usage
and only then fail.

Reported-by: Manuel Rodríguez Pascual <manuel.rodriguez.pascual@gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-09-06 19:31:21 +03:00
..
arch Move headers around to fix issues on custom-built glibc 2016-09-06 19:00:23 +03:00
include rpc: Report back first error message on failure 2016-09-06 19:31:21 +03:00
pie restorer: Eliminate possible shadowing of @task_entries 2016-09-06 19:31:20 +03:00
action-scripts.c action-scripts: include bug.h 2016-05-27 13:47:33 +03:00
aio.c aio: don't leak memory 2016-06-28 13:09:40 +03:00
autofs.c proc: move parts about fdinfo from proc_parse.h into fdinfo.h 2016-09-06 19:00:24 +03:00
bfd.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
bitmap.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
cgroup-props.c cgroup: s/pids.current/pids.max 2016-06-28 13:14:33 +03:00
cgroup.c cgroup: move functions about cgroup out of proc_parse.h 2016-09-06 19:00:24 +03:00
cr-check.c proc: move parts about fdinfo from proc_parse.h into fdinfo.h 2016-09-06 19:00:24 +03:00
cr-dedup.c shmem: implement manual anon shared memory dedup 2016-09-06 19:31:19 +03:00
cr-dump.c shmem: add anon shmem dumping to predump command 2016-09-06 19:31:19 +03:00
cr-errno.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
cr-exec.c cr-exec: initialize kdat.{task_size, has_compat_sigreturn} on criu exec 2016-08-02 14:23:57 +03:00
cr-restore.c pstree: Make restore_finish_stage helper to use holder variable 2016-09-06 19:31:20 +03:00
cr-service.c rpc: Report back first error message on failure 2016-09-06 19:31:21 +03:00
crtools.c criu: Introduce the --deprecated/CRIU_DEPRECATED option 2016-09-06 19:00:22 +03:00
eventfd.c proc: move parts about fdinfo from proc_parse.h into fdinfo.h 2016-09-06 19:00:24 +03:00
eventpoll.c proc: move parts about fdinfo from proc_parse.h into fdinfo.h 2016-09-06 19:00:24 +03:00
fault-injection.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
fifo.c pipe/fifo: Collect data via cinfo engine 2016-04-04 17:10:14 +03:00
file-ids.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
file-lock.c locks: Drop support for per-pid images with locks 2016-06-28 13:12:59 +03:00
files-ext.c collect: Add img argument to cinfo 2016-04-04 17:10:14 +03:00
files-reg.c files: Tune up false perror message 2016-09-06 19:31:20 +03:00
files.c proc: move parts about fdinfo from proc_parse.h into fdinfo.h 2016-09-06 19:00:24 +03:00
fsnotify.c proc: move parts about fdinfo from proc_parse.h into fdinfo.h 2016-09-06 19:00:24 +03:00
image-desc.c protobuf: autofs entry introduced 2016-07-05 23:06:58 +03:00
image.c files: Remove support for per-pid fdinfo-s 2016-06-28 13:12:59 +03:00
ipc_ns.c ipc/sysctl: c/r kernel.{msg_next_id,sem_next_id,shm_next_id} 2016-09-06 18:58:26 +03:00
irmap.c irmap: don't try to dereference a null pointer 2016-03-16 16:16:08 +03:00
kcmp-ids.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
kerndat.c kerndat: check the TCP_REPAIR_WINDOW option 2016-08-08 15:20:45 +03:00
libnetlink.c libnetlink: back port a fix for nlattr_parse() 2016-03-25 23:36:13 +03:00
log.c rpc: Report back first error message on failure 2016-09-06 19:31:21 +03:00
lsm.c image.h: Remove its inclusion from wherever possible 2016-05-27 13:46:28 +03:00
Makefile criu/Makefile: fix a typo 2016-08-11 16:18:43 +03:00
Makefile.config make: propagate config DEFINES in CFLAGS 2016-08-11 16:18:44 +03:00
Makefile.crtools make: propagate config DEFINES in CFLAGS 2016-08-11 16:18:44 +03:00
Makefile.packages make: drop check-build-packages - we can use try-cc now 2016-08-11 16:18:44 +03:00
mem.c mem: export should_dump_page() from mem.c 2016-09-06 19:31:19 +03:00
mount.c mount: move functions about mounts from proc_parse.h 2016-09-06 19:00:24 +03:00
namespaces.c uns: Fix descriptor passed into a walk 2016-09-06 19:31:21 +03:00
net.c criu/*c: fix typos 2016-08-11 16:18:43 +03:00
netfilter.c criu: almost fix building on Alpine Linux 2016-07-09 22:04:26 +03:00
page-pipe.c pp: Introduce page pipe flags 2016-08-01 16:51:32 +03:00
page-xfer.c page-read/xfer: add ability to open image hierarchy for shmem 2016-09-06 18:58:27 +03:00
pagemap-cache.c pagemap: add an ability to disable pagemap cache 2016-09-06 19:31:20 +03:00
pagemap.c page-read/xfer: add ability to open image hierarchy for shmem 2016-09-06 18:58:27 +03:00
parasite-syscall.c parasite: don't use a process stack to unmap a parasite blob 2016-09-06 19:00:23 +03:00
path.c path: drop redundant local-scope vars writes 2016-08-01 16:51:33 +03:00
pie-util-fd.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
pie-util-vdso.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
pie-util.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
pipes.c files: don't create a transport socket for each file ++ 2016-09-06 19:00:22 +03:00
plugin.c plugin: free allocated plugin descriptor 2016-08-01 16:51:33 +03:00
proc_parse.c proc: move parts about fdinfo from proc_parse.h into fdinfo.h 2016-09-06 19:00:24 +03:00
protobuf-desc.c protobuf: autofs entry introduced 2016-07-05 23:06:58 +03:00
protobuf.c util: Move shmalloc to rst-malloc 2016-05-27 13:46:26 +03:00
pstree.c prepare_pstree: fixup reading kernel pid_max 2016-08-11 16:18:43 +03:00
ptrace.c criu/*c: fix typos 2016-08-11 16:18:43 +03:00
rbtree.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
rst-malloc.c criu/*c: fix typos 2016-08-11 16:18:43 +03:00
seccomp.c restore: Prepare on-restorer seccomp filters earlier 2016-06-01 14:52:22 +03:00
seize.c seize: collect_pstree -- Add missing error sign return 2016-09-06 19:31:20 +03:00
shmem.c shmem: use mincore page status bit with anon shared mem dumping 2016-09-06 19:31:21 +03:00
sigframe.c sigframe: prepare macro helpers for two sigframes 2016-09-06 18:58:11 +03:00
signalfd.c proc: move parts about fdinfo from proc_parse.h into fdinfo.h 2016-09-06 19:00:24 +03:00
sk-inet.c criu-print: use %# to print hex values w/ width specified 2016-07-07 12:39:20 +03:00
sk-netlink.c collect: Add img argument to cinfo 2016-04-04 17:10:14 +03:00
sk-packet.c mem: Rework vma open 2016-05-27 13:39:02 +03:00
sk-queue.c sk: handle erorors of lseek 2016-04-21 16:21:23 +03:00
sk-tcp.c tcp: don't leak a file descriptor 2016-08-11 16:18:43 +03:00
sk-unix.c files: don't create a transport socket for each file ++ 2016-09-06 19:00:22 +03:00
sockets.c sockets: Fix int ino parameter of socket functions 2016-06-28 13:12:26 +03:00
stats.c util: Move shmalloc to rst-malloc 2016-05-27 13:46:26 +03:00
string.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
sysctl.c sysctl: append '\0' in sysctl_read_char 2016-08-01 16:51:32 +03:00
sysfs_parse.c criu: dump filemap as soon as possible 2016-05-27 13:39:01 +03:00
timerfd.c proc: move parts about fdinfo from proc_parse.h into fdinfo.h 2016-09-06 19:00:24 +03:00
tty.c tty: Require @stdin being tty to inherit from in a laze fashion 2016-09-06 19:31:21 +03:00
tun.c criu/*c: fix typos 2016-08-11 16:18:43 +03:00
util.c criu-util: do not double free and simplify xvstrcat 2016-08-01 16:51:33 +03:00
uts_ns.c build: Drop protobuf/ from the sources 2016-02-15 19:24:42 +03:00
vdso.c pie/vdso: convert (char *mem) to (uintptr_t mem) 2016-04-04 17:10:15 +03:00