20 lines
349 B
Go
20 lines
349 B
Go
//go:build !linux && !darwin
|
|
|
|
package localcontrol
|
|
|
|
import (
|
|
"net"
|
|
"os"
|
|
)
|
|
|
|
func (kernelPeerCredentialSource) Supported() bool {
|
|
return false
|
|
}
|
|
|
|
func (kernelPeerCredentialSource) UID(net.Conn) (uint32, error) {
|
|
return 0, ErrPeerCredentialsUnsupported
|
|
}
|
|
|
|
func fileOwnerUID(os.FileInfo) (uint32, error) {
|
|
return 0, ErrPeerCredentialsUnsupported
|
|
}
|