gvisor/pkg/sentry
Nicolas Lacasse fd222d62ed Short-circuit Readdir calls on overlay files when the dirent is frozen.
If we have an overlay file whose corresponding Dirent is frozen, then we should
not bother calling Readdir on the upper or lower files, since DirentReaddir
will calculate children based on the frozen Dirent tree.

A test was added that fails without this change.

PiperOrigin-RevId: 213531215
Change-Id: I4d6c98f1416541a476a34418f664ba58f936a81d
2018-09-18 15:42:22 -07:00
..
arch Implement POSIX per-process interval timers. 2018-08-23 16:32:36 -07:00
context Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
control runsc: Enable waiting on exited processes. 2018-09-17 16:25:24 -07:00
device
fs Short-circuit Readdir calls on overlay files when the dirent is frozen. 2018-09-18 15:42:22 -07:00
hostcpu
inet Basic support for ip link/addr and ifconfig 2018-08-08 22:39:58 -07:00
kernel runsc: Enable waiting on exited processes. 2018-09-17 16:25:24 -07:00
limits Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
loader Always add AT_BASE even if there is no interpreter. 2018-08-22 12:37:09 -07:00
memmap Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
memutil
mm Allow '/dev/zero' to be mapped with unaligned length 2018-09-10 13:24:55 -07:00
platform Provide better message when memfd_create fails with ENOSYS 2018-09-18 02:09:28 -07:00
safemem
sighandling Update cleanup TODO 2018-09-07 18:14:57 -07:00
socket Fix handling of abstract Unix socket addresses 2018-08-20 16:12:23 -07:00
state
strace Format struct itimerspec 2018-09-13 14:07:47 -07:00
syscalls Allow for MSG_CTRUNC in input flags for recv. 2018-09-18 11:14:37 -07:00
time
uniqueid
usage Provide better message when memfd_create fails with ENOSYS 2018-09-18 02:09:28 -07:00
usermem Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
watchdog
BUILD