gvisor/pkg/sync
Andrei Vagin 0bdd79ccd4 kvm: trap mmap syscalls to map new regions to the guest
We install seccomp rules so that the SIGSYS signal is generated for
each mmap system call. Then our signal handler executes the real mmap
syscall and if a new regions is created, it maps it to the guest.

Signed-off-by: Andrei Vagin <avagin@google.com>
2021-09-22 14:39:36 -07:00
..
atomicptr kvm: trap mmap syscalls to map new regions to the guest 2021-09-22 14:39:36 -07:00
atomicptrmap Internal change. 2021-09-09 16:17:51 -07:00
seqatomic
BUILD
LICENSE
README.md
aliases.go
checklocks_off_unsafe.go Add go:build directives as required by Go 1.17's gofmt. 2021-07-20 16:28:45 -07:00
checklocks_on_unsafe.go Add go:build directives as required by Go 1.17's gofmt. 2021-07-20 16:28:45 -07:00
gate_test.go
gate_unsafe.go
goyield_go113_unsafe.go Add go:build directives as required by Go 1.17's gofmt. 2021-07-20 16:28:45 -07:00
goyield_unsafe.go checklinkname: rudimentary type-checking of linkname directives 2021-07-30 13:42:15 -07:00
mutex_test.go
mutex_unsafe.go Bump gVisor build tags to go1.19 2021-08-05 15:25:00 -07:00
nocopy.go
norace_unsafe.go Add go:build directives as required by Go 1.17's gofmt. 2021-07-20 16:28:45 -07:00
race_amd64.s Add go:build directives as required by Go 1.17's gofmt. 2021-07-20 16:28:45 -07:00
race_arm64.s Add go:build directives as required by Go 1.17's gofmt. 2021-07-20 16:28:45 -07:00
race_unsafe.go Add go:build directives as required by Go 1.17's gofmt. 2021-07-20 16:28:45 -07:00
runtime_unsafe.go Bump gVisor build tags to go1.19 2021-08-05 15:25:00 -07:00
rwmutex_test.go
rwmutex_unsafe.go
seqcount.go
seqcount_test.go
sync.go

README.md

sync

This package provides additional synchronization primitives not provided by the Go stdlib 'sync' package. It is partially derived from the upstream 'sync' package from go1.10.