]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.24] os: fix Root.Mkdir permission bits on OpenBSD
authorJosh Rickmar <jrick@zettaport.com>
Thu, 1 May 2025 15:09:40 +0000 (15:09 +0000)
committerMichael Knyszek <mknyszek@google.com>
Mon, 12 May 2025 13:46:12 +0000 (06:46 -0700)
commit431f75a0b9890faa2b6a5ade8e19d4c23d0aaaf0
tree913cb2ba9956ef95d711e5ebde51a6e68292ce93
parent34c8b14ca9f4096383d658fbd748322a993a2bd2
[release-branch.go1.24] os: fix Root.Mkdir permission bits on OpenBSD

Pass missing mode bits in the mkdirat() syscall wrapper.

For #73559
Fixes #73570

Change-Id: I54b1985bd77b1fe5d1a48acab9f2597f8c931854
GitHub-Last-Rev: 669c17361d86bc9065bb6b47a2d60aa86bcfa12d
GitHub-Pull-Request: golang/go#73565
Reviewed-on: https://go-review.googlesource.com/c/go/+/669375
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
(cherry picked from commit f0a9ed7dd89f35c187830742402cfebba9d6d33a)
Reviewed-on: https://go-review.googlesource.com/c/go/+/669397
Reviewed-by: Joel Sing <joel@sing.id.au>
src/internal/syscall/unix/at_openbsd.go
src/os/root_test.go