没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
沙盒 最初的目标是使用以GO语言复制 。 随着技术的发展,它还实现了包括Linux名称空间和cgroup在内的新技术。 rootfs和间隔CPU使用率检查的思想来自 ,而池化的预分支容器来自 。 注意:仅在Linux上可用,因为ptrace,unshare,cgroup仅在Linux上可用 编译安装 从安装最新的go编译器 安装libseccomp库:(对于Ubuntu) apt install libseccomp-dev 构建并安装: go install github.com/criyle/go-sandbox/... 技术领域 libseccomp + ptrace(改进的UOJ沙箱) 受POSIX rlimit限制的计算资源:时间和内存(堆栈)和输出 受限的系统调用访问权限(通过libseccomp和ptrace) 受限的文件访问(读,写,访问和执行)。 由UOJ
资源推荐
资源详情
资源评论
收起资源包目录
go-sandbox:使用容器ptrace seccomp在GO中实现的沙箱 (100个子文件)
.gitignore 71B
fork_child_linux.go 15KB
main_linux.go 11KB
environment_linux.go 8KB
tracer_track_linux.go 8KB
container_init_linux.go 7KB
main_darwin.go 5KB
cgroup.go 5KB
host_exec_linux.go 4KB
config.go 4KB
container_exec_linux.go 4KB
bench_linux_test.go 4KB
socket_linux.go 4KB
fork_linux.go 4KB
fork_child_darwin.go 4KB
handle_linux.go 4KB
runner_linux.go 4KB
fileset.go 4KB
run_linux.go 4KB
fork_darwin.go 3KB
builder_linux.go 3KB
benchmark_linux_test.go 3KB
rlimit.go 2KB
host_cmd_linux.go 2KB
config_loader.go 2KB
protocol_linux.go 2KB
subcgroup.go 2KB
mount_linux.go 2KB
container_cmd_linux.go 2KB
mount.go 2KB
fork_linux_test.go 2KB
syscall_darwin.go 2KB
userns_linux.go 2KB
builder.go 2KB
context_helper_linux.go 2KB
handle.go 2KB
size.go 2KB
benchmark_test.go 1KB
benchmark_test.go 1KB
runner_linux.go 1KB
consts_linux.go 1KB
memfd_linux.go 1KB
cgroup_info.go 1KB
socket_linux.go 1KB
buffer.go 1KB
doc.go 1KB
context_linux_arm.go 1KB
builder_linux.go 1KB
main.go 1KB
seccomp_linux_test.go 1KB
context_linux.go 1KB
context_linux_arm64.go 1KB
ptrace_linux.go 1KB
context_linux_amd64.go 1KB
result.go 1KB
fork_util.go 1011B
runner_linux.go 989B
runner_darwin.go 987B
status.go 981B
tracer.go 960B
zsyscall_darwin.go 953B
utils.go 905B
doc.go 897B
fileutil.go 829B
run_linux.go 762B
syscallcounter.go 744B
sandbox_load_darwin.go 667B
action_linux.go 652B
sandbox_darwin_test.go 562B
context_other.go 551B
doc.go 550B
config_type.go 517B
utils.go 494B
action.go 463B
config_arm.go 448B
filter_linux.go 401B
syscall_name_linux.go 400B
cgroup_info_cache.go 378B
limit.go 353B
memfd_other.go 338B
consts.go 300B
doc.go 297B
fork_unix.go 286B
config_arm64.go 264B
config_amd64.go 244B
array_flags.go 214B
builder.go 213B
consts.go 194B
runner.go 153B
doc.go 142B
doc.go 134B
doc.go 126B
doc.go 123B
doc.go 103B
LICENSE 1KB
README.md 9KB
go.mod 408B
zsyscall_darwin.s 195B
test.sb 322B
go.sum 3KB
共 100 条
- 1
资源评论
zhuyurrr
- 粉丝: 27
- 资源: 4714
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功