proposal: syscall: implement Flock on Solaris in terms of FcntlFlock #24684
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Proposal
Milestone
go version go1.10.1 solaris/amd64
okay I read that
"This package is locked down. Code outside the standard Go repository should be migrated to use the corresponding package in the golang.org/x/sys repository"
I get it. You dont want new stuff there.
That being said, programs are still going to be using syscall.Flock for years to come
Solaris doesnt have a Flock implementation, because current common implementation just uses Syscall(), which solaris doesnt exactly have.
But it DOES have FcntlFlock.
So would it be permissible for me to submit a patch to syscall_solaris.go, that gives Solaris an implementation of Flock on top of FcntlFlock ?
The text was updated successfully, but these errors were encountered: