Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 265 for IsSolaris (0.22 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/start_posix.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 darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
    
    package telemetry
    
    import (
    	"os/exec"
    	"syscall"
    )
    
    func init() {
    	daemonize = daemonizePosix
    }
    
    func daemonizePosix(cmd *exec.Cmd) {
    	cmd.SysProcAttr = &syscall.SysProcAttr{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 441 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/env_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 || zos
    
    // Unix environment variables.
    
    package unix
    
    import "syscall"
    
    func Getenv(key string) (value string, found bool) {
    	return syscall.Getenv(key)
    }
    
    func Setenv(key, value string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 645 bytes
    - Viewed (0)
  3. internal/lock/lock_solaris.go

    //go:build solaris
    // +build solaris
    
    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. src/net/sendfile_stub.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 !(linux || (darwin && !ios) || dragonfly || freebsd || solaris || windows)
    
    package net
    
    import "io"
    
    const supportsSendfile = false
    
    func sendFile(c *netFD, r io.Reader) (n int64, err error, handled bool) {
    	return 0, nil, false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 403 bytes
    - Viewed (0)
  5. src/runtime/security_issetugid.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 || 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)
  6. src/vendor/golang.org/x/net/lif/syscall.go

    // Copyright 2016 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
    
    package lif
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
    
    //go:linkname procIoctl libc_ioctl
    
    var procIoctl uintptr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 642 bytes
    - Viewed (0)
  7. src/net/cgo_socknew.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 cgo && !netgo && (android || linux || solaris)
    
    package net
    
    /*
    #include <sys/types.h>
    #include <sys/socket.h>
    
    #include <netinet/in.h>
    */
    import "C"
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    func cgoSockaddrInet4(ip IP) *C.struct_sockaddr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 753 bytes
    - Viewed (0)
  8. src/os/pipe2_unix.go

    // Copyright 2017 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 dragonfly || freebsd || linux || netbsd || openbsd || solaris
    
    package os
    
    import "syscall"
    
    // Pipe returns a connected pair of Files; reads from r return bytes written to w.
    // It returns the files and an error, if any.
    func Pipe() (r *File, w *File, err error) {
    	var p [2]int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:47:23 UTC 2024
    - 654 bytes
    - Viewed (0)
  9. src/runtime/auxv_none.go

    // Copyright 2014 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 !linux && !darwin && !dragonfly && !freebsd && !netbsd && !solaris
    
    package runtime
    
    func sysargs(argc int32, argv **byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 298 bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/nettest/nettest_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 || zos
    
    package nettest
    
    import "syscall"
    
    func supportsRawSocket() bool {
    	for _, af := range []int{syscall.AF_INET, syscall.AF_INET6} {
    		s, err := syscall.Socket(af, syscall.SOCK_RAW, 0)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 526 bytes
    - Viewed (0)
Back to top