From 160b2461b66c13f1014243f06a401bb1477b46dc Mon Sep 17 00:00:00 2001
From: Rob Pike
+It is impossible to guarantee long-term compatibility with operating
+system interfaces, which are changed by outside parties.
+The syscall
package
+is therefore outside the purview of the guarantees made here.
+As of Go version 1.4, the syscall
package is frozen.
+Any evolution of the system call interface must be supported elsewhere,
+such as in the go.sys
subrepository.
+For details and background, see
+this document.
+
diff --git a/src/pkg/syscall/syscall.go b/src/pkg/syscall/syscall.go index f7473fd5aa..3fd95798f3 100644 --- a/src/pkg/syscall/syscall.go +++ b/src/pkg/syscall/syscall.go @@ -17,6 +17,13 @@ // These calls return err == nil to indicate success; otherwise // err is an operating system error describing the failure. // On most systems, that error has type syscall.Errno. +// +// NOTE: This package is locked down. Code outside the standard +// Go repository should be migrated to use the corresponding +// package in the go.sys subrepository. That is also where updates +// required by new systems or versions should be applied. +// See https://golang.org/s/go1.4-syscall for more information. +// package syscall // StringByteSlice is deprecated. Use ByteSliceFromString instead. -- 2.48.1