Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 275 for getUid (0.34 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonServices.java

            LOGGER.debug("Creating daemon context with opts: {}", configuration.getJvmOptions());
            return new DefaultDaemonContext(configuration.getUid(),
                canonicalize(Jvm.current().getJavaHome()),
                JavaLanguageVersion.current(),
                configuration.getBaseDir(),
                processEnvironment.maybeGetPid(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. src/syscall/syscall_linux_test.go

    		{call: "Setuid(0)", fn: func() error { return syscall.Setuid(0) }, filter: "Uid:", expect: "\t0\t0\t0\t0"},
    
    		{call: "Setgid(1)", fn: func() error { return syscall.Setgid(1) }, filter: "Gid:", expect: "\t1\t1\t1\t1"},
    		{call: "Setgid(0)", fn: func() error { return syscall.Setgid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. src/os/user/cgo_lookup_unix.go

    package user
    
    import (
    	"fmt"
    	"runtime"
    	"strconv"
    	"strings"
    	"syscall"
    	"unsafe"
    )
    
    func current() (*User, error) {
    	return lookupUnixUid(syscall.Getuid())
    }
    
    func lookupUser(username string) (*User, error) {
    	var pwd _C_struct_passwd
    	var found bool
    	nameC := make([]byte, len(username)+1)
    	copy(nameC, username)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/daemon-server/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonMain.java

            daemon.start();
    
            try {
                DaemonContext daemonContext = daemonServices.get(DaemonContext.class);
                Long pid = daemonContext.getPid();
                daemonStarted(pid, daemon.getUid(), daemon.getAddress(), daemonLog);
                DaemonExpirationStrategy expirationStrategy = daemonServices.get(MasterExpirationStrategy.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. pkg/controller/garbagecollector/graph_builder.go

    		"apiVersion", event.gvk.GroupVersion().String(),
    		"kind", event.gvk.Kind,
    		"object", klog.KObj(accessor),
    		"uid", string(accessor.GetUID()),
    		"eventType", event.eventType,
    		"virtual", event.virtual,
    	)
    
    	// Check if the node already exists
    	existingNode, found := gb.uidToNode.Read(accessor.GetUID())
    	if found && !event.virtual && !existingNode.isObserved() {
    		// this marks the node as having been observed via an informer event
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. pkg/zdsapi/zds.pb.go

    }
    
    // Deprecated: Use AddWorkload.ProtoReflect.Descriptor instead.
    func (*AddWorkload) Descriptor() ([]byte, []int) {
    	return file_zdsapi_zds_proto_rawDescGZIP(), []int{2}
    }
    
    func (x *AddWorkload) GetUid() string {
    	if x != nil {
    		return x.Uid
    	}
    	return ""
    }
    
    func (x *AddWorkload) GetWorkloadInfo() *WorkloadInfo {
    	if x != nil {
    		return x.WorkloadInfo
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    		// even if the labels become matching, the webhook does not
    		// get called during reinvocation.
    		if reinvokeCtx.IsReinvoke() && !webhookReinvokeCtx.ShouldReinvokeWebhook(invocation.Webhook.GetUID()) {
    			continue
    		}
    
    		versionedAttr, err := v.VersionedAttribute(invocation.Kind)
    		if err != nil {
    			return apierrors.NewInternalError(err)
    		}
    
    		t := time.Now()
    		round := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/interfaces.go

    			"can't enforce preconditions %v on un-introspectable object %v, got error: %v",
    			*p,
    			obj,
    			err)
    	}
    	if p.UID != nil && *p.UID != objMeta.GetUID() {
    		err := fmt.Sprintf(
    			"Precondition failed: UID in precondition: %v, UID in object meta: %v",
    			*p.UID,
    			objMeta.GetUID())
    		return NewInvalidObjError(key, err)
    	}
    	if p.ResourceVersion != nil && *p.ResourceVersion != objMeta.GetResourceVersion() {
    		err := fmt.Sprintf(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:53:48 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/nettest/nettest.go

    			return false
    		}
    	case "ip", "ip4", "ip6":
    		switch runtime.GOOS {
    		case "fuchsia", "hurd", "js", "nacl", "plan9", "wasip1":
    			return false
    		default:
    			if os.Getuid() != 0 {
    				return false
    			}
    		}
    	case "unix", "unixgram":
    		switch runtime.GOOS {
    		case "android", "fuchsia", "hurd", "ios", "js", "nacl", "plan9", "wasip1", "windows":
    			return false
    		case "aix":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/syscall/syscall_darwin.go

    //sys	Ftruncate(fd int, length int64) (err error)
    //sys	Getdtablesize() (size int)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (uid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getpgid(pid int) (pgid int, err error)
    //sysnb	Getpgrp() (pgrp int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top