MCPcopy Create free account
hub / github.com/celzero/firestack / LogMemFD

Method LogMemFD

intra/backend/protect.go:24–24  ·  view source on GitHub ↗

LogMemFD hands off the shared-memory and that back the double-buffered log data. fd1 and fd2 can be mapped; but must be dup(2)'d before use. size is the max length (in bytes) of each region the receiver should mmap. slotsize is the size of each slot/line within the shared-memory region. Return a Log

(fd1, fd2, size, slotsize int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

SetupConsoleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected