mirror of
https://github.com/golang/go
synced 2024-10-04 15:11:20 -06:00
2a0fc9e70e
This reverts commit 6f7961da28
.
Russ suggests changing the frozon syscall package and obviously it's a
better solution. Perhaps he will also let me know the way how to get the
project owners to agree later.
Fixes #11492.
Change-Id: I98f9f366b72b85db54b4acfc3a604b62fb6d783c
Reviewed-on: https://go-review.googlesource.com/11854
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
17 lines
482 B
Go
17 lines
482 B
Go
// Copyright 2011 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build nacl
|
|
|
|
package net
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
)
|
|
|
|
func fileConn(f *os.File) (Conn, error) { return nil, syscall.ENOPROTOOPT }
|
|
func fileListener(f *os.File) (Listener, error) { return nil, syscall.ENOPROTOOPT }
|
|
func filePacketConn(f *os.File) (PacketConn, error) { return nil, syscall.ENOPROTOOPT }
|