diff options
Diffstat (limited to 'libgo/go/os/stat_openbsd.go')
-rw-r--r-- | libgo/go/os/stat_openbsd.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgo/go/os/stat_openbsd.go b/libgo/go/os/stat_openbsd.go index b0a569e..8d1323a 100644 --- a/libgo/go/os/stat_openbsd.go +++ b/libgo/go/os/stat_openbsd.go @@ -45,6 +45,9 @@ func fileInfoFromStat(st *syscall.Stat_t, name string) FileInfo { if st.Mode&syscall.S_ISUID != 0 { fs.mode |= ModeSetuid } + if st.Mode&syscall.S_ISVTX != 0 { + fs.mode |= ModeSticky + } return fs } |