Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for IsSolaris (0.16 sec)

  1. src/os/exec_unix_test.go

    func TestProcessAlreadyDone(t *testing.T) {
    	// Theoretically MaxInt32 is a valid PID, but the chance of it actually
    	// being used is extremely unlikely.
    	pid := math.MaxInt32
    	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" {
    		// Solaris/Illumos have a lower limit, above which wait returns
    		// EINVAL (see waitid in usr/src/uts/common/os/exit.c in
    		// illumos). This is configurable via sysconf(_SC_MAXPID), but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/syscall/linkname_libc.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 || (openbsd && !mips64) || solaris
    
    package syscall
    
    import _ "unsafe"
    
    // used by internal/poll
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 303 bytes
    - Viewed (0)
  3. src/syscall/badlinkname_unix.go

    // 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 || linux || netbsd || openbsd || solaris
    
    package syscall
    
    import _ "unsafe"
    
    // As of Go 1.22, the symbols below are found to be pulled via
    // linkname in the wild. We provide a push linkname here, to
    // keep them accessible with pull linknames.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 679 bytes
    - Viewed (0)
  4. src/internal/syscall/unix/nofollow_posix.go

    //   - illumos: https://illumos.org/man/2/open
    //   - ios: see darwin
    //   - linux: https://man7.org/linux/man-pages/man2/openat.2.html
    //   - openbsd: https://man.openbsd.org/open.2
    //   - solaris: https://docs.oracle.com/cd/E23824_01/html/821-1463/open-2.html
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 933 bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_stack_unix.c

    	// it did not call pthread_attr_init in all cases (see #65625).
    	pthread_attr_init(&attr);
    #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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 03:44:11 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/os/user/listgroups_unix_test.go

    // 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 || (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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/net/interface.go

    	"sync"
    	"time"
    	_ "unsafe"
    )
    
    // BUG(mikio): On JS, methods and functions related to
    // Interface are not implemented.
    
    // BUG(mikio): On AIX, DragonFly BSD, NetBSD, OpenBSD, Plan 9 and
    // Solaris, the MulticastAddrs method of Interface is not implemented.
    
    // errNoSuchInterface should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/os/dir_unix.go

    // 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 || (js && wasm) || wasip1 || linux || netbsd || openbsd || solaris
    
    package os
    
    import (
    	"internal/byteorder"
    	"internal/goarch"
    	"io"
    	"runtime"
    	"sync"
    	"syscall"
    	"unsafe"
    )
    
    // Auxiliary information if the File describes a directory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/bug/bug.go

    		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)
  10. src/runtime/lock_sema.go

    // Copyright 2011 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 || netbsd || openbsd || plan9 || solaris || windows
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    // This implementation depends on OS-specific implementations of
    //
    //	func semacreate(mp *m)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top