gvisor/pkg/sentry
Jamie Liu 8930e79ebf Clarify the platform.File interface.
- Redefine some memmap.Mappable, platform.File, and platform.Memory
semantics in terms of File reference counts (no functional change).

- Make AddressSpace.MapFile take a platform.File instead of a raw FD,
and replace platform.File.MapInto with platform.File.FD. This allows
kvm.AddressSpace.MapFile to always use platform.File.MapInternal instead
of maintaining its own (redundant) cache of file mappings in the sentry
address space.

PiperOrigin-RevId: 238044504
Change-Id: Ib73a11e4275c0da0126d0194aa6c6017a9cef64f
2019-03-12 10:29:16 -07:00
..
arch Change /proc/PID/cmdline to read environment vector. 2019-02-05 10:02:06 -08:00
context Make context.Background return a global background context. 2019-02-07 13:55:23 -08:00
control Add profiling commands to runsc 2019-03-11 11:47:30 -07:00
device Remove license comments 2019-01-31 11:12:53 -08:00
fs Clarify the platform.File interface. 2019-03-12 10:29:16 -07:00
hostcpu Remove license comments 2019-01-31 11:12:53 -08:00
inet Remove license comments 2019-01-31 11:12:53 -08:00
kernel Priority-inheritance futex implementation 2019-03-05 23:40:18 -08:00
limits Remove license comments 2019-01-31 11:12:53 -08:00
loader Remove license comments 2019-01-31 11:12:53 -08:00
memmap Clarify the platform.File interface. 2019-03-12 10:29:16 -07:00
memutil Remove license comments 2019-01-31 11:12:53 -08:00
mm Clarify the platform.File interface. 2019-03-12 10:29:16 -07:00
platform Clarify the platform.File interface. 2019-03-12 10:29:16 -07:00
safemem Priority-inheritance futex implementation 2019-03-05 23:40:18 -08:00
sighandling Remove license comments 2019-01-31 11:12:53 -08:00
socket Fix getsockopt(IP_MULTICAST_IF). 2019-03-09 11:40:51 -08:00
state Remove license comments 2019-01-31 11:12:53 -08:00
strace Format capget/capset arguments 2019-03-01 10:46:36 -08:00
syscalls Priority-inheritance futex implementation 2019-03-05 23:40:18 -08:00
time Move package sync to third_party 2019-01-31 17:49:14 -08:00
unimpl Remove license comments 2019-01-31 11:12:53 -08:00
uniqueid Remove license comments 2019-01-31 11:12:53 -08:00
usage Remove license comments 2019-01-31 11:12:53 -08:00
usermem Priority-inheritance futex implementation 2019-03-05 23:40:18 -08:00
watchdog Remove license comments 2019-01-31 11:12:53 -08:00
BUILD Remove license comments 2019-01-31 11:12:53 -08:00