summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls/linux/BUILD
blob: d3f3cc45968a4989af3fa1f51b3f54dcbaaeeef4 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
package(licenses = ["notice"])  # Apache 2.0

load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//tools/go_stateify:defs.bzl", "go_stateify")

go_stateify(
    name = "linux_state",
    srcs = [
        "sys_aio.go",
        "sys_futex.go",
        "sys_poll.go",
        "sys_time.go",
    ],
    out = "linux_state.go",
    package = "linux",
)

go_library(
    name = "linux",
    srcs = [
        "error.go",
        "flags.go",
        "linux64.go",
        "linux_state.go",
        "sigset.go",
        "sys_aio.go",
        "sys_capability.go",
        "sys_epoll.go",
        "sys_eventfd.go",
        "sys_file.go",
        "sys_futex.go",
        "sys_getdents.go",
        "sys_identity.go",
        "sys_inotify.go",
        "sys_lseek.go",
        "sys_mmap.go",
        "sys_mount.go",
        "sys_pipe.go",
        "sys_poll.go",
        "sys_prctl.go",
        "sys_random.go",
        "sys_read.go",
        "sys_rlimit.go",
        "sys_rusage.go",
        "sys_sched.go",
        "sys_sem.go",
        "sys_shm.go",
        "sys_signal.go",
        "sys_socket.go",
        "sys_stat.go",
        "sys_sync.go",
        "sys_sysinfo.go",
        "sys_syslog.go",
        "sys_thread.go",
        "sys_time.go",
        "sys_timer.go",
        "sys_timerfd.go",
        "sys_tls.go",
        "sys_utsname.go",
        "sys_write.go",
        "timespec.go",
    ],
    importpath = "gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux",
    visibility = ["//:sandbox"],
    deps = [
        "//pkg/abi",
        "//pkg/abi/linux",
        "//pkg/binary",
        "//pkg/bpf",
        "//pkg/eventchannel",
        "//pkg/log",
        "//pkg/metric",
        "//pkg/rand",
        "//pkg/sentry/arch",
        "//pkg/sentry/context",
        "//pkg/sentry/fs",
        "//pkg/sentry/fs/anon",
        "//pkg/sentry/fs/fsutil",
        "//pkg/sentry/fs/lock",
        "//pkg/sentry/fs/timerfd",
        "//pkg/sentry/kernel",
        "//pkg/sentry/kernel/auth",
        "//pkg/sentry/kernel/epoll",
        "//pkg/sentry/kernel/eventfd",
        "//pkg/sentry/kernel/fasync",
        "//pkg/sentry/kernel/kdefs",
        "//pkg/sentry/kernel/pipe",
        "//pkg/sentry/kernel/sched",
        "//pkg/sentry/kernel/semaphore",
        "//pkg/sentry/kernel/shm",
        "//pkg/sentry/kernel/time",
        "//pkg/sentry/limits",
        "//pkg/sentry/memmap",
        "//pkg/sentry/mm",
        "//pkg/sentry/safemem",
        "//pkg/sentry/socket",
        "//pkg/sentry/socket/control",
        "//pkg/sentry/syscalls",
        "//pkg/sentry/usage",
        "//pkg/sentry/usermem",
        "//pkg/state",
        "//pkg/syserr",
        "//pkg/syserror",
        "//pkg/tcpip/transport/unix",
        "//pkg/waiter",
    ],
)