summaryrefslogtreecommitdiffstats
path: root/src/os/sticky_bsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/sticky_bsd.go')
-rw-r--r--src/os/sticky_bsd.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/os/sticky_bsd.go b/src/os/sticky_bsd.go
new file mode 100644
index 0000000..c09b1ac
--- /dev/null
+++ b/src/os/sticky_bsd.go
@@ -0,0 +1,11 @@
+// Copyright 2014 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 aix darwin dragonfly freebsd js,wasm netbsd openbsd solaris
+
+package os
+
+// According to sticky(8), neither open(2) nor mkdir(2) will create
+// a file with the sticky bit set.
+const supportsCreateWithStickyBit = false