- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,291 for getUid (0.17 sec)
-
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) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/yaml_test.go
t.Fatalf("expected %s, got %s", apiVersion, obj.GetAPIVersion()) } if obj.GetKind() != kind { t.Fatalf("expected %s, got %s", kind, obj.GetKind()) } if v, ok, err := unstructured.NestedFloat64(obj.Object, "spec", "replicas"); v != 3 || !ok || err != nil { t.Fatal(v, ok, err, string(result)) } uid = obj.GetUID() resourceVersion = obj.GetResourceVersion() } // Get at /status {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 02 19:34:41 UTC 2021 - 16.5K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_unix.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 921 bytes - Viewed (0) -
src/internal/poll/error_linux_test.go
// license that can be found in the LICENSE file. package poll_test import ( "errors" "internal/poll" "os" "syscall" ) func badStateFile() (*os.File, error) { if os.Getuid() != 0 { return nil, errors.New("must be root") } // Using OpenFile for a device file is an easy way to make a // file attached to the runtime-integrated network poller and // configured in halfway.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 13 08:53:02 UTC 2019 - 748 bytes - Viewed (0) -
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) -
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) -
cmd/kubelet/app/server_others.go
See the License for the specific language governing permissions and limitations under the License. */ package app import ( "fmt" "os" ) func checkPermissions() error { if uid := os.Getuid(); uid != 0 { return fmt.Errorf("kubelet needs to run as uid `0`. It is being run as %d", uid) } // TODO: Check if kubelet is running in the `initial` user namespace.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 951 bytes - Viewed (0) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/audit/request.go
ev.User.Extra = map[string]authnv1.ExtraValue{} for k, v := range user.GetExtra() { ev.User.Extra[k] = authnv1.ExtraValue(v) } ev.User.Groups = user.GetGroups() ev.User.UID = user.GetUID() } if attribs.IsResourceRequest() { ev.ObjectRef = &auditinternal.ObjectReference{ Namespace: attribs.GetNamespace(), Name: attribs.GetName(), Resource: attribs.GetResource(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 9K bytes - Viewed (0)