Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for Getegid (0.11 sec)

  1. src/cmd/cgo/internal/test/issue9400/asm_riscv64.s

    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADD	$(1024*8), X2
    
    	// Ask signaller to setgid
    	MOV	$1, X5
    	FENCE
    	MOVW	X5, ·Baton(SB)
    	FENCE
    
    	// Wait for setgid completion
    loop:
    	FENCE
    	MOVW	·Baton(SB), X5
    	OR	X6, X6, X6	// hint that we're in a spin loop
    	BNE	ZERO, X5, loop
    	FENCE
    
    	// Restore stack
    	ADD	$(-1024*8), X2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 659 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/cmd/cgo/internal/test/issue9400/asm_386.s

    	MOVL	$·Baton(SB), BX
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDL	$(1024 * 8), SP
    
    	// Ask signaller to setgid
    	MOVL	$1, (BX)
    
    	// Wait for setgid completion
    loop:
    	PAUSE
    	MOVL	(BX), AX
    	CMPL	AX, $0
    	JNE	loop
    
    	// Restore stack
    	SUBL	$(1024 * 8), SP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 575 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue9400/asm_s390x.s

    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), R15
    
    	// Ask signaller to setgid
    	MOVD	$·Baton(SB), R5
    	MOVW	$1, 0(R5)
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R3
    	CMPBNE	R3, $0, loop
    
    	// Restore stack
    	SUB	$(1024 * 8), R15
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 580 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue9400/asm_loong64.s

    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDV	$(1024*8), R3
    
    	// Ask signaller to setgid
    	MOVW	$1, R12
    	DBAR
    	MOVW	R12, ·Baton(SB)
    	DBAR
    
    	// Wait for setgid completion
    loop:
    	DBAR
    	MOVW	·Baton(SB), R12
    	OR	R13, R13, R13	// hint that we're in a spin loop
    	BNE	R12, loop
    	DBAR
    
    	// Restore stack
    	ADDV	$(-1024*8), R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 633 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue9400/asm_amd64x.s

    TEXT ·RewindAndSetgid(SB),NOSPLIT,$0-0
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDQ	$(1024 * 8), SP
    
    	// Ask signaller to setgid
    	MOVL	$1, ·Baton(SB)
    
    	// Wait for setgid completion
    loop:
    	PAUSE
    	MOVL	·Baton(SB), AX
    	CMPL	AX, $0
    	JNE	loop
    
    	// Restore stack
    	SUBQ	$(1024 * 8), SP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 589 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue9400/asm_arm64.s

    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), RSP
    
    	// Ask signaller to setgid
    	MOVD	$·Baton(SB), R0
    	MOVD	$1, R1
    storeloop:
    	LDAXRW	(R0), R2
    	STLXRW	R1, (R0), R3
    	CBNZ	R3, storeloop
    
    	// Wait for setgid completion
    	MOVW	$0, R1
    	MOVW	$0, R2
    loop:
    	LDAXRW	(R0), R3
    	CMPW	R1, R3
    	BNE	loop
    	STLXRW	R2, (R0), R3
    	CBNZ	R3, loop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 760 bytes
    - Viewed (0)
  8. src/syscall/exec_libc2.go

    	Chroot     string      // Chroot.
    	Credential *Credential // Credential.
    	Ptrace     bool        // Enable tracing.
    	Setsid     bool        // Create session.
    	// Setpgid sets the process group ID of the child to Pgid,
    	// or, if Pgid == 0, to the new child's process ID.
    	Setpgid bool
    	// Setctty sets the controlling terminal of the child to
    	// file descriptor Ctty. Ctty must be a descriptor number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. src/runtime/testdata/testsuid/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"log"
    	"os"
    )
    
    func main() {
    	if os.Geteuid() == os.Getuid() {
    		os.Exit(99)
    	}
    
    	fmt.Fprintf(os.Stdout, "GOTRACEBACK=%s\n", os.Getenv("GOTRACEBACK"))
    	f, err := os.OpenFile(os.Getenv("TEST_OUTPUT"), os.O_CREATE|os.O_RDWR, 0600)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 534 bytes
    - Viewed (0)
  10. helm/minio/templates/securitycontextconstraints.yaml

    allowHostPorts: false
    allowPrivilegeEscalation: true
    allowPrivilegedContainer: false
    allowedCapabilities: []
    readOnlyRootFilesystem: false
    defaultAddCapabilities: []
    requiredDropCapabilities:
    - KILL
    - MKNOD
    - SETUID
    - SETGID
    fsGroup:
      type: MustRunAs
      ranges:
      - max: {{ .Values.securityContext.fsGroup }}
        min: {{ .Values.securityContext.fsGroup }}
    runAsUser:
      type: MustRunAs
      uid: {{ .Values.securityContext.runAsUser }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Aug 20 22:30:54 UTC 2021
    - 1.1K bytes
    - Viewed (0)
Back to top