Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 164 for setFid (0.09 sec)

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

    		filter, expect string
    	}{
    		{call: "Setegid(1)", fn: func() error { return syscall.Setegid(1) }, filter: "Gid:", expect: "\t0\t1\t0\t1"},
    		{call: "Setegid(0)", fn: func() error { return syscall.Setegid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    		{call: "Seteuid(1)", fn: func() error { return syscall.Seteuid(1) }, filter: "Uid:", expect: "\t0\t1\t0\t1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 21:31:41 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. cmd/metrics-v3-cluster-erasure-set.go

    		"Read quorum for the erasure set in a pool", poolIDL, setIDL)
    	erasureSetWriteQuorumMD = NewGaugeMD(erasureSetWriteQuorum,
    		"Write quorum for the erasure set in a pool", poolIDL, setIDL)
    	erasureSetOnlineDrivesCountMD = NewGaugeMD(erasureSetOnlineDrivesCount,
    		"Count of online drives in the erasure set in a pool", poolIDL, setIDL)
    	erasureSetHealingDrivesCountMD = NewGaugeMD(erasureSetHealingDrivesCount,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
            notActivated.setActivation(nonActivation);
    
            Profile defaultActivated = new Profile();
            defaultActivated.setId("defaultActivated");
    
            Activation defaultActivation = new Activation();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. maven-api-impl/src/test/java/org/apache/maven/internal/impl/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)
Back to top