gvisor/pkg/sentry/fs/tty
Nicolas Lacasse a2ec391dfb fs: Allow overlays to revalidate files from the upper fs.
Previously, an overlay would panic if either the upper or lower fs required
revalidation for a given Dirent. Now, we allow revalidation from the upper
file, but not the lower.

If a cached overlay inode does need revalidation (because the upper needs
revalidation), then the entire overlay Inode will be discarded and a new
overlay Inode will be built with a fresh copy of the upper file.

As a side effect of this change, Revalidate must take an Inode instead of a
Dirent, since an overlay needs to revalidate individual Inodes.

PiperOrigin-RevId: 208293638
Change-Id: Ic8f8d1ffdc09114721745661a09522b54420c5f1
2018-08-10 17:16:38 -07:00
..
BUILD Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
dir.go Enable checkpoint/restore in cases of UDS use. 2018-08-10 14:33:20 -07:00
fs.go fs: Allow overlays to revalidate files from the upper fs. 2018-08-10 17:16:38 -07:00
inode.go Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
line_discipline.go Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
master.go Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
queue.go Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
slave.go Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
terminal.go Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
tty_test.go Sentry: very basic terminal echo support. 2018-06-07 10:21:22 -07:00