diff options
Diffstat (limited to 'pkg/safecopy')
-rw-r--r-- | pkg/safecopy/safecopy_unsafe.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/safecopy/safecopy_unsafe.go b/pkg/safecopy/safecopy_unsafe.go index efbc2ddc1..3ec73f296 100644 --- a/pkg/safecopy/safecopy_unsafe.go +++ b/pkg/safecopy/safecopy_unsafe.go @@ -342,6 +342,9 @@ func errorFromFaultSignal(addr uintptr, sig int32) error { // handler however, and if this is function is being used externally then the // same courtesy is expected. func ReplaceSignalHandler(sig unix.Signal, handler uintptr, previous *uintptr) error { + // TODO(gvisor.dev/issue/6160): This struct is the same as linux.SigAction. + // Once the usermem dependency is removed from primitive, delete this replica + // and remove IFTTT comments in abi/linux/signal.go. var sa struct { handler uintptr flags uint64 |