Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for sysSigaction (0.19 sec)

  1. src/runtime/sigaction.go

    // This version is used on Linux and FreeBSD systems on which we don't
    // use cgo to call the C version of sigaction.
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigaction(sig uint32, new, old *sigactiont) {
    	sysSigaction(sig, new, old)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 489 bytes
    - Viewed (0)
  2. src/runtime/cgo_sigaction.go

    		msanwrite(unsafe.Pointer(new), unsafe.Sizeof(*new))
    	}
    	if asanenabled && new != nil {
    		asanwrite(unsafe.Pointer(new), unsafe.Sizeof(*new))
    	}
    	if _cgo_sigaction == nil || inForkedChild {
    		sysSigaction(sig, new, old)
    	} else {
    		// We need to call _cgo_sigaction, which means we need a big enough stack
    		// for C.  To complicate matters, we may be in libpreinit (before the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. src/runtime/os_freebsd.go

    			physPageSize = val
    		case _AT_TIMEKEEP:
    			timekeepSharedPage = (*vdsoTimekeep)(unsafe.Pointer(val))
    		}
    
    		archauxv(tag, val)
    	}
    	return i / 2
    }
    
    // sysSigaction calls the sigaction system call.
    //
    //go:nosplit
    func sysSigaction(sig uint32, new, old *sigactiont) {
    	// Use system stack to avoid split stack overflow on amd64
    	if asmSigaction(uintptr(sig), new, old) != 0 {
    		systemstack(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. src/runtime/os_linux.go

    func setSignalstackSP(s *stackt, sp uintptr) {
    	*(*uintptr)(unsafe.Pointer(&s.ss_sp)) = sp
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    }
    
    // sysSigaction calls the rt_sigaction system call.
    //
    //go:nosplit
    func sysSigaction(sig uint32, new, old *sigactiont) {
    	if rt_sigaction(uintptr(sig), new, old, unsafe.Sizeof(sigactiont{}.sa_mask)) != 0 {
    		// Workaround for bugs in QEMU user mode emulation.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. src/runtime/sys_freebsd_riscv64.s

    #define SYS___sysctl		202
    #define SYS_nanosleep		240
    #define SYS_issetugid		253
    #define SYS_clock_gettime	232
    #define SYS_sched_yield		331
    #define SYS_sigprocmask		340
    #define SYS_kqueue		362
    #define SYS_sigaction		416
    #define SYS_thr_exit		431
    #define SYS_thr_self		432
    #define SYS_thr_kill		433
    #define SYS__umtx_op		454
    #define SYS_thr_new		455
    #define SYS_mmap		477
    #define SYS_cpuset_getaffinity	487
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. src/syscall/zsysnum_openbsd_mips64.go

    	SYS_GETEGID        = 43  // { gid_t sys_getegid(void); }
    	SYS_PROFIL         = 44  // { int sys_profil(caddr_t samples, size_t size, \
    	SYS_KTRACE         = 45  // { int sys_ktrace(const char *fname, int ops, \
    	SYS_SIGACTION      = 46  // { int sys_sigaction(int signum, \
    	SYS_GETGID         = 47  // { gid_t sys_getgid(void); }
    	SYS_SIGPROCMASK    = 48  // { int sys_sigprocmask(int how, sigset_t mask); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 08:08:26 UTC 2020
    - 14.9K bytes
    - Viewed (0)
  7. src/syscall/zsysnum_linux_mips.go

    	SYS_CHROOT                 = 4061
    	SYS_USTAT                  = 4062
    	SYS_DUP2                   = 4063
    	SYS_GETPPID                = 4064
    	SYS_GETPGRP                = 4065
    	SYS_SETSID                 = 4066
    	SYS_SIGACTION              = 4067
    	SYS_SGETMASK               = 4068
    	SYS_SSETMASK               = 4069
    	SYS_SETREUID               = 4070
    	SYS_SETREGID               = 4071
    	SYS_SIGSUSPEND             = 4072
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 12.1K bytes
    - Viewed (0)
  8. src/syscall/zsysnum_openbsd_amd64.go

    	SYS_GETEGID        = 43  // { gid_t sys_getegid(void); }
    	SYS_PROFIL         = 44  // { int sys_profil(caddr_t samples, size_t size, \
    	SYS_KTRACE         = 45  // { int sys_ktrace(const char *fname, int ops, \
    	SYS_SIGACTION      = 46  // { int sys_sigaction(int signum, \
    	SYS_GETGID         = 47  // { gid_t sys_getgid(void); }
    	SYS_SIGPROCMASK    = 48  // { int sys_sigprocmask(int how, sigset_t mask); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 14.2K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_linux_s390x.go

    	SYS_CHROOT                 = 61
    	SYS_USTAT                  = 62
    	SYS_DUP2                   = 63
    	SYS_GETPPID                = 64
    	SYS_GETPGRP                = 65
    	SYS_SETSID                 = 66
    	SYS_SIGACTION              = 67
    	SYS_SIGSUSPEND             = 72
    	SYS_SIGPENDING             = 73
    	SYS_SETHOSTNAME            = 74
    	SYS_SETRLIMIT              = 75
    	SYS_GETRUSAGE              = 77
    	SYS_GETTIMEOFDAY           = 78
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_linux_ppc64le.go

    	SYS_CHROOT                 = 61
    	SYS_USTAT                  = 62
    	SYS_DUP2                   = 63
    	SYS_GETPPID                = 64
    	SYS_GETPGRP                = 65
    	SYS_SETSID                 = 66
    	SYS_SIGACTION              = 67
    	SYS_SGETMASK               = 68
    	SYS_SSETMASK               = 69
    	SYS_SETREUID               = 70
    	SYS_SETREGID               = 71
    	SYS_SIGSUSPEND             = 72
    	SYS_SIGPENDING             = 73
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 11.5K bytes
    - Viewed (0)
Back to top