summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/ptrace/BUILD
blob: 47efde6a2516642908509178c2c2b4924e70a525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
load("//tools:defs.bzl", "go_library")

package(licenses = ["notice"])

go_library(
    name = "ptrace",
    srcs = [
        "filters.go",
        "ptrace.go",
        "ptrace_amd64.go",
        "ptrace_arm64.go",
        "ptrace_arm64_unsafe.go",
        "ptrace_unsafe.go",
        "stub_amd64.s",
        "stub_arm64.s",
        "stub_unsafe.go",
        "subprocess.go",
        "subprocess_amd64.go",
        "subprocess_arm64.go",
        "subprocess_linux.go",
        "subprocess_linux_unsafe.go",
        "subprocess_unsafe.go",
    ],
    visibility = ["//:sandbox"],
    deps = [
        "//pkg/abi/linux",
        "//pkg/context",
        "//pkg/log",
        "//pkg/procid",
        "//pkg/safecopy",
        "//pkg/seccomp",
        "//pkg/sentry/arch",
        "//pkg/sentry/arch/fpu",
        "//pkg/sentry/memmap",
        "//pkg/sentry/platform",
        "//pkg/sentry/platform/interrupt",
        "//pkg/sync",
        "//pkg/usermem",
        "@org_golang_x_sys//unix:go_default_library",
    ],
)