- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 65 for illumos (0.71 sec)
-
src/runtime/security_issetugid.go
// Copyright 2023 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. //go:build darwin || dragonfly || freebsd || illumos || netbsd || openbsd || solaris package runtime // secureMode is only ever mutated in schedinit, so we don't need to worry about // synchronization primitives. var secureMode bool func initSecureMode() { secureMode = issetugid() == 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 502 bytes - Viewed (0) -
src/runtime/pprof/pprof_rusage.go
func addMaxRSS(w io.Writer) { var rssToBytes uintptr switch runtime.GOOS { case "aix", "android", "dragonfly", "freebsd", "linux", "netbsd", "openbsd": rssToBytes = 1024 case "darwin", "ios": rssToBytes = 1 case "illumos", "solaris": rssToBytes = uintptr(syscall.Getpagesize()) default: panic("unsupported OS") } var rusage syscall.Rusage err := syscall.Getrusage(syscall.RUSAGE_SELF, &rusage) if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 23:58:34 UTC 2022 - 792 bytes - Viewed (0) -
src/os/user/getgrouplist_unix.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build cgo && !osusergo && (dragonfly || freebsd || (!android && linux) || netbsd || openbsd || (solaris && !illumos)) package user /* #include <unistd.h> #include <sys/types.h> #include <grp.h> static int mygetgrouplist(const char* user, gid_t group, gid_t* groups, int* ngroups) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 11 04:31:34 UTC 2022 - 657 bytes - Viewed (0) -
src/runtime/cgo/gcc_stack_unix.c
#if defined(__GLIBC__) || (defined(__sun) && !defined(__illumos__)) // pthread_getattr_np is a GNU extension supported in glibc. // Solaris is not glibc but does support pthread_getattr_np // (and the fallback doesn't work...). Illumos does not. pthread_getattr_np(pthread_self(), &attr); // GNU extension pthread_attr_getstack(&attr, &addr, &size); // low address #elif defined(__illumos__) pthread_attr_get_np(pthread_self(), &attr);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 03:44:11 UTC 2024 - 1.5K bytes - Viewed (0) -
src/crypto/rand/rand_getrandom.go
// is returned by a single call to getrandom() on systems where int // has a size of 32 bits. maxGetRandomRead = (1 << 25) - 1 case "dragonfly", "freebsd", "illumos", "solaris": maxGetRandomRead = 1 << 8 default: panic("no maximum specified for GetRandom") } altGetRandom = batched(getRandom, maxGetRandomRead) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:26:43 UTC 2023 - 1.4K bytes - Viewed (0) -
src/net/tcpsockopt_unix.go
// Copyright 2009 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. //go:build aix || dragonfly || freebsd || illumos || linux || netbsd package net import ( "runtime" "syscall" "time" ) func setKeepAliveIdle(fd *netFD, d time.Duration) error { if d == 0 { d = defaultTCPKeepAliveIdle } else if d < 0 { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:21 UTC 2024 - 1.3K bytes - Viewed (0) -
src/net/tcpsock_unix.go
// Copyright 2023 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. //go:build (!windows && !solaris) || illumos package net import "syscall" // SetKeepAliveConfig configures keep-alive messages sent by the operating system. func (c *TCPConn) SetKeepAliveConfig(config KeepAliveConfig) error { if !c.ok() { return syscall.EINVAL }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 1.1K bytes - Viewed (0) -
src/net/tcpconn_keepalive_conf_posix_test.go
// Copyright 2024 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. //go:build aix || darwin || dragonfly || freebsd || illumos || linux || netbsd || windows package net import "time" var testConfigs = []KeepAliveConfig{ { Enable: true, Idle: 5 * time.Second, Interval: 3 * time.Second, Count: 10, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:21 UTC 2024 - 1.5K bytes - Viewed (0) -
src/net/tcpconn_keepalive_conf_solaris_test.go
// Copyright 2024 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. //go:build solaris && !illumos package net import ( "testing" "time" ) const ( syscall_TCP_KEEPIDLE = sysTCP_KEEPIDLE syscall_TCP_KEEPCNT = sysTCP_KEEPCNT syscall_TCP_KEEPINTVL = sysTCP_KEEPINTVL ) type fdType = int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/dist/main.go
// uname -m doesn't work under AIX gohostarch = "ppc64" case "plan9": gohostarch = os.Getenv("objtype") if gohostarch == "" { fatalf("$objtype is unset") } case "solaris", "illumos": // Solaris and illumos systems have multi-arch userlands, and // "uname -m" reports the machine hardware name; e.g., // "i86pc" on both 32- and 64-bit x86 systems. Check for the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 22 19:44:52 UTC 2023 - 5.5K bytes - Viewed (0)