gvisor/pkg
Kevin Krakauer 12a4912aed Fix `ls -laR | wc -l` hanging.
stat()-ing /proc/PID/fd/FD incremented but didn't decrement the refcount for
FD. This behavior wasn't usually noticeable, but in the above case:

- ls would never decrement the refcount of the write end of the pipe to 0.
- This caused the write end of the pipe never to close.
- wc would then hang read()-ing from the pipe.

PiperOrigin-RevId: 208728817
Change-Id: I4fca1ba5ca24e4108915a1d30b41dc63da40604d
2018-08-14 15:49:58 -07:00
..
abi Automated rollback of changelist 208284483 2018-08-14 11:50:49 -07:00
amutex stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
atomicbitops stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
binary stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
bits stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
bpf Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
compressio stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
control stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
cpuid Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
dhcp Move stack clock to options struct 2018-08-01 20:22:02 -07:00
eventchannel stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
fd stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
gate stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
hashio stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
ilist Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
linewriter stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
log stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
metric stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
p9 Add path sanity checks. 2018-08-13 12:50:29 -07:00
rand stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
refs stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
seccomp stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
secio stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
segment Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
sentry Fix `ls -laR | wc -l` hanging. 2018-08-14 15:49:58 -07:00
sleep stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
state stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
sync stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
syserr stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
syserror stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
tcpip Basic support for ip link/addr and ifconfig 2018-08-08 22:39:58 -07:00
tmutex stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
unet stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
urpc stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
waiter Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00