read(0, "s", 1) = 1 write(2, "s", 1) = 1 read(0, "y", 1) = 1 write(2, "y", 1) = 1 read(0, "s", 1) = 1 write(2, "s", 1) = 1 read(0, "t", 1) = 1 write(2, "t", 1) = 1 read(0, "e", 1) = 1 write(2, "e", 1) = 1 read(0, "m", 1) = 1 write(2, "m", 1) = 1 read(0, "c", 1) = 1 write(2, "c", 1) = 1 read(0, "t", 1) = 1 write(2, "t", 1) = 1 read(0, "l", 1) = 1 write(2, "l", 1) = 1 read(0, " ", 1) = 1 write(2, " ", 1) = 1 read(0, "d", 1) = 1 write(2, "d", 1) = 1 read(0, "e", 1) = 1 write(2, "e", 1) = 1 read(0, "f", 1) = 1 write(2, "f", 1) = 1 read(0, "a", 1) = 1 write(2, "a", 1) = 1 read(0, "u", 1) = 1 write(2, "u", 1) = 1 read(0, "l", 1) = 1 write(2, "l", 1) = 1 read(0, "t", 1) = 1 write(2, "t", 1) = 1 read(0, "\r", 1) = 1 write(2, "\n", 1) = 1 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 rt_sigaction(SIGINT, {0x80a0310, [], 0}, {0x80ede20, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {0x809fe50, [], SA_RESTART}, {0x80ede20, [], 0}, 8) = 0 rt_sigaction(SIGHUP, {0x80a05c0, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], 0}, {0x80ede20, [], 0}, 8) = 0 rt_sigaction(SIGALRM, {0x80a05c0, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], 0}, {0x80ede20, [], 0}, 8) = 0 rt_sigaction(SIGWINCH, {0x809fe40, [], 0}, {0x80ed480, [], SA_RESTART}, 8) = 0 rt_sigaction(SIGINT, {0x80a0310, [], 0}, {0x80a0310, [], 0}, 8) = 0 time(NULL) = 1433076835 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 pipe([3, 4]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7567768) = 19326 setpgid(19326, 19326) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 close(3) = 0 close(4) = 0 ioctl(255, TIOCGPGRP, [19326]) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 waitpid(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGHUP}], WSTOPPED|WCONTINUED) = 19326 rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [CHLD], 8) = 0 ioctl(255, SNDRV_TIMER_IOCTL_SELECT or TIOCSPGRP, [618]) = -1 ENOTTY (Inappropriate ioctl for device) rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 ioctl(255, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(255, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig icanon echo ...}) = 0 ioctl(255, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(255, TIOCGWINSZ, {ws_row=48, ws_col=170, ws_xpixel=0, ws_ypixel=0}) = 0 write(2, "Hangup\n", 7) = 7 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=19326, si_uid=0, si_status=SIGHUP, si_utime=0, si_stime=0} --- waitpid(-1, 0xbf8e16f4, WNOHANG|WSTOPPED|WCONTINUED) = -1 ECHILD (No child processes) sigreturn() (mask []) = 0 rt_sigaction(SIGINT, {0x80a0310, [], 0}, {0x80a0310, [], 0}, 8) = 0 time(NULL) = 1433076835 time(NULL) = 1433076835 rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [], 8) = 0 ioctl(255, SNDRV_TIMER_IOCTL_SELECT or TIOCSPGRP, [618]) = -1 ENOTTY (Inappropriate ioctl for device) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {0x80a0310, [], 0}, {0x80a0310, [], 0}, 8) = 0 ioctl(0, TIOCGWINSZ, {ws_row=48, ws_col=170, ws_xpixel=0, ws_ypixel=0}) = 0 ioctl(0, SNDRV_TIMER_IOCTL_STATUS or TIOCSWINSZ, {ws_row=48, ws_col=170, ws_xpixel=0, ws_ypixel=0}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0 rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ALRM TERM TSTP TTIN TTOU], [], 8) = 0 rt_sigaction(SIGINT, {0x80ede20, [], 0}, {0x80a0310, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {0x80ede20, [], 0}, {0x809fe50, [], SA_RESTART}, 8) = 0 rt_sigaction(SIGHUP, {0x80ede20, [], 0}, {0x80a05c0, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], 0}, 8) = 0 rt_sigaction(SIGQUIT, {0x80ede20, [], 0}, {SIG_IGN, [], 0}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_IGN, [], 0}, {0x80ede20, [], 0}, 8) = 0 rt_sigaction(SIGALRM, {0x80ede20, [], 0}, {0x80a05c0, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], 0}, 8) = 0 rt_sigaction(SIGTSTP, {0x80ede20, [], 0}, {SIG_IGN, [], 0}, 8) = 0 rt_sigaction(SIGTSTP, {SIG_IGN, [], 0}, {0x80ede20, [], 0}, 8) = 0 rt_sigaction(SIGTTOU, {0x80ede20, [], 0}, {SIG_IGN, [], 0}, 8) = 0 rt_sigaction(SIGTTOU, {SIG_IGN, [], 0}, {0x80ede20, [], 0}, 8) = 0 rt_sigaction(SIGTTIN, {0x80ede20, [], 0}, {SIG_IGN, [], 0}, 8) = 0 rt_sigaction(SIGTTIN, {SIG_IGN, [], 0}, {0x80ede20, [], 0}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGWINCH, {0x80ed480, [], SA_RESTART}, {0x809fe40, [], 0}, 8) = 0 write(2, "root@localhost:~# ", 18) = 18 read(0,