MCPcopy
hub / github.com/google/gvisor / controlFDLisa

Struct controlFDLisa

runsc/fsgofer/lisafs.go:202–216  ·  view source on GitHub ↗

controlFDLisa implements lisafs.ControlFDImpl.

Source from the content-addressed store, hash-verified

200
201// controlFDLisa implements lisafs.ControlFDImpl.
202type controlFDLisa struct {
203 lisafs.ControlFD
204
205 // hostFD is the file descriptor which can be used to make host syscalls.
206 hostFD int
207
208 // writableHostFD is the file descriptor number for a writable FD opened on
209 // the same FD as `hostFD`. It is initialized to -1, and can change in value
210 // exactly once.
211 writableHostFD atomicbitops.Int32
212
213 // isMountpoint indicates whether this FD represents the mount point for its
214 // owning connection. isMountPoint is immutable.
215 isMountPoint bool
216}
217
218var _ lisafs.ControlFDImpl = (*controlFDLisa)(nil)
219

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected