github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/mergeCode/runc/libcontainer/console_freebsd.go (about) 1 // +build freebsd 2 3 package libcontainer 4 5 import ( 6 "errors" 7 ) 8 9 // NewConsole returns an initialized console that can be used within a container by copying bytes 10 // from the master side to the slave that is attached as the tty for the container's init process. 11 func NewConsole(uid, gid int) (Console, error) { 12 return nil, errors.New("libcontainer console is not supported on FreeBSD") 13 }