2017-01-12 18:29:37 +00:00
|
|
|
// +build solaris
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
"os"
|
|
|
|
)
|
|
|
|
|
2017-01-19 17:18:18 +00:00
|
|
|
// NewConsole returns an initialized console that can be used within a container by copying bytes
|
2017-01-12 18:29:37 +00:00
|
|
|
// from the master side to the slave that is attached as the tty for the container's init process.
|
|
|
|
func newConsole(uid, gid int) (*os.File, string, error) {
|
|
|
|
return nil, "", errors.New("newConsole not implemented on Solaris")
|
|
|
|
}
|