Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for sa_handler (0.23 sec)

  1. src/runtime/defs_linux_loong64.go

    }
    
    const (
    	_O_RDONLY   = 0x0
    	_O_WRONLY   = 0x1
    	_O_CREAT    = 0x40
    	_O_TRUNC    = 0x200
    	_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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/runtime/os_aix.go

    	var sa sigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = sigset_all
    	if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go
    		fn = uintptr(unsafe.Pointer(&sigtramp))
    	}
    	sa.sa_handler = fn
    	sigaction(uintptr(i), &sa, nil)
    
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsigstack(i uint32) {
    	var sa sigactiont
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/runtime/defs_linux_arm.go

    	si_addr uint32
    }
    
    type siginfo struct {
    	siginfoFields
    
    	// Pad struct to the max size in the kernel.
    	_ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte
    }
    
    type sigactiont struct {
    	sa_handler  uintptr
    	sa_flags    uint32
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    type sockaddr_un struct {
    	family uint16
    	path   [108]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/runtime/defs_linux_s390x.go

    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_handler  uintptr
    	sa_flags    uint64
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    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.2K bytes
    - Viewed (0)
  5. src/runtime/defs_linux_ppc64.go

    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_handler  uintptr
    	sa_flags    uint64
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    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.7K bytes
    - Viewed (0)
  6. src/runtime/defs_linux_mips64x.go

    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/runtime/defs_linux_mipsx.go

    }
    
    type timeval struct {
    	tv_sec  int32
    	tv_usec int32
    }
    
    //go:nosplit
    func (tv *timeval) set_usec(x int32) {
    	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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. src/runtime/defs_linux_ppc64le.go

    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_handler  uintptr
    	sa_flags    uint64
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    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.7K bytes
    - Viewed (0)
  9. src/runtime/defs_linux_arm64.go

    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_handler  uintptr
    	sa_flags    uint64
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    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.6K bytes
    - Viewed (0)
  10. src/runtime/defs_linux_riscv64.go

    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top