Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for illumos (0.32 sec)

  1. src/net/tcpsock_solaris.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 !illumos
    
    package net
    
    import (
    	"internal/syscall/unix"
    	"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.3K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/kernel_version_solaris_test.go

    	}
    
    	// Test that the version returned by KernelVersion matches expectations.
    	major, minor := unix.KernelVersion()
    	t.Logf("Kernel version: %d.%d", major, minor)
    	if runtime.GOOS == "illumos" {
    		if gotSock && gotAccept4 && (major < 5 || (major == 5 && minor < 11)) {
    			t.Fatalf("SupportSockNonblockCloexec and SupportAccept4 are true, but kernel version is older than 5.11, SunOS version: %d.%d", major, minor)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/net/tcpsockopt_solaris.go

    // Copyright 2015 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 !illumos
    
    package net
    
    import (
    	"internal/syscall/unix"
    	"runtime"
    	"syscall"
    	"time"
    )
    
    // Some macros of TCP Keep-Alive options on Solaris 11.4 may
    // differ from those on OpenSolaris-based derivatives.
    const (
    	sysTCP_KEEPIDLE  = 0x1D
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/os/user/listgroups_unix_test.go

    // license that can be found in the LICENSE file.
    
    //go:build ((darwin || dragonfly || freebsd || (js && wasm) || wasip1 || (!android && linux) || netbsd || openbsd || solaris) && ((!cgo && !darwin) || osusergo)) || aix || illumos
    
    package user
    
    import (
    	"fmt"
    	"slices"
    	"strings"
    	"testing"
    )
    
    var testGroupFile = `# See the opendirectoryd(8) man page for additional
    # information about Open Directory.
    ##
    nobody:*:-2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/syscall/exec_unix.go

    	rlim := origRlimitNofile.Load()
    	if rlim != nil {
    		Setrlimit(RLIMIT_NOFILE, rlim)
    	}
    
    	var err1 error
    	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" || runtime.GOOS == "aix" {
    		// RawSyscall should never be used on Solaris, illumos, or AIX.
    		err1 = execveLibc(
    			uintptr(unsafe.Pointer(argv0p)),
    			uintptr(unsafe.Pointer(&argvp[0])),
    			uintptr(unsafe.Pointer(&envvp[0])))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/net/tcpconn_keepalive_solaris_test.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 solaris && !illumos
    
    package net
    
    import (
    	"internal/syscall/unix"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func getCurrentKeepAliveSettings(fd fdType) (cfg KeepAliveConfig, err error) {
    	tcpKeepAlive, err := syscall.GetsockoptInt(fd, syscall.SOL_SOCKET, syscall.SO_KEEPALIVE)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go

    	// The following platforms could potentially be supported in the future:
    	runtime.GOOS == "openbsd" || // #60614
    	runtime.GOOS == "solaris" || // #60968 #60970
    	runtime.GOOS == "android" || // #60967
    	runtime.GOOS == "illumos" || // #65544
    	// These platforms fundamentally can't be supported:
    	runtime.GOOS == "js" || // #60971
    	runtime.GOOS == "wasip1" || // #60971
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/bug/bug.go

    		printCmdOut(w, "uname -sr: ", "uname", "-sr")
    		printCmdOut(w, "", "lsb_release", "-a")
    		printGlibcVersion(w)
    	case "openbsd", "netbsd", "freebsd", "dragonfly":
    		printCmdOut(w, "uname -v: ", "uname", "-v")
    	case "illumos", "solaris":
    		// Be sure to use the OS-supplied uname, in "/usr/bin":
    		printCmdOut(w, "uname -srv: ", "/usr/bin/uname", "-srv")
    		out, err := os.ReadFile("/etc/release")
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top