gvisor/test/util
Kevin Krakauer b6a5b950d2 Job control: controlling TTYs and foreground process groups.
(Don't worry, this is mostly tests.)

Implemented the following ioctls:
- TIOCSCTTY - set controlling TTY
- TIOCNOTTY - remove controlling tty, maybe signal some other processes
- TIOCGPGRP - get foreground process group. Also enables tcgetpgrp().
- TIOCSPGRP - set foreground process group. Also enabled tcsetpgrp().

Next steps are to actually turn terminal-generated control characters (e.g. C^c)
into signals to the proper process groups, and to send SIGTTOU and SIGTTIN when
appropriate.

PiperOrigin-RevId: 261387276
2019-08-02 14:05:48 -07:00
..
BUILD Job control: controlling TTYs and foreground process groups. 2019-08-02 14:05:48 -07:00
capability_util.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
capability_util.h Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
cleanup.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
epoll_util.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
epoll_util.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
eventfd_util.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
file_descriptor.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
fs_util.cc Fix suggestions from clang. 2019-06-28 15:32:29 -07:00
fs_util.h Fix suggestions from clang. 2019-06-28 15:32:29 -07:00
fs_util_test.cc Fix suggestions from clang. 2019-06-28 15:32:29 -07:00
logging.cc Fix suggestions from clang. 2019-06-28 15:32:29 -07:00
logging.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
memory_util.h Implement madvise(MADV_DONTFORK) 2019-06-20 12:56:00 -07:00
mount_util.h Fix suggestions from clang. 2019-06-28 15:32:29 -07:00
multiprocess_util.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
multiprocess_util.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
posix_error.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
posix_error.h Fix suggestions from clang. 2019-06-28 15:32:29 -07:00
posix_error_test.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
proc_util.cc Fix suggestions from clang. 2019-06-28 15:32:29 -07:00
proc_util.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
proc_util_test.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
pty_util.cc Job control: controlling TTYs and foreground process groups. 2019-08-02 14:05:48 -07:00
pty_util.h Job control: controlling TTYs and foreground process groups. 2019-08-02 14:05:48 -07:00
rlimit_util.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
rlimit_util.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
save_util.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
save_util.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
signal_util.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
signal_util.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
temp_path.cc Fix suggestions from clang. 2019-06-28 15:32:29 -07:00
temp_path.h Fix suggestions from clang. 2019-06-28 15:32:29 -07:00
test_main.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
test_util.cc Internal change. 2019-07-08 13:54:58 -07:00
test_util.h Extract SleepSafe from test_util 2019-05-24 12:58:46 -07:00
test_util_test.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
thread_util.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
time_util.cc Extract SleepSafe from test_util 2019-05-24 12:58:46 -07:00
time_util.h Extract SleepSafe from test_util 2019-05-24 12:58:46 -07:00
timer_util.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
timer_util.h Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00