gvisor/pkg
Dean Deng 137f361400 Use host-defined file owner and mode, when possible, for imported fds.
Using the host-defined file owner matches VFS1. It is more correct to use the
host-defined mode, since the cached value may become out of date. However,
kernfs.Inode.Mode() does not return an error--other filesystems on kernfs are
in-memory so retrieving mode should not fail. Therefore, if the host syscall
fails, we rely on a cached value instead.

Updates #1672.

PiperOrigin-RevId: 303220864
2020-03-26 16:47:20 -07:00
..
abi Support owner matching for iptables. 2020-03-26 12:21:24 -07:00
amutex Standardize on tools directory. 2020-01-27 12:21:00 -08:00
atomicbitops Re-add atomicbitops_arm64.s to BUILD. 2020-02-20 11:16:08 -08:00
binary Move Align{Up,Down} into binary package. 2020-02-11 11:09:31 -08:00
bits Misc fixes to make stat_test pass (almost) 2020-03-25 14:59:15 -07:00
bpf Standardize on tools directory. 2020-01-27 12:21:00 -08:00
buffer Clean-up buffer implementation. 2020-03-11 19:52:14 -07:00
compressio Standardize on tools directory. 2020-01-27 12:21:00 -08:00
context Update package locations. 2020-01-27 15:31:32 -08:00
control Standardize on tools directory. 2020-01-27 12:21:00 -08:00
cpuid cpuid: cache the maximum size of xsave state 2020-02-18 13:50:07 -08:00
eventchannel Standardize on tools directory. 2020-01-27 12:21:00 -08:00
fd Standardize on tools directory. 2020-01-27 12:21:00 -08:00
fdchannel Standardize on tools directory. 2020-01-27 12:21:00 -08:00
fdnotifier Standardize on tools directory. 2020-01-27 12:21:00 -08:00
flipcall Standardize on tools directory. 2020-01-27 12:21:00 -08:00
fspath Port most syscalls to VFS2. 2020-02-25 13:37:34 -08:00
gate Deflake third_party/gvisor/pkg/gate/gate_test 2020-03-18 17:42:29 -07:00
gohacks Port most syscalls to VFS2. 2020-02-25 13:37:34 -08:00
goid Standardize on tools directory. 2020-01-27 12:21:00 -08:00
ilist Prevent memory leaks in ilist 2020-03-06 12:31:43 -08:00
linewriter Standardize on tools directory. 2020-01-27 12:21:00 -08:00
log Fix nested logging. 2020-02-25 12:25:38 -08:00
memutil Standardize on tools directory. 2020-01-27 12:21:00 -08:00
metric Add notes to relevant tests. 2020-02-05 22:46:35 -08:00
p9 Un-export p9 message encode/decode functions. 2020-02-14 12:23:10 -08:00
pool Move p9.pool to a separate package 2020-02-06 10:07:45 -08:00
procid Standardize on tools directory. 2020-01-27 12:21:00 -08:00
rand Actually wrap rand.Reader in bufio.Reader. 2020-03-20 17:02:13 -07:00
refs Standardize on tools directory. 2020-01-27 12:21:00 -08:00
safecopy Fix safecopy test. 2020-02-04 12:47:06 -08:00
safemem Ensure that safemem.BlockSeqOf(safemem.Block{}) produces an empty BlockSeq. 2020-03-04 14:30:27 -08:00
seccomp tests: Don't print log messages on stdout 2020-03-04 16:16:35 -08:00
secio Standardize on tools directory. 2020-01-27 12:21:00 -08:00
segment Standardize on tools directory. 2020-01-27 12:21:00 -08:00
sentry Use host-defined file owner and mode, when possible, for imported fds. 2020-03-26 16:47:20 -07:00
sleep Simplify atomic operations 2020-02-11 20:37:01 -08:00
state Standardize on tools directory. 2020-01-27 12:21:00 -08:00
sync Fix data-race in endpoint.Readiness 2020-03-25 10:55:22 -07:00
syncevent Add //pkg/syncevent. 2020-02-18 15:18:48 -08:00
syserr Standardize on tools directory. 2020-01-27 12:21:00 -08:00
syserror Implement tap/tun device in vfs. 2020-02-21 15:42:56 -08:00
tcpip Use panic instead of log.Fatalf 2020-03-26 16:01:00 -07:00
tmutex Standardize on tools directory. 2020-01-27 12:21:00 -08:00
unet Standardize on tools directory. 2020-01-27 12:21:00 -08:00
urpc Standardize on tools directory. 2020-01-27 12:21:00 -08:00
usermem Port most syscalls to VFS2. 2020-02-25 13:37:34 -08:00
waiter Standardize on tools directory. 2020-01-27 12:21:00 -08:00