- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 151 for setsig (0.2 sec)
-
src/runtime/signal_unix.go
fwdSig[i] = getsig(i) if !sigInstallGoHandler(i) { // Even if we are not installing a signal handler, // set SA_ONSTACK if necessary. if fwdSig[i] != _SIG_DFL && fwdSig[i] != _SIG_IGN { setsigstack(i) } else if fwdSig[i] == _SIG_IGN { sigInitIgnored(i) } continue } handlingSig[i] = 1 setsig(i, abi.FuncPCABIInternal(sighandler)) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0) -
src/runtime/defs_linux_mips64x.go
tv.tv_usec = int64(x) } type sigactiont struct { sa_flags uint32 sa_handler uintptr sa_mask [2]uint64 // linux header does not have sa_restorer field, // but it is used in setsig(). it is no harm to put it here sa_restorer uintptr } type siginfoFields struct { si_signo int32 si_code int32 si_errno int32 __pad0 [1]int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.6K bytes - Viewed (0) -
src/runtime/defs_linux_mipsx.go
tv.tv_usec = x } type sigactiont struct { sa_flags uint32 sa_handler uintptr sa_mask [4]uint32 // linux header does not have sa_restorer field, // but it is used in setsig(). it is no harm to put it here sa_restorer uintptr } type siginfoFields struct { si_signo int32 si_code int32 si_errno int32 // below here is a union; si_addr is the only field we use
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.6K bytes - Viewed (0) -
src/runtime/defs_linux_riscv64.go
tv.tv_usec = int64(x) } type sigactiont struct { sa_handler uintptr sa_flags uint64 sa_mask uint64 // Linux on riscv64 does not have the sa_restorer field, but the setsig // function references it (for x86). Not much harm to include it at the end. sa_restorer uintptr } type siginfoFields struct { si_signo int32 si_errno int32 si_code int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.8K bytes - Viewed (0) -
src/runtime/defs_linux_loong64.go
_O_NONBLOCK = 0x800 _O_CLOEXEC = 0x80000 ) type sigactiont struct { sa_handler uintptr sa_flags uint64 sa_mask uint64 // Linux on loong64 does not have the sa_restorer field, but the setsig // function references it (for x86). Not much harm to include it at the end. sa_restorer uintptr } type siginfoFields struct { si_signo int32 si_errno int32 si_code int32 __pad0 [1]int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.4K bytes - Viewed (0) -
src/runtime/os_openbsd.go
//go:nosplit //go:nowritebarrierrec func setsigstack(i uint32) { throw("setsigstack") } //go:nosplit //go:nowritebarrierrec func getsig(i uint32) uintptr { var sa sigactiont sigaction(i, nil, &sa) return sa.sa_sigaction } // setSignalstackSP sets the ss_sp field of a stackt. // //go:nosplit func setSignalstackSP(s *stackt, sp uintptr) { s.ss_sp = sp } //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 6.2K bytes - Viewed (0) -
src/runtime/os_dragonfly.go
//go:nosplit //go:nowritebarrierrec func setsigstack(i uint32) { throw("setsigstack") } //go:nosplit //go:nowritebarrierrec func getsig(i uint32) uintptr { var sa sigactiont sigaction(i, nil, &sa) return sa.sa_sigaction } // setSignalstackSP sets the ss_sp field of a stackt. // //go:nosplit func setSignalstackSP(s *stackt, sp uintptr) { s.ss_sp = sp } //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 7.1K bytes - Viewed (0) -
src/runtime/os_aix.go
return } sa.sa_flags |= _SA_ONSTACK sigaction(uintptr(i), &sa, nil) } //go:nosplit //go:nowritebarrierrec func getsig(i uint32) uintptr { var sa sigactiont sigaction(uintptr(i), nil, &sa) return sa.sa_handler } // setSignalstackSP sets the ss_sp field of a stackt. // //go:nosplit func setSignalstackSP(s *stackt, sp uintptr) { *(*uintptr)(unsafe.Pointer(&s.ss_sp)) = sp }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/runtime/os_netbsd.go
//go:nosplit //go:nowritebarrierrec func setsigstack(i uint32) { throw("setsigstack") } //go:nosplit //go:nowritebarrierrec func getsig(i uint32) uintptr { var sa sigactiont sigaction(i, nil, &sa) return sa.sa_sigaction } // setSignalstackSP sets the ss_sp field of a stackt. // //go:nosplit func setSignalstackSP(s *stackt, sp uintptr) { s.ss_sp = sp } //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 10.1K bytes - Viewed (0) -
src/runtime/os_freebsd.go
} // See os_freebsd2.go, os_freebsd_amd64.go for setsig function //go:nosplit //go:nowritebarrierrec func setsigstack(i uint32) { var sa sigactiont sigaction(i, nil, &sa) if sa.sa_flags&_SA_ONSTACK != 0 { return } sa.sa_flags |= _SA_ONSTACK sigaction(i, &sa, nil) } //go:nosplit //go:nowritebarrierrec func getsig(i uint32) uintptr { var sa sigactiont
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.6K bytes - Viewed (0)