gvisor/pkg/sentry
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
..
arch Check in gVisor. 2018-04-28 01:44:26 -04:00
context Implement sysv shm. 2018-05-17 15:06:19 -07:00
control Run gofmt -s on everything 2018-05-04 14:16:11 -07:00
device Check in gVisor. 2018-04-28 01:44:26 -04:00
fs Cleanup docs 2018-05-17 16:26:42 -07:00
hostcpu Check in gVisor. 2018-04-28 01:44:26 -04:00
inet sentry: Replaces saving of inet.Stack with retrieval via context. 2018-05-15 14:56:18 -07:00
kernel Fix capability check for sysv semaphores. 2018-05-17 15:38:11 -07:00
limits Check in gVisor. 2018-04-28 01:44:26 -04:00
loader Reword misleading log line 2018-05-08 09:59:03 -07:00
memmap Implement MAP_32BIT. 2018-05-11 11:18:31 -07:00
memutil Check in gVisor. 2018-04-28 01:44:26 -04:00
mm Implement sysv shm. 2018-05-17 15:06:19 -07:00
platform Restore FS on resume. 2018-05-30 17:37:51 -07:00
safemem Check in gVisor. 2018-04-28 01:44:26 -04:00
sighandling Check in gVisor. 2018-04-28 01:44:26 -04:00
socket rpcinet connect doesn't handle all errnos correctly. 2018-05-24 15:18:21 -07:00
state Sentry: always use "best speed" compression for save and remove the option. 2018-05-08 10:07:10 -07:00
strace Clean up control message strace logging 2018-05-03 16:26:23 -07:00
syscalls Remove offset check to match with Linux implementation. 2018-05-22 16:36:40 -07:00
time Check in gVisor. 2018-04-28 01:44:26 -04:00
uniqueid Check in gVisor. 2018-04-28 01:44:26 -04:00
usage Fix misspellings 2018-05-07 16:38:01 -07:00
usermem Check in gVisor. 2018-04-28 01:44:26 -04:00
watchdog Check in gVisor. 2018-04-28 01:44:26 -04:00
BUILD Check in gVisor. 2018-04-28 01:44:26 -04:00