mirror of
https://github.com/criyle/go-sandbox.git
synced 2025-11-04 14:49:53 +08:00
27 lines
448 B
Go
27 lines
448 B
Go
package config
|
|
|
|
// This file includes configs for the run program settings
|
|
|
|
var (
|
|
archReadableFiles = []string{
|
|
"/lib/arm-linux-gnueabihf/",
|
|
"/usr/lib/arm-linux-gnueabihf/",
|
|
}
|
|
|
|
archSyscallAllows = []string{
|
|
"fstat64", // 32-bit
|
|
"_llseek", // 32-bit
|
|
"fcntl64", // 32-bit
|
|
"mmap2", // 32-bit
|
|
// arch
|
|
"uname",
|
|
"set_tls",
|
|
"arm_fadvise64_64",
|
|
}
|
|
|
|
archSyscallTraces = []string{
|
|
"lstat64", // 32-bit
|
|
"stat64", // 32-bit
|
|
}
|
|
)
|