Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SIGSETXID (0.1 sec)

  1. src/os/signal/doc.go

    generally be honored. However, some signals are explicitly unblocked:
    the synchronous signals, SIGILL, SIGTRAP, SIGSTKFLT, SIGCHLD, SIGPROF,
    and, on Linux, signals 32 (SIGCANCEL) and 33 (SIGSETXID)
    (SIGCANCEL and SIGSETXID are used internally by glibc). Subprocesses
    started by [os.Exec], or by [os/exec], will inherit the
    modified signal mask.
    
    # Changing the behavior of signals in Go programs
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/runtime/os_linux.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"internal/runtime/atomic"
    	"internal/runtime/syscall"
    	"unsafe"
    )
    
    // sigPerThreadSyscall is the same signal (SIGSETXID) used by glibc for
    // per-thread syscalls on Linux. We use it for the same purpose in non-cgo
    // binaries.
    const sigPerThreadSyscall = _SIGRTMIN + 1
    
    type mOS struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. src/runtime/signal_unix.go

    //
    // 2. It shouldn't be used internally by libc in mixed Go/C binaries
    // because libc may assume it's the only thing that can handle these
    // signals. For example SIGCANCEL or SIGSETXID.
    //
    // 3. It should be a signal that can happen spuriously without
    // consequences. For example, SIGALRM is a bad choice because the
    // signal handler can't tell if it was caused by the real process
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/riscv/obj.go

    		prologue.Spadj = int32(stacksize)
    
    		prologue = ctxt.EndUnsafePoint(prologue, newprog, -1)
    
    		// On Linux, in a cgo binary we may get a SIGSETXID signal early on
    		// before the signal stack is set, as glibc doesn't allow us to block
    		// SIGSETXID. So a signal may land on the current stack and clobber
    		// the content below the SP. We store the LR again after the SP is
    		// decremented.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top