summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/ptrace/BUILD
blob: 2eb354ad450e80f7d7a86a6ba26979a7eec372d7 (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
load("//tools/go_stateify:defs.bzl", "go_library")

package(licenses = ["notice"])  # Apache 2.0

go_library(
    name = "ptrace",
    srcs = [
        "ptrace.go",
        "ptrace_unsafe.go",
        "stub_amd64.s",
        "stub_unsafe.go",
        "subprocess.go",
        "subprocess_amd64.go",
        "subprocess_linux.go",
        "subprocess_linux_amd64_unsafe.go",
        "subprocess_unsafe.go",
    ],
    importpath = "gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace",
    visibility = ["//:sandbox"],
    deps = [
        "//pkg/abi/linux",
        "//pkg/log",
        "//pkg/seccomp",
        "//pkg/sentry/arch",
        "//pkg/sentry/platform",
        "//pkg/sentry/platform/filemem",
        "//pkg/sentry/platform/interrupt",
        "//pkg/sentry/platform/procid",
        "//pkg/sentry/platform/safecopy",
        "//pkg/sentry/usermem",
        "@org_golang_x_sys//unix:go_default_library",
    ],
)