Documentation ¶
Index ¶
- func CreateMasterAndConsole() (*os.File, string, error)
- func Ioctl(fd uintptr, flag, data uintptr) error
- func OpenAndDup(consolePath string) error
- func OpenPtmx() (*os.File, error)
- func OpenTerminal(name string, flag int) (*os.File, error)
- func Ptsname(f *os.File) (string, error)
- func Setup(rootfs, consolePath, mountLabel string) error
- func Unlockpt(f *os.File) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMasterAndConsole ¶
CreateMasterAndConsole will open /dev/ptmx on the host and retreive the pts name for use as the pty slave inside the container
func OpenAndDup ¶
func OpenTerminal ¶
OpenTerminal is a clone of os.OpenFile without the O_CLOEXEC used to open the pty slave inside the container namespace
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.