mirror of
https://github.com/golang/go
synced 2024-11-20 11:24:47 -07:00
6262902070
open(2) and mkdir(2) won't set the sticky bit on *BSD and Solaris. This behavior is mentioned on sticky(8). see also: https://github.com/dotcloud/docker/pull/6587 Fixes #8383. Change-Id: Ic4733700f9926b9fc2b6fd1f998acec34e518764 Reviewed-on: https://go-review.googlesource.com/1673 Reviewed-by: Ian Lance Taylor <iant@golang.org>
15 lines
328 B
Go
15 lines
328 B
Go
// 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 !darwin
|
|
// +build !dragonfly
|
|
// +build !freebsd
|
|
// +build !netbsd
|
|
// +build !openbsd
|
|
// +build !solaris
|
|
|
|
package os
|
|
|
|
const supportsCreateWithStickyBit = true
|