Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for SIGSETXID (0.14 sec)

  1. src/cmd/cgo/internal/test/issue9400_linux.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that SIGSETXID runs on signal stack, since it's likely to
    // overflow if it runs on the Go stack.
    
    package cgotest
    
    /*
    #include <sys/types.h>
    #include <unistd.h>
    */
    import "C"
    
    import (
    	"runtime"
    	"runtime/debug"
    	"sync/atomic"
    	"testing"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/setgid2_linux.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Stress test setgid and thread creation. A thread
    // can get a SIGSETXID signal early on at thread
    // initialization, causing crash. See issue 53374.
    
    package cgotest
    
    /*
    #include <sys/types.h>
    #include <unistd.h>
    */
    import "C"
    
    import (
    	"runtime"
    	"testing"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 681 bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/sigtab_linux_mipsx.go

    	/*  31 */ {_SigNotify, "SIGXFSZ: file size limit exceeded"},
    	/*  32 */ {_SigSetStack + _SigUnblock, "signal 32"}, /* SIGCANCEL; see issue 6997 */
    	/*  33 */ {_SigSetStack + _SigUnblock, "signal 33"}, /* SIGSETXID; see issues 3871, 9400, 12498 */
    	/*  34 */ {_SigSetStack + _SigUnblock, "signal 34"}, /* musl SIGSYNCCALL; see issue 39343 */
    	/*  35 */ {_SigNotify, "signal 35"},
    	/*  36 */ {_SigNotify, "signal 36"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6K bytes
    - Viewed (0)
  5. src/runtime/sigtab_linux_generic.go

    	/* 31 */ {_SigThrow, "SIGSYS: bad system call"},
    	/* 32 */ {_SigSetStack + _SigUnblock, "signal 32"}, /* SIGCANCEL; see issue 6997 */
    	/* 33 */ {_SigSetStack + _SigUnblock, "signal 33"}, /* SIGSETXID; see issues 3871, 9400, 12498 */
    	/* 34 */ {_SigSetStack + _SigUnblock, "signal 34"}, /* musl SIGSYNCCALL; see issue 39343 */
    	/* 35 */ {_SigNotify, "signal 35"},
    	/* 36 */ {_SigNotify, "signal 36"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/loong64/obj.go

    				q.To.Reg = REGSP
    				q.Spadj = +autosize
    
    				q = c.ctxt.EndUnsafePoint(q, c.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: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/internal/obj/s390x/objz.go

    				q.To.Reg = REGSP
    				q.Spadj = autosize
    
    				q = c.ctxt.EndUnsafePoint(q, c.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: Fri Apr 21 19:28:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/arm64/obj7.go

    				// the traceback code will not see a half-updated stack frame.
    				// Also, 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 it is important that we don't write below
    				// the SP until the signal stack is set.
    				// Luckily, all the functions from thread entry to setting the signal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/mips/obj0.go

    				q.To.Reg = REGSP
    				q.Spadj = +autosize
    
    				q = c.ctxt.EndUnsafePoint(q, c.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: Fri Apr 21 19:28:53 UTC 2023
    - 30.6K bytes
    - Viewed (0)
Back to top