github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/sentry/syscalls/linux/BUILD (about)

     1  load("//tools:defs.bzl", "go_library")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "linux",
     7      srcs = [
     8          "error.go",
     9          "flags.go",
    10          "linux64.go",
    11          "sigset.go",
    12          "sys_aio.go",
    13          "sys_capability.go",
    14          "sys_clone_amd64.go",
    15          "sys_clone_arm64.go",
    16          "sys_epoll.go",
    17          "sys_eventfd.go",
    18          "sys_file.go",
    19          "sys_futex.go",
    20          "sys_getdents.go",
    21          "sys_identity.go",
    22          "sys_inotify.go",
    23          "sys_lseek.go",
    24          "sys_membarrier.go",
    25          "sys_mempolicy.go",
    26          "sys_mmap.go",
    27          "sys_mount.go",
    28          "sys_pipe.go",
    29          "sys_poll.go",
    30          "sys_prctl.go",
    31          "sys_random.go",
    32          "sys_read.go",
    33          "sys_rlimit.go",
    34          "sys_rseq.go",
    35          "sys_rusage.go",
    36          "sys_sched.go",
    37          "sys_seccomp.go",
    38          "sys_sem.go",
    39          "sys_shm.go",
    40          "sys_signal.go",
    41          "sys_socket.go",
    42          "sys_splice.go",
    43          "sys_stat.go",
    44          "sys_stat_amd64.go",
    45          "sys_stat_arm64.go",
    46          "sys_sync.go",
    47          "sys_sysinfo.go",
    48          "sys_syslog.go",
    49          "sys_thread.go",
    50          "sys_time.go",
    51          "sys_timer.go",
    52          "sys_timerfd.go",
    53          "sys_tls_amd64.go",
    54          "sys_tls_arm64.go",
    55          "sys_utsname.go",
    56          "sys_write.go",
    57          "sys_xattr.go",
    58          "timespec.go",
    59      ],
    60      marshal = True,
    61      visibility = ["//:sandbox"],
    62      deps = [
    63          "//pkg/abi",
    64          "//pkg/abi/linux",
    65          "//pkg/bpf",
    66          "//pkg/context",
    67          "//pkg/errors/linuxerr",
    68          "//pkg/hostarch",
    69          "//pkg/log",
    70          "//pkg/marshal",
    71          "//pkg/marshal/primitive",
    72          "//pkg/metric",
    73          "//pkg/rand",
    74          "//pkg/safemem",
    75          "//pkg/sentry/arch",
    76          "//pkg/sentry/fs",
    77          "//pkg/sentry/fs/anon",
    78          "//pkg/sentry/fs/lock",
    79          "//pkg/sentry/fs/timerfd",
    80          "//pkg/sentry/fs/tmpfs",
    81          "//pkg/sentry/fsbridge",
    82          "//pkg/sentry/kernel",
    83          "//pkg/sentry/kernel/auth",
    84          "//pkg/sentry/kernel/epoll",
    85          "//pkg/sentry/kernel/eventfd",
    86          "//pkg/sentry/kernel/fasync",
    87          "//pkg/sentry/kernel/pipe",
    88          "//pkg/sentry/kernel/sched",
    89          "//pkg/sentry/kernel/shm",
    90          "//pkg/sentry/kernel/signalfd",
    91          "//pkg/sentry/kernel/time",
    92          "//pkg/sentry/limits",
    93          "//pkg/sentry/loader",
    94          "//pkg/sentry/memmap",
    95          "//pkg/sentry/mm",
    96          "//pkg/sentry/socket",
    97          "//pkg/sentry/socket/control",
    98          "//pkg/sentry/socket/unix/transport",
    99          "//pkg/sentry/syscalls",
   100          "//pkg/sentry/usage",
   101          "//pkg/sentry/vfs",
   102          "//pkg/sync",
   103          "//pkg/syserr",
   104          "//pkg/syserror",
   105          "//pkg/usermem",
   106          "//pkg/waiter",
   107          "@org_golang_x_sys//unix:go_default_library",
   108      ],
   109  )