Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 111 for illumos (0.17 sec)

  1. src/os/user/listgroups_unix.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 (
    	"bufio"
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"strconv"
    )
    
    func listGroupsFromReader(u *User, r io.Reader) ([]string, error) {
    	if u.Username == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/internal/objabi/head.go

    	case "freebsd":
    		*h = Hfreebsd
    	case "js":
    		*h = Hjs
    	case "linux", "android":
    		*h = Hlinux
    	case "netbsd":
    		*h = Hnetbsd
    	case "openbsd":
    		*h = Hopenbsd
    	case "plan9":
    		*h = Hplan9
    	case "illumos", "solaris":
    		*h = Hsolaris
    	case "wasip1":
    		*h = Hwasip1
    	case "windows":
    		*h = Hwindows
    	default:
    		return fmt.Errorf("invalid headtype: %q", s)
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. 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)
  5. src/net/interface_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, ifi := range ift {
    		ifxi, err := InterfaceByIndex(ifi.Index)
    		if err != nil {
    			t.Fatal(err)
    		}
    		switch runtime.GOOS {
    		case "solaris", "illumos":
    			if ifxi.Index != ifi.Index {
    				t.Errorf("got %v; want %v", ifxi, ifi)
    			}
    		default:
    			if !reflect.DeepEqual(ifxi, &ifi) {
    				t.Errorf("got %v; want %v", ifxi, ifi)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  6. src/syscall/exec_libc.go

    			goto childerror
    		}
    	}
    
    	// Pass 1: look for fd[i] < i and move those up above len(fd)
    	// so that pass 2 won't stomp on an fd it needs later.
    	if pipe < nextfd {
    		switch runtime.GOOS {
    		case "illumos", "solaris":
    			_, err1 = fcntl1(uintptr(pipe), _F_DUP2FD_CLOEXEC, uintptr(nextfd))
    		default:
    			_, err1 = dup2child(uintptr(pipe), uintptr(nextfd))
    			if err1 != 0 {
    				goto childerror
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. src/cmd/pprof/pprof_test.go

    	switch runtime.GOOS {
    	case "plan9":
    		t.Skipf("skipping on %s, unimplemented", runtime.GOOS)
    	case "aix":
    		t.Skipf("skipping on %s, issue 45170", runtime.GOOS)
    	case "ios", "dragonfly", "netbsd", "illumos", "solaris":
    		t.Skipf("skipping on %s, issue 13841", runtime.GOOS)
    	case "openbsd":
    		if runtime.GOARCH == "arm" || runtime.GOARCH == "arm64" {
    			t.Skipf("skipping on %s/%s, issue 13841", runtime.GOOS, runtime.GOARCH)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_trimpath_cgo.txt

    	machoFile, err := macho.Open(exePath)
    	if err != nil {
    		return nil, err
    	}
    	defer machoFile.Close()
    	return machoFile.DWARF()
    }
    -- list-dwarf/read_elf.go --
    // +build android dragonfly freebsd illumos linux netbsd openbsd solaris
    
    package main
    
    import (
    	"debug/dwarf"
    	"debug/elf"
    )
    
    func readDWARF(exePath string) (*dwarf.Data, error) {
    	elfFile, err := elf.Open(exePath)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top