Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 397 for setFid (0.11 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go

    func Seteuid(euid int) (err error) {
    	_, _, e1 := syscall_rawSyscall(libc_seteuid_trampoline_addr, uintptr(euid), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    var libc_seteuid_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_seteuid seteuid "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Setgid(gid int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue9400/asm_mips64x.s

    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDV	$(1024*8), R29
    
    	// Ask signaller to setgid
    	MOVW	$1, R1
    	SYNC
    	MOVW	R1, ·Baton(SB)
    	SYNC
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R1
    	OR	R2, R2, R2	// hint that we're in a spin loop
    	BNE	R1, loop
    	SYNC
    
    	// Restore stack
    	ADDV	$(-1024*8), R29
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 691 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/controller/statefulset/stateful_set_utils_test.go

    				},
    			},
    			setUID:        "set",
    			podUID:        "pod",
    			nonController: false,
    		},
    	}
    
    	for _, tc := range testCases {
    		claim := v1.PersistentVolumeClaim{}
    		claim.SetOwnerReferences(tc.refs)
    		pod := v1.Pod{}
    		pod.SetUID(tc.podUID)
    		pod.SetName("pod")
    		set := apps.StatefulSet{}
    		set.SetUID(tc.setUID)
    		set.SetName("set")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue9400/asm_arm.s

    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), R13
    
    	// Ask signaller to setgid
    	MOVW	$·Baton(SB), R2
    storeloop:
    	MOVW	0(R2), R0
    	MOVW	$1, R1
    	BL	cas<>(SB)
    	BCC	storeloop
    
    	// Wait for setgid completion
    loop:
    	MOVW	$0, R0
    	MOVW	$0, R1
    	BL	cas<>(SB)
    	BCC	loop
    
    	// Restore stack
    	SUB	$(1024 * 8), R13
    
    	MOVW	R4, R14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 758 bytes
    - Viewed (0)
  7. pkg/kubelet/prober/results/results_manager_test.go

    	setID := kubecontainer.ContainerID{Type: "test", ID: "set"}
    
    	_, found := m.Get(unsetID)
    	assert.False(t, found, "unset result found")
    
    	m.Set(setID, Success, &corev1.Pod{})
    	result, found := m.Get(setID)
    	assert.True(t, result == Success, "set result")
    	assert.True(t, found, "set result found")
    
    	m.Remove(setID)
    	_, found = m.Get(setID)
    	assert.False(t, found, "removed result found")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 02 10:55:41 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_openbsd_riscv64.go

    func Seteuid(euid int) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_seteuid_trampoline), uintptr(euid), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_seteuid_trampoline()
    
    //go:cgo_import_dynamic libc_seteuid seteuid "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Setgid(gid int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top