Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for nosys (0.04 sec)

  1. src/os/exec/lp_unix.go

    	}
    	m := d.Mode()
    	if m.IsDir() {
    		return syscall.EISDIR
    	}
    	err = unix.Eaccess(file, unix.X_OK)
    	// ENOSYS means Eaccess is not available or not implemented.
    	// EPERM can be returned by Linux containers employing seccomp.
    	// In both cases, fall back to checking the permission bits.
    	if err == nil || (err != syscall.ENOSYS && err != syscall.EPERM) {
    		return err
    	}
    	if m&0111 != 0 {
    		return nil
    	}
    	return fs.ErrPermission
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/eaccess_other.go

    //go:build unix && !darwin && !dragonfly && !freebsd && !linux && !openbsd && !netbsd
    
    package unix
    
    import "syscall"
    
    func Eaccess(path string, mode uint32) error {
    	return syscall.ENOSYS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 15:02:38 UTC 2024
    - 351 bytes
    - Viewed (0)
  3. src/os/pidfd_other.go

    	return sysAttr
    }
    
    func getPidfd(_ *syscall.SysProcAttr) (uintptr, bool) {
    	return 0, false
    }
    
    func pidfdFind(_ int) (uintptr, error) {
    	return 0, syscall.ENOSYS
    }
    
    func (p *Process) pidfdRelease() {}
    
    func (_ *Process) pidfdWait() (*ProcessState, error) {
    	panic("unreachable")
    }
    
    func (_ *Process) pidfdSendSignal(_ syscall.Signal) error {
    	panic("unreachable")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 692 bytes
    - Viewed (0)
  4. src/syscall/fs_wasip1.go

    	var stat Stat_t
    	return Fstat(fd, &stat)
    }
    
    func Chown(path string, uid, gid int) error {
    	return ENOSYS
    }
    
    func Fchown(fd int, uid, gid int) error {
    	return ENOSYS
    }
    
    func Lchown(path string, uid, gid int) error {
    	return ENOSYS
    }
    
    func UtimesNano(path string, ts []Timespec) error {
    	// UTIME_OMIT value must match internal/syscall/unix/at_wasip1.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  5. src/internal/syscall/unix/kernel_version_solaris_test.go

    	for {
    		_, _, err = syscall.Accept4(0, syscall.SOCK_NONBLOCK|syscall.SOCK_CLOEXEC)
    		if err != syscall.EINTR {
    			break
    		}
    	}
    	wantAccept4 := err != syscall.ENOSYS
    	gotAccept4 := unix.SupportAccept4()
    	if wantAccept4 != gotAccept4 {
    		t.Fatalf("SupportAccept4, got %t; want %t", gotAccept4, wantAccept4)
    	}
    
    	// Test that the version returned by KernelVersion matches expectations.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/internal/syscall/unix/kernel_version_solaris.go

    	for {
    		// Test if the accept4() is available.
    		_, _, err := syscall.Accept4(0, syscall.SOCK_NONBLOCK|syscall.SOCK_CLOEXEC)
    		if err == syscall.EINTR {
    			continue
    		}
    		return err != syscall.ENOSYS
    	}
    })
    
    // SupportTCPKeepAliveIdleIntvlCNT determines whether the TCP_KEEPIDLE, TCP_KEEPINTVL and TCP_KEEPCNT
    // are available by checking the kernel version for Solaris 11.4.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/os/pidfd_linux.go

    	if !pidfdWorks() {
    		return 0, false
    	}
    
    	return uintptr(*sysAttr.PidFD), true
    }
    
    func pidfdFind(pid int) (uintptr, error) {
    	if !pidfdWorks() {
    		return 0, syscall.ENOSYS
    	}
    
    	h, err := unix.PidFDOpen(pid, 0)
    	if err != nil {
    		return 0, convertESRCH(err)
    	}
    	return h, nil
    }
    
    // _P_PIDFD is used as idtype argument to waitid syscall.
    const _P_PIDFD = 3
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go

    	ENONET          = syscall.Errno(0x40)
    	ENOPKG          = syscall.Errno(0x41)
    	ENOPROTOOPT     = syscall.Errno(0x63)
    	ENOSR           = syscall.Errno(0x3f)
    	ENOSTR          = syscall.Errno(0x3c)
    	ENOSYS          = syscall.Errno(0x59)
    	ENOTCONN        = syscall.Errno(0x86)
    	ENOTEMPTY       = syscall.Errno(0x5d)
    	ENOTNAM         = syscall.Errno(0x89)
    	ENOTRECOVERABLE = syscall.Errno(0xa6)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	ENONET          = syscall.Errno(0x40)
    	ENOPKG          = syscall.Errno(0x41)
    	ENOPROTOOPT     = syscall.Errno(0x5c)
    	ENOSR           = syscall.Errno(0x3f)
    	ENOSTR          = syscall.Errno(0x3c)
    	ENOSYS          = syscall.Errno(0x26)
    	ENOTCONN        = syscall.Errno(0x6b)
    	ENOTEMPTY       = syscall.Errno(0x27)
    	ENOTNAM         = syscall.Errno(0x76)
    	ENOTRECOVERABLE = syscall.Errno(0x83)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. src/internal/poll/fd_wasip1.go

    	}
    }
    
    // dupCloseOnExecOld always errors on wasip1 because there is no mechanism to
    // duplicate file descriptors.
    func dupCloseOnExecOld(fd int) (int, string, error) {
    	return -1, "dup", syscall.ENOSYS
    }
    
    // Fchdir wraps syscall.Fchdir.
    func (fd *FD) Fchdir() error {
    	if err := fd.incref(); err != nil {
    		return err
    	}
    	defer fd.decref()
    	return syscall.Chdir(fd.Path)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top