mirror of
https://github.com/opencontainers/runc.git
synced 2025-10-30 18:46:28 +08:00
Update console and golang/sys deps
This bumps the console and golang/sys deps for runc. The major change is that the console package does not clear ONLCR within the package and leaves it up to the client to handle this if they please. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
5
vendor/github.com/containerd/console/console_linux.go
generated
vendored
5
vendor/github.com/containerd/console/console_linux.go
generated
vendored
@@ -133,6 +133,11 @@ func (e *Epoller) getConsole(sysfd int) *EpollConsole {
|
||||
return f
|
||||
}
|
||||
|
||||
// Close the epoll fd
|
||||
func (e *Epoller) Close() error {
|
||||
return unix.Close(e.efd)
|
||||
}
|
||||
|
||||
// EpollConsole acts like a console but register its file descriptor with a
|
||||
// epoll fd and uses epoll API to perform I/O.
|
||||
type EpollConsole struct {
|
||||
|
||||
Reference in New Issue
Block a user