gvisor/pkg
Adin Scannell 57edd0ee19 Restore FS on resume.
Previously, the vCPU FS was always correct because it relied on the
reset coming out of the switch. When that doesn't occur, for example,
using bluepill directly, the FS value can be incorrect leading to
strange corruption.

This change is necessary for a subsequent change that enforces guest
mode for page table modifications, and it may reduce test flakiness.
(The problematic path may occur in tests, but does not occur in the
actual platform.)

PiperOrigin-RevId: 198648137
Change-Id: I513910a973dd8666c9a1d18cf78990964d6a644d
2018-05-30 17:37:51 -07:00
..
abi Implement sysv shm. 2018-05-17 15:06:19 -07:00
amutex Check in gVisor. 2018-04-28 01:44:26 -04:00
atomicbitops Check in gVisor. 2018-04-28 01:44:26 -04:00
binary Check in gVisor. 2018-04-28 01:44:26 -04:00
bits Check in gVisor. 2018-04-28 01:44:26 -04:00
bpf Fix warning: redundant if ...; err != nil check, just return error instead. 2018-05-08 09:51:56 -07:00
compressio Fix warning: redundant if ...; err != nil check, just return error instead. 2018-05-08 09:51:56 -07:00
control Check in gVisor. 2018-04-28 01:44:26 -04:00
cpuid Fix misspellings 2018-05-07 16:38:01 -07:00
dhcp Implement SO_TIMESTAMP 2018-05-01 22:11:49 -07:00
eventchannel Check in gVisor. 2018-04-28 01:44:26 -04:00
fd Check in gVisor. 2018-04-28 01:44:26 -04:00
gate Add mising license headers. 2018-04-28 18:10:24 -07:00
hashio Check in gVisor. 2018-04-28 01:44:26 -04:00
ilist Check in gVisor. 2018-04-28 01:44:26 -04:00
linewriter Check in gVisor. 2018-04-28 01:44:26 -04:00
log Fix misspellings. 2018-05-03 14:06:13 -07:00
metric Check in gVisor. 2018-04-28 01:44:26 -04:00
p9 Fix warning: redundant if ...; err != nil check, just return error instead. 2018-05-08 09:51:56 -07:00
refs Implement sysv shm. 2018-05-17 15:06:19 -07:00
seccomp Check in gVisor. 2018-04-28 01:44:26 -04:00
secio Check in gVisor. 2018-04-28 01:44:26 -04:00
segment Check in gVisor. 2018-04-28 01:44:26 -04:00
sentry Restore FS on resume. 2018-05-30 17:37:51 -07:00
sleep Add mising license headers. 2018-04-28 18:10:24 -07:00
state state: serialize string as bytes instead of protobuf string. 2018-05-08 17:23:50 -07:00
sync Check in gVisor. 2018-04-28 01:44:26 -04:00
syserr Clarify that syserr.New must only be called during init 2018-05-22 11:54:31 -07:00
syserror Check in gVisor. 2018-04-28 01:44:26 -04:00
tcpip Automated rollback of changelist 196886839 2018-05-29 14:24:07 -07:00
tmutex Check in gVisor. 2018-04-28 01:44:26 -04:00
unet Check in gVisor. 2018-04-28 01:44:26 -04:00
urpc Remove dead code in urpc 2018-05-05 01:22:23 -07:00
waiter Poll should wake up on ECONNREFUSED with no mask. 2018-05-24 15:46:50 -07:00