Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFindExecutableVsNoexec (0.28 sec)

  1. src/os/exec/lp_linux_test.go

    package exec_test
    
    import (
    	"errors"
    	"internal/syscall/unix"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"syscall"
    	"testing"
    )
    
    func TestFindExecutableVsNoexec(t *testing.T) {
    	t.Parallel()
    
    	// This test case relies on faccessat2(2) syscall, which appeared in Linux v5.8.
    	if major, minor := unix.KernelVersion(); major < 5 || (major == 5 && minor < 8) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:02:50 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top