Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 79 for illumos (0.36 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/cgo/internal/test/sigaltstack.go

    }
    
    static int zero(void) {
    	return 0;
    }
    */
    import "C"
    
    import (
    	"runtime"
    	"testing"
    )
    
    func testSigaltstack(t *testing.T) {
    	switch {
    	case runtime.GOOS == "solaris", runtime.GOOS == "illumos", runtime.GOOS == "ios" && runtime.GOARCH == "arm64":
    		t.Skipf("switching signal stack not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
    	}
    
    	C.changeSignalStack()
    	defer C.restoreSignalStack()
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. src/net/fd_unix.go

    		return nil, nil
    	case syscall.EINVAL:
    		// On Solaris and illumos we can see EINVAL if the socket has
    		// already been accepted and closed by the server.  Treat this
    		// as a successful connection--writes to the socket will see
    		// EOF.  For details and a test case in C see
    		// https://golang.org/issue/6828.
    		if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" {
    			return nil, nil
    		}
    		fallthrough
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 20:19:46 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. 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)
  8. src/os/user/cgo_listgroups_unix.go

    // license that can be found in the LICENSE file.
    
    //go:build (cgo || darwin) && !osusergo && (darwin || dragonfly || freebsd || (linux && !android) || netbsd || openbsd || (solaris && !illumos))
    
    package user
    
    import (
    	"fmt"
    	"strconv"
    	"unsafe"
    )
    
    const maxGroups = 2048
    
    func listGroups(u *User) ([]string, error) {
    	ug, err := strconv.Atoi(u.Gid)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 04:31:34 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top