mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Add explanation for implementation of BSD full file locks.
PiperOrigin-RevId: 290272560
This commit is contained in:
@@ -78,6 +78,9 @@ const (
|
||||
)
|
||||
|
||||
// LockEOF is the maximal possible end of a regional file lock.
|
||||
//
|
||||
// A BSD-style full file lock can be represented as a regional file lock from
|
||||
// offset 0 to LockEOF.
|
||||
const LockEOF = math.MaxUint64
|
||||
|
||||
// Lock is a regional file lock. It consists of either a single writer
|
||||
|
||||
Reference in New Issue
Block a user