github.com/criyle/go-sandbox@v0.10.3/cmd/runprog/config/config_arm.go (about)

     1  package config
     2  
     3  // This file includes configs for the run program settings
     4  
     5  var (
     6  	archReadableFiles = []string{
     7  		"/lib/arm-linux-gnueabihf/",
     8  		"/usr/lib/arm-linux-gnueabihf/",
     9  	}
    10  
    11  	archSyscallAllows = []string{
    12  		"fstat64", // 32-bit
    13  		"_llseek", // 32-bit
    14  		"fcntl64", // 32-bit
    15  		"mmap2",   // 32-bit
    16  		// arch
    17  		"uname",
    18  		"set_tls",
    19  		"arm_fadvise64_64",
    20  	}
    21  
    22  	archSyscallTraces = []string{
    23  		"lstat64", // 32-bit
    24  		"stat64",  // 32-bit
    25  	}
    26  )