mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Add p9.Sticky.
PiperOrigin-RevId: 234691125 Change-Id: I2a588153ded5a4fbed07bc2f0937a43ccfba791b
This commit is contained in:
+4
-1
@@ -139,8 +139,11 @@ const (
|
||||
// AllPermissions is a mask with rwx bits set for user, group and others.
|
||||
AllPermissions FileMode = 0777
|
||||
|
||||
// Sticky is a mode bit indicating sticky directories.
|
||||
Sticky FileMode = 01000
|
||||
|
||||
// permissionsMask is the mask to apply to FileModes for permissions. It
|
||||
// includes rwx bits for user, group and others, and sticky bit (01000).
|
||||
// includes rwx bits for user, group and others, and sticky bit.
|
||||
permissionsMask FileMode = 01777
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user