mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Allow setting sticky bit in tmpfs permissions.
PiperOrigin-RevId: 221683127 Change-Id: Ide6a9f41d75aa19d0e2051a05a1e4a114a4fb93c
This commit is contained in:
committed by
Shentubot
parent
9d8e49d950
commit
6ef08c2bc2
@@ -44,7 +44,7 @@ const (
|
||||
)
|
||||
|
||||
// modeRegexp is the expected format of the mode option.
|
||||
var modeRegexp = regexp.MustCompile("^0?[0-7][0-7][0-7]$")
|
||||
var modeRegexp = regexp.MustCompile("^[0-1]?[0-7][0-7][0-7]$")
|
||||
|
||||
// Filesystem is a tmpfs.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user