Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,144 for getUid (0.11 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonConnectDetails.java

    package org.gradle.launcher.daemon.context;
    
    import org.gradle.internal.remote.Address;
    
    /**
     * Data to identify and connect to a daemon.
     */
    public interface DaemonConnectDetails {
        String getUid();
    
        Long getPid();
    
        Address getAddress();
    
        byte[] getToken();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 893 bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/os_aix.go

    }
    
    //go:nosplit
    func getuid() int32 {
    	r, errno := syscall0(&libc_getuid)
    	if errno != 0 {
    		print("getuid failed ", errno)
    		throw("getuid")
    	}
    	return int32(r)
    }
    
    //go:nosplit
    func geteuid() int32 {
    	r, errno := syscall0(&libc_geteuid)
    	if errno != 0 {
    		print("geteuid failed ", errno)
    		throw("geteuid")
    	}
    	return int32(r)
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/diagnostics/DaemonStartupInfo.java

            this.uid = uid;
            this.address = address;
            this.diagnostics = diagnostics;
        }
    
        public String getUid() {
            return uid;
        }
    
        public Address getAddress() {
            return address;
        }
    
        public @Nullable Long getPid() {
            return diagnostics.getPid();
        }
    
        /**
         * @return the diagnostics
         */
        public DaemonDiagnostics getDiagnostics() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer.go

    	GetPath() string
    })(nil)
    
    // The user info accessors known to cache key construction. If this fails to compile, the cache
    // implementation may need to be updated.
    var _ user.Info = (interface {
    	GetName() string
    	GetUID() string
    	GetGroups() []string
    	GetExtra() map[string][]string
    })(nil)
    
    // Authorize returns an authorization decision by delegating to another Authorizer. If an equivalent
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. pkg/ctrlz/topics/proc.go

    	Threads    int    `json:"threads"`
    	Goroutines int    `json:"goroutines"`
    }
    
    func getProcInfo() *procInfo {
    	pi := procInfo{
    		Egid:       os.Getegid(),
    		Euid:       os.Geteuid(),
    		GID:        os.Getgid(),
    		Pid:        os.Getpid(),
    		Ppid:       os.Getppid(),
    		UID:        os.Getuid(),
    		TempDir:    os.TempDir(),
    		Goroutines: runtime.NumGoroutine(),
    	}
    
    	pi.Groups, _ = os.Getgroups()
    	pi.Wd, _ = os.Hostname()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonStopClient.java

                    return "already seen";
                }
    
                @Override
                public boolean isSatisfiedBy(DaemonContext element) {
                    return !seen.contains(element.getUid());
                }
            };
    
            DaemonClientConnection connection = connector.maybeConnect(spec);
            if (connection == null) {
                LOGGER.lifecycle(DaemonMessages.NO_DAEMONS_RUNNING);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. src/os/user/lookup_stubs.go

    }
    
    func currentUID() string {
    	if id := os.Getuid(); id >= 0 {
    		return strconv.Itoa(id)
    	}
    	// Note: Windows returns -1, but this file isn't used on
    	// Windows anyway, so this empty return path shouldn't be
    	// used.
    	return ""
    }
    
    func currentGID() string {
    	if id := os.Getgid(); id >= 0 {
    		return strconv.Itoa(id)
    	}
    	return ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 07 16:09:09 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/configuration/DaemonServerConfiguration.java

    import java.io.File;
    import java.util.List;
    
    public interface DaemonServerConfiguration {
    
        File getBaseDir();
    
        int getIdleTimeout();
    
        int getPeriodicCheckIntervalMs();
    
        String getUid();
    
        List<String> getJvmOptions();
    
        DaemonParameters.Priority getPriority();
    
        boolean isSingleUse();
    
        boolean isInstrumentationAgentAllowed();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 12:13:32 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. src/syscall/syscall_js.go

    }
    
    const ImplementsGetwd = true
    
    func Getwd() (wd string, err error) {
    	var buf [PathMax]byte
    	n, err := Getcwd(buf[0:])
    	if err != nil {
    		return "", err
    	}
    	return string(buf[:n]), nil
    }
    
    func Getuid() int {
    	return jsProcess.Call("getuid").Int()
    }
    
    func Getgid() int {
    	return jsProcess.Call("getgid").Int()
    }
    
    func Geteuid() int {
    	return jsProcess.Call("geteuid").Int()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top