Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for Ioperm (0.11 sec)

  1. src/cmd/go/internal/toolchain/path_unix.go

    	}
    
    	// Mimicking exec.findExecutable here.
    	// 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.
    	err := unix.Eaccess(filepath.Join(dir, de.Name()), unix.X_OK)
    	if (err == syscall.ENOSYS || err == syscall.EPERM) && info.Mode()&0111 != 0 {
    		err = nil
    	}
    	if err != nil {
    		return "", false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:15:19 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/internal/poll/copy_file_range_linux.go

    			// See issue #42334.
    			//
    			// If the file is on NFS, we can see EOPNOTSUPP.
    			// See issue #40731.
    			//
    			// If the process is running inside a Docker container,
    			// we might see EPERM instead of ENOSYS. See issue
    			// #40893. Since EPERM might also be a legitimate error,
    			// don't mark copy_file_range(2) as unsupported.
    			return 0, false, nil
    		case nil:
    			if n == 0 {
    				// If we did not read any bytes at all,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 17:40:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/crypto/x509/root_windows.go

    	if err != nil {
    		return nil, err
    	}
    	defer syscall.CertFreeCertificateChain(topCtx)
    
    	chain, topErr := verifyChain(c, topCtx, opts)
    	if topErr == nil {
    		chains = append(chains, chain)
    	}
    
    	if lqCtxCount := topCtx.LowerQualityChainCount; lqCtxCount > 0 {
    		lqCtxs := unsafe.Slice(topCtx.LowerQualityChains, lqCtxCount)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. src/hash/crc32/crc32_s390x.s

    	VLM     0(R3), V1, V4    // 64-bytes into V1..V4
    
    	// Reflect the data if the CRC operation is in the bit-reflected domain
    	VPERM   V1, V1, CONST_PERM_LE2BE, V1
    	VPERM   V2, V2, CONST_PERM_LE2BE, V2
    	VPERM   V3, V3, CONST_PERM_LE2BE, V3
    	VPERM   V4, V4, CONST_PERM_LE2BE, V4
    
    	VX      V0, V1, V1     // V1 ^= CRC
    	ADD     $64, R3        // BUF = BUF + 64
    	ADD     $(-64), R4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 20 00:49:17 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  5. src/os/exec/lp_unix.go

    		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)
  6. src/internal/testenv/testenv_unix.go

    	var errno syscall.Errno
    	if errors.As(err, &errno) {
    		switch errno {
    		case syscall.EPERM, syscall.EROFS:
    			// User lacks permission: either the call requires root permission and the
    			// user is not root, or the call is denied by a container security policy.
    			return true
    		case syscall.EINVAL:
    			// Some containers return EINVAL instead of EPERM if a system call is
    			// denied by security policy.
    			return true
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 17:44:01 UTC 2023
    - 994 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/plan9/errors_plan9.go

    	EMFILE       = syscall.NewError("no free file descriptors")
    	EIO          = syscall.NewError("i/o error")
    	ENAMETOOLONG = syscall.NewError("file name too long")
    	EINTR        = syscall.NewError("interrupted")
    	EPERM        = syscall.NewError("permission denied")
    	EBUSY        = syscall.NewError("no free devices")
    	ETIMEDOUT    = syscall.NewError("connection timed out")
    	EPLAN9       = syscall.NewError("not supported by plan 9")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  8. src/syscall/errors_plan9.go

    	EEXIST       = NewError("file already exists")
    	EMFILE       = NewError("no free file descriptors")
    	EIO          = NewError("i/o error")
    	ENAMETOOLONG = NewError("file name too long")
    	EINTR        = NewError("interrupted")
    	EPERM        = NewError("permission denied")
    	EBUSY        = NewError("no free devices")
    	ETIMEDOUT    = NewError("connection timed out")
    	EPLAN9       = NewError("not supported by plan 9")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 22 13:31:24 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/outbuf_mmap.go

    		// Some file systems do not support fallocate. We ignore that error as linking
    		// can still take place, but you might SIGBUS when you write to the mmapped
    		// area.
    		if err != syscall.ENOTSUP && err != syscall.EPERM && err != errNoFallocate {
    			return err
    		}
    	}
    	err = out.f.Truncate(int64(filesize))
    	if err != nil {
    		Exitf("resize output file failed: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

        }
    
        public void test_getUserAgentType_Opera() {
            getMockRequest().addHeader("user-agent", "Opera/9.80 (X11; U; Linux x86_64) Presto/2.9.181 Version/12.00");
            assertEquals(UserAgentType.OPERA, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_OTHER() {
            getMockRequest().addHeader("user-agent", "Dummy");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top