Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 102 for setsid (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/go/internal/work/build_test.go

    	// BSD mkdir(2) inherits the parent directory group, and other platforms
    	// can inherit the parent directory group via setgid. The test setup (chmod
    	// setgid) will fail if the process does not have the group permission to
    	// the new temporary directory.
    	err = os.Chown(setgiddir, os.Getuid(), os.Getgid())
    	if err != nil {
    		if testenv.SyscallIsNotSupported(err) {
    			t.Skip("skipping: chown is not supported on " + runtime.GOOS)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. src/runtime/security_test.go

    	// chown lives, but using 'su root -c' gives us the correct PATH.
    
    	// buildTestProg uses os.MkdirTemp which creates directories with 0700, which prevents
    	// setuid binaries from executing because of the missing g+rx, so we need to set the parent
    	// directory to better permissions before anything else. We created this directory, so we
    	// shouldn't need to do any privilege trickery.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 18:10:14 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

        /**
         * Set the ID of this lifecycle, for identification in the mojo
         * descriptor.
         *
         * @param id a id object.
         */
        public void setId(String id) {
            this.id = id;
        } // -- void setId( String )
    
        /**
         * Set the phase mappings for this lifecycle.
         *
         * @param phases a phases object.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 19:51:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/typelink.go

    	tl := ldr.CreateSymForUpdate("runtime.typelink", 0)
    	tl.SetType(sym.STYPELINK)
    	ldr.SetAttrLocal(tl.Sym(), true)
    	tl.SetSize(int64(4 * len(typelinks)))
    	tl.Grow(tl.Size())
    	relocs := tl.AddRelocs(len(typelinks))
    	for i, s := range typelinks {
    		r := relocs.At(i)
    		r.SetSym(s.Type)
    		r.SetOff(int32(i * 4))
    		r.SetSiz(4)
    		r.SetType(objabi.R_ADDROFF)
    	}
    
    	ptrsize := ctxt.Arch.PtrSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 03 21:13:25 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  10. src/io/fs/fs.go

    	ModeNamedPipe                                  // p: named pipe (FIFO)
    	ModeSocket                                     // S: Unix domain socket
    	ModeSetuid                                     // u: setuid
    	ModeSetgid                                     // g: setgid
    	ModeCharDevice                                 // c: Unix character device, when ModeDevice is set
    	ModeSticky                                     // t: sticky
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top