gvisor/pkg/sentry/kernel/pipe
Nicolas Lacasse 0c292cdaab Remove the Dirent field from Pipe.
Dirents are ref-counted, but Pipes are not. Holding a Dirent inside of a Pipe
raises difficult questions about the lifecycle of the Pipe and Dirent.

Fortunately, we can side-step those questions by removing the Dirent field from
Pipe entirely. We only need the Dirent when constructing fs.Files (which are
ref-counted), and in GetFile (when a Dirent is passed to us anyways).

PiperOrigin-RevId: 251497628
2019-06-04 12:58:56 -07:00
..
BUILD Clean up pipe internals and add fcntl support 2019-05-21 20:12:27 -07:00
buffer.go Clean up pipe internals and add fcntl support 2019-05-21 20:12:27 -07:00
buffer_test.go Clean up pipe internals and add fcntl support 2019-05-21 20:12:27 -07:00
device.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
node.go Remove the Dirent field from Pipe. 2019-06-04 12:58:56 -07:00
node_test.go Remove the Dirent field from Pipe. 2019-06-04 12:58:56 -07:00
pipe.go Remove the Dirent field from Pipe. 2019-06-04 12:58:56 -07:00
pipe_test.go Clean up pipe internals and add fcntl support 2019-05-21 20:12:27 -07:00
reader.go Clean up pipe internals and add fcntl support 2019-05-21 20:12:27 -07:00
reader_writer.go Clean up pipe internals and add fcntl support 2019-05-21 20:12:27 -07:00
writer.go Clean up pipe internals and add fcntl support 2019-05-21 20:12:27 -07:00