From 73df946d56c74384511a194dd01dbe099584fd1a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 15:14:23 +0200 Subject: Adding upstream version 1.16.10. Signed-off-by: Daniel Baumann --- src/os/sticky_bsd.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/os/sticky_bsd.go (limited to 'src/os/sticky_bsd.go') 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 -- cgit v1.2.3