Gao feng a8362c1a70 hold the fd of container pts device in hyper init
1, Hold the the file description of pts device and ptmx in hyper-init process
2, Dup fd to the stdio of Exec cmd
3, Exec cmd exited, no EPOLLHUP event since the file is still open
4, Try to read ptmx fd before close pts fd
4, signal handler get signal SIGCHLD, close the pts fd to trigger EPOLLHUP event
5, EPOLLHUP event is received, send eof message to ttyfd. release exec.

Signed-off-by: Gao feng <omarapazanadi@gmail.com>
2015-09-23 10:56:49 +08:00
2015-07-30 16:09:59 +08:00
2015-08-13 16:52:26 +08:00
2015-07-30 16:13:06 +08:00
2015-05-25 14:24:46 +08:00
2015-07-30 16:09:16 +08:00
2015-05-29 16:00:25 +08:00
2015-09-01 22:43:44 +02:00

The init Task for Hyper

You can get the binary installer of Hyper and HyperStart through The Hyper Page

Build from source

clone this repo, and make sure you have build-essentials installed. Go into the working copy and

> ./autogen.sh
> ./configure
> make

Then you can find hyper-initrd.img in the build directory, together with a pre-built kernel.

If you want to get the boot disk file for VirtualBox, please reconfigure with flag --with-vbox,

> ./configure --with-vbox
> make

Then you can find hyper-vbox-bootimage.iso in the build directory. Booting from this iso will bring you to the hyper world.

S
Description
No description provided
Readme Apache-2.0 46 MiB
Languages
C 96.4%
Shell 1.8%
M4 0.9%
Dockerfile 0.6%
Makefile 0.3%