Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 102 for setsid (0.12 sec)

  1. src/os/types.go

    	ModeNamedPipe  = fs.ModeNamedPipe  // p: named pipe (FIFO)
    	ModeSocket     = fs.ModeSocket     // S: Unix domain socket
    	ModeSetuid     = fs.ModeSetuid     // u: setuid
    	ModeSetgid     = fs.ModeSetgid     // g: setgid
    	ModeCharDevice = fs.ModeCharDevice // c: Unix character device, when ModeDevice is set
    	ModeSticky     = fs.ModeSticky     // t: sticky
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            Profile profile = new Profile();
            profile.setId("pro");
            settings.addProfile(profile);
            Repository repo1 = new Repository();
            repo1.setUrl("http://apache.org/");
            repo1.setId("test");
            profile.addRepository(repo1);
            Repository repo2 = new Repository();
            repo2.setUrl("http://apache.org/");
            repo2.setId("test");
            profile.addRepository(repo2);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/setgid_linux.go

    // Test that setgid does not hang on Linux.
    // See https://golang.org/issue/3871 for details.
    
    package cgotest
    
    /*
    #include <sys/types.h>
    #include <unistd.h>
    */
    import "C"
    
    import (
    	"os"
    	"os/signal"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func runTestSetgid() bool {
    	c := make(chan bool)
    	go func() {
    		C.setgid(0)
    		c <- true
    	}()
    	select {
    	case <-c:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 843 bytes
    - Viewed (0)
  4. test/typeparam/sets.go

    // The values will be in an indeterminate order.
    func (s _Set[Elem]) Values() []Elem {
    	r := make([]Elem, 0, len(s.m))
    	for v := range s.m {
    		r = append(r, v)
    	}
    	return r
    }
    
    // _Equal reports whether two sets contain the same elements.
    func _Equal[Elem comparable](s1, s2 _Set[Elem]) bool {
    	if len(s1.m) != len(s2.m) {
    		return false
    	}
    	for v1 := range s1.m {
    		if !s2.Contains(v1) {
    			return false
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue9400/asm_mipsx.s

    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDU	$(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
    	ADDU	$(-1024*8), R29
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 663 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue9400/asm_ppc64x.s

    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), R1
    
    	// Ask signaller to setgid
    	MOVW	$1, R3
    	SYNC
    	MOVW	R3, ·Baton(SB)
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R3
    	CMP	R3, $0
    	// Hint that we're in a spin loop
    	OR	R1, R1, R1
    	BNE	loop
    	ISYNC
    
    	// Restore stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 668 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top