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

     1  load("//tools:defs.bzl", "more_shards", "most_shards")
     2  load("//test/runner:defs.bzl", "syscall_test")
     3  
     4  package(licenses = ["notice"])
     5  
     6  # Please keep syscall tests ordered alphabetically by name.
     7  
     8  syscall_test(
     9      test = "//test/syscalls/linux:32bit_test",
    10  )
    11  
    12  syscall_test(
    13      test = "//test/syscalls/linux:accept_bind_stream_test",
    14  )
    15  
    16  syscall_test(
    17      size = "large",
    18      shard_count = most_shards,
    19      test = "//test/syscalls/linux:accept_bind_test",
    20  )
    21  
    22  syscall_test(
    23      add_overlay = True,
    24      test = "//test/syscalls/linux:access_test",
    25  )
    26  
    27  syscall_test(
    28      test = "//test/syscalls/linux:affinity_test",
    29  )
    30  
    31  syscall_test(
    32      add_overlay = True,
    33      test = "//test/syscalls/linux:aio_test",
    34  )
    35  
    36  syscall_test(
    37      size = "medium",
    38      shard_count = more_shards,
    39      test = "//test/syscalls/linux:alarm_test",
    40  )
    41  
    42  syscall_test(
    43      test = "//test/syscalls/linux:arch_prctl_test",
    44  )
    45  
    46  syscall_test(
    47      test = "//test/syscalls/linux:bad_test",
    48  )
    49  
    50  syscall_test(
    51      size = "large",
    52      add_overlay = True,
    53      test = "//test/syscalls/linux:bind_test",
    54  )
    55  
    56  syscall_test(
    57      test = "//test/syscalls/linux:brk_test",
    58  )
    59  
    60  syscall_test(
    61      test = "//test/syscalls/linux:cgroup_test",
    62  )
    63  
    64  syscall_test(
    65      add_overlay = True,
    66      test = "//test/syscalls/linux:chdir_test",
    67  )
    68  
    69  syscall_test(
    70      add_overlay = True,
    71      test = "//test/syscalls/linux:chmod_test",
    72  )
    73  
    74  syscall_test(
    75      size = "medium",
    76      add_overlay = True,
    77      test = "//test/syscalls/linux:chown_test",
    78      use_tmpfs = True,  # chown tests require gofer to be running as root.
    79  )
    80  
    81  syscall_test(
    82      add_overlay = True,
    83      test = "//test/syscalls/linux:chroot_test",
    84  )
    85  
    86  syscall_test(
    87      test = "//test/syscalls/linux:clock_getres_test",
    88  )
    89  
    90  syscall_test(
    91      size = "medium",
    92      test = "//test/syscalls/linux:clock_gettime_test",
    93  )
    94  
    95  syscall_test(
    96      test = "//test/syscalls/linux:clock_nanosleep_test",
    97  )
    98  
    99  syscall_test(
   100      test = "//test/syscalls/linux:concurrency_test",
   101  )
   102  
   103  syscall_test(
   104      add_uds_tree = True,
   105      test = "//test/syscalls/linux:connect_external_test",
   106      use_tmpfs = True,
   107  )
   108  
   109  syscall_test(
   110      add_overlay = True,
   111      test = "//test/syscalls/linux:creat_test",
   112  )
   113  
   114  syscall_test(
   115      fuse = "True",
   116      test = "//test/syscalls/linux:dev_test",
   117  )
   118  
   119  syscall_test(
   120      add_overlay = True,
   121      test = "//test/syscalls/linux:dup_test",
   122  )
   123  
   124  syscall_test(
   125      test = "//test/syscalls/linux:epoll_test",
   126  )
   127  
   128  syscall_test(
   129      test = "//test/syscalls/linux:eventfd_test",
   130  )
   131  
   132  syscall_test(
   133      test = "//test/syscalls/linux:exceptions_test",
   134  )
   135  
   136  syscall_test(
   137      size = "medium",
   138      add_overlay = True,
   139      test = "//test/syscalls/linux:exec_test",
   140  )
   141  
   142  syscall_test(
   143      size = "medium",
   144      add_overlay = True,
   145      test = "//test/syscalls/linux:exec_binary_test",
   146  )
   147  
   148  syscall_test(
   149      test = "//test/syscalls/linux:exit_test",
   150  )
   151  
   152  syscall_test(
   153      add_overlay = True,
   154      test = "//test/syscalls/linux:fadvise64_test",
   155  )
   156  
   157  syscall_test(
   158      add_overlay = True,
   159      test = "//test/syscalls/linux:fallocate_test",
   160  )
   161  
   162  syscall_test(
   163      test = "//test/syscalls/linux:fault_test",
   164  )
   165  
   166  syscall_test(
   167      add_overlay = True,
   168      test = "//test/syscalls/linux:fchdir_test",
   169  )
   170  
   171  syscall_test(
   172      size = "medium",
   173      test = "//test/syscalls/linux:fcntl_test",
   174  )
   175  
   176  syscall_test(
   177      size = "medium",
   178      add_overlay = True,
   179      test = "//test/syscalls/linux:flock_test",
   180  )
   181  
   182  syscall_test(
   183      test = "//test/syscalls/linux:fork_test",
   184  )
   185  
   186  syscall_test(
   187      test = "//test/syscalls/linux:fpsig_fork_test",
   188  )
   189  
   190  syscall_test(
   191      test = "//test/syscalls/linux:fpsig_nested_test",
   192  )
   193  
   194  syscall_test(
   195      add_overlay = True,
   196      test = "//test/syscalls/linux:fsync_test",
   197  )
   198  
   199  syscall_test(
   200      size = "medium",
   201      shard_count = more_shards,
   202      test = "//test/syscalls/linux:futex_test",
   203  )
   204  
   205  syscall_test(
   206      test = "//test/syscalls/linux:getcpu_host_test",
   207  )
   208  
   209  syscall_test(
   210      test = "//test/syscalls/linux:getcpu_test",
   211  )
   212  
   213  syscall_test(
   214      add_overlay = True,
   215      test = "//test/syscalls/linux:getdents_test",
   216  )
   217  
   218  syscall_test(
   219      test = "//test/syscalls/linux:verity_getdents_test",
   220  )
   221  
   222  syscall_test(
   223      test = "//test/syscalls/linux:getrandom_test",
   224  )
   225  
   226  syscall_test(
   227      test = "//test/syscalls/linux:getrusage_test",
   228  )
   229  
   230  syscall_test(
   231      size = "medium",
   232      add_overlay = True,
   233      test = "//test/syscalls/linux:inotify_test",
   234  )
   235  
   236  syscall_test(
   237      size = "medium",
   238      add_overlay = True,
   239      test = "//test/syscalls/linux:ioctl_test",
   240  )
   241  
   242  syscall_test(
   243      test = "//test/syscalls/linux:verity_ioctl_test",
   244  )
   245  
   246  syscall_test(
   247      test = "//test/syscalls/linux:iptables_test",
   248  )
   249  
   250  syscall_test(
   251      test = "//test/syscalls/linux:ip6tables_test",
   252  )
   253  
   254  syscall_test(
   255      size = "large",
   256      shard_count = more_shards,
   257      test = "//test/syscalls/linux:itimer_test",
   258  )
   259  
   260  syscall_test(
   261      test = "//test/syscalls/linux:kcov_test",
   262  )
   263  
   264  syscall_test(
   265      test = "//test/syscalls/linux:kill_test",
   266  )
   267  
   268  syscall_test(
   269      add_overlay = True,
   270      test = "//test/syscalls/linux:link_test",
   271      use_tmpfs = True,  # gofer needs CAP_DAC_READ_SEARCH to use AT_EMPTY_PATH with linkat(2)
   272  )
   273  
   274  syscall_test(
   275      add_overlay = True,
   276      test = "//test/syscalls/linux:lseek_test",
   277  )
   278  
   279  syscall_test(
   280      test = "//test/syscalls/linux:madvise_test",
   281  )
   282  
   283  syscall_test(
   284      test = "//test/syscalls/linux:membarrier_test",
   285  )
   286  
   287  syscall_test(
   288      test = "//test/syscalls/linux:memory_accounting_test",
   289  )
   290  
   291  syscall_test(
   292      test = "//test/syscalls/linux:mempolicy_test",
   293  )
   294  
   295  syscall_test(
   296      test = "//test/syscalls/linux:mincore_test",
   297  )
   298  
   299  syscall_test(
   300      add_overlay = True,
   301      test = "//test/syscalls/linux:mkdir_test",
   302  )
   303  
   304  syscall_test(
   305      add_overlay = True,
   306      test = "//test/syscalls/linux:mknod_test",
   307  )
   308  
   309  syscall_test(
   310      test = "//test/syscalls/linux:mlock_test",
   311  )
   312  
   313  syscall_test(
   314      size = "medium",
   315      shard_count = more_shards,
   316      test = "//test/syscalls/linux:mmap_test",
   317  )
   318  
   319  syscall_test(
   320      test = "//test/syscalls/linux:verity_mmap_test",
   321  )
   322  
   323  syscall_test(
   324      add_overlay = True,
   325      test = "//test/syscalls/linux:mount_test",
   326  )
   327  
   328  syscall_test(
   329      size = "medium",
   330      test = "//test/syscalls/linux:mremap_test",
   331  )
   332  
   333  syscall_test(
   334      size = "medium",
   335      test = "//test/syscalls/linux:msync_test",
   336  )
   337  
   338  syscall_test(
   339      test = "//test/syscalls/linux:munmap_test",
   340  )
   341  
   342  syscall_test(
   343      test = "//test/syscalls/linux:network_namespace_test",
   344  )
   345  
   346  syscall_test(
   347      add_overlay = True,
   348      test = "//test/syscalls/linux:open_create_test",
   349  )
   350  
   351  syscall_test(
   352      add_overlay = True,
   353      shard_count = more_shards,
   354      test = "//test/syscalls/linux:open_test",
   355  )
   356  
   357  syscall_test(
   358      test = "//test/syscalls/linux:packet_socket_raw_test",
   359  )
   360  
   361  syscall_test(
   362      test = "//test/syscalls/linux:packet_socket_test",
   363  )
   364  
   365  syscall_test(
   366      test = "//test/syscalls/linux:partial_bad_buffer_test",
   367  )
   368  
   369  syscall_test(
   370      test = "//test/syscalls/linux:pause_test",
   371  )
   372  
   373  syscall_test(
   374      size = "medium",
   375      # Takes too long under gotsan to run.
   376      tags = ["nogotsan"],
   377      test = "//test/syscalls/linux:ping_socket_test",
   378  )
   379  
   380  syscall_test(
   381      size = "large",
   382      add_overlay = True,
   383      shard_count = more_shards,
   384      test = "//test/syscalls/linux:pipe_test",
   385  )
   386  
   387  syscall_test(
   388      test = "//test/syscalls/linux:poll_test",
   389  )
   390  
   391  syscall_test(
   392      size = "medium",
   393      test = "//test/syscalls/linux:ppoll_test",
   394  )
   395  
   396  syscall_test(
   397      test = "//test/syscalls/linux:prctl_setuid_test",
   398  )
   399  
   400  syscall_test(
   401      test = "//test/syscalls/linux:prctl_test",
   402  )
   403  
   404  syscall_test(
   405      add_overlay = True,
   406      test = "//test/syscalls/linux:pread64_test",
   407  )
   408  
   409  syscall_test(
   410      add_overlay = True,
   411      test = "//test/syscalls/linux:preadv_test",
   412  )
   413  
   414  syscall_test(
   415      add_overlay = True,
   416      test = "//test/syscalls/linux:preadv2_test",
   417  )
   418  
   419  syscall_test(
   420      test = "//test/syscalls/linux:priority_test",
   421  )
   422  
   423  syscall_test(
   424      size = "medium",
   425      test = "//test/syscalls/linux:proc_test",
   426  )
   427  
   428  syscall_test(
   429      test = "//test/syscalls/linux:proc_net_test",
   430  )
   431  
   432  syscall_test(
   433      test = "//test/syscalls/linux:proc_pid_oomscore_test",
   434  )
   435  
   436  syscall_test(
   437      test = "//test/syscalls/linux:proc_pid_smaps_test",
   438  )
   439  
   440  syscall_test(
   441      test = "//test/syscalls/linux:proc_pid_uid_gid_map_test",
   442  )
   443  
   444  syscall_test(
   445      size = "medium",
   446      test = "//test/syscalls/linux:pselect_test",
   447  )
   448  
   449  syscall_test(
   450      test = "//test/syscalls/linux:ptrace_test",
   451  )
   452  
   453  syscall_test(
   454      size = "medium",
   455      shard_count = more_shards,
   456      test = "//test/syscalls/linux:pty_test",
   457  )
   458  
   459  syscall_test(
   460      test = "//test/syscalls/linux:pty_root_test",
   461  )
   462  
   463  syscall_test(
   464      add_overlay = True,
   465      test = "//test/syscalls/linux:pwritev2_test",
   466  )
   467  
   468  syscall_test(
   469      add_overlay = True,
   470      test = "//test/syscalls/linux:pwrite64_test",
   471  )
   472  
   473  syscall_test(
   474      test = "//test/syscalls/linux:raw_socket_hdrincl_test",
   475  )
   476  
   477  syscall_test(
   478      test = "//test/syscalls/linux:raw_socket_icmp_test",
   479  )
   480  
   481  syscall_test(
   482      shard_count = more_shards,
   483      test = "//test/syscalls/linux:raw_socket_test",
   484  )
   485  
   486  syscall_test(
   487      add_overlay = True,
   488      test = "//test/syscalls/linux:read_test",
   489  )
   490  
   491  syscall_test(
   492      add_overlay = True,
   493      test = "//test/syscalls/linux:readahead_test",
   494  )
   495  
   496  syscall_test(
   497      size = "medium",
   498      shard_count = more_shards,
   499      test = "//test/syscalls/linux:readv_socket_test",
   500  )
   501  
   502  syscall_test(
   503      size = "medium",
   504      add_overlay = True,
   505      test = "//test/syscalls/linux:readv_test",
   506  )
   507  
   508  syscall_test(
   509      size = "medium",
   510      add_overlay = True,
   511      test = "//test/syscalls/linux:rename_test",
   512  )
   513  
   514  syscall_test(
   515      test = "//test/syscalls/linux:rlimits_test",
   516  )
   517  
   518  syscall_test(
   519      test = "//test/syscalls/linux:rseq_test",
   520  )
   521  
   522  syscall_test(
   523      test = "//test/syscalls/linux:rtsignal_test",
   524  )
   525  
   526  syscall_test(
   527      test = "//test/syscalls/linux:signalfd_test",
   528  )
   529  
   530  syscall_test(
   531      test = "//test/syscalls/linux:sched_test",
   532  )
   533  
   534  syscall_test(
   535      test = "//test/syscalls/linux:sched_yield_test",
   536  )
   537  
   538  syscall_test(
   539      test = "//test/syscalls/linux:seccomp_test",
   540  )
   541  
   542  syscall_test(
   543      test = "//test/syscalls/linux:select_test",
   544  )
   545  
   546  syscall_test(
   547      shard_count = more_shards,
   548      test = "//test/syscalls/linux:semaphore_test",
   549  )
   550  
   551  syscall_test(
   552      add_overlay = True,
   553      test = "//test/syscalls/linux:sendfile_socket_test",
   554  )
   555  
   556  syscall_test(
   557      add_overlay = True,
   558      test = "//test/syscalls/linux:sendfile_test",
   559  )
   560  
   561  syscall_test(
   562      add_overlay = True,
   563      test = "//test/syscalls/linux:setgid_test",
   564      # setgid tests require the gofer's user namespace to have multiple groups,
   565      # but bazel only provides one.
   566      use_tmpfs = True,
   567  )
   568  
   569  syscall_test(
   570      add_overlay = True,
   571      test = "//test/syscalls/linux:splice_test",
   572  )
   573  
   574  syscall_test(
   575      test = "//test/syscalls/linux:sigaction_test",
   576  )
   577  
   578  # TODO(b/119826902): Enable once the test passes in runsc.
   579  # syscall_test(vfs2="True",test = "//test/syscalls/linux:sigaltstack_test")
   580  
   581  syscall_test(
   582      test = "//test/syscalls/linux:sigreturn_test",
   583  )
   584  
   585  syscall_test(
   586      test = "//test/syscalls/linux:sigprocmask_test",
   587  )
   588  
   589  syscall_test(
   590      size = "medium",
   591      test = "//test/syscalls/linux:sigstop_test",
   592  )
   593  
   594  syscall_test(
   595      test = "//test/syscalls/linux:sigtimedwait_test",
   596  )
   597  
   598  syscall_test(
   599      size = "medium",
   600      test = "//test/syscalls/linux:shm_test",
   601  )
   602  
   603  syscall_test(
   604      size = "medium",
   605      test = "//test/syscalls/linux:socket_abstract_non_blocking_test",
   606  )
   607  
   608  syscall_test(
   609      size = "large",
   610      shard_count = most_shards,
   611      test = "//test/syscalls/linux:socket_abstract_test",
   612  )
   613  
   614  syscall_test(
   615      test = "//test/syscalls/linux:socket_capability_test",
   616  )
   617  
   618  syscall_test(
   619      size = "medium",
   620      test = "//test/syscalls/linux:socket_domain_non_blocking_test",
   621  )
   622  
   623  syscall_test(
   624      size = "large",
   625      shard_count = most_shards,
   626      test = "//test/syscalls/linux:socket_domain_test",
   627  )
   628  
   629  syscall_test(
   630      size = "medium",
   631      add_overlay = True,
   632      test = "//test/syscalls/linux:socket_filesystem_non_blocking_test",
   633  )
   634  
   635  syscall_test(
   636      size = "large",
   637      add_overlay = True,
   638      shard_count = most_shards,
   639      test = "//test/syscalls/linux:socket_filesystem_test",
   640  )
   641  
   642  syscall_test(
   643      size = "large",
   644      shard_count = most_shards,
   645      test = "//test/syscalls/linux:socket_inet_loopback_test",
   646  )
   647  
   648  syscall_test(
   649      size = "large",
   650      shard_count = most_shards,
   651      tags = ["container"],
   652      test = "//test/syscalls/linux:socket_inet_loopback_isolated_test",
   653  )
   654  
   655  syscall_test(
   656      size = "large",
   657      shard_count = most_shards,
   658      # Takes too long for TSAN. Creates a lot of TCP sockets.
   659      tags = ["nogotsan"],
   660      test = "//test/syscalls/linux:socket_inet_loopback_nogotsan_test",
   661  )
   662  
   663  syscall_test(
   664      test = "//test/syscalls/linux:socket_ipv4_udp_unbound_external_networking_test",
   665  )
   666  
   667  syscall_test(
   668      size = "large",
   669      shard_count = most_shards,
   670      test = "//test/syscalls/linux:socket_ip_tcp_generic_loopback_test",
   671  )
   672  
   673  syscall_test(
   674      size = "medium",
   675      add_hostinet = True,
   676      test = "//test/syscalls/linux:socket_ip_tcp_loopback_non_blocking_test",
   677  )
   678  
   679  syscall_test(
   680      size = "large",
   681      shard_count = most_shards,
   682      test = "//test/syscalls/linux:socket_ip_tcp_loopback_test",
   683  )
   684  
   685  syscall_test(
   686      size = "medium",
   687      add_hostinet = True,
   688      shard_count = most_shards,
   689      test = "//test/syscalls/linux:socket_ip_tcp_udp_generic_loopback_test",
   690  )
   691  
   692  syscall_test(
   693      size = "medium",
   694      add_hostinet = True,
   695      test = "//test/syscalls/linux:socket_ip_udp_loopback_non_blocking_test",
   696  )
   697  
   698  syscall_test(
   699      size = "large",
   700      shard_count = most_shards,
   701      test = "//test/syscalls/linux:socket_ip_udp_loopback_test",
   702  )
   703  
   704  syscall_test(
   705      size = "medium",
   706      test = "//test/syscalls/linux:socket_ipv4_udp_unbound_loopback_test",
   707  )
   708  
   709  syscall_test(
   710      size = "medium",
   711      test = "//test/syscalls/linux:socket_ipv6_udp_unbound_loopback_test",
   712  )
   713  
   714  syscall_test(
   715      size = "medium",
   716      add_hostinet = True,
   717      shard_count = more_shards,
   718      # Takes too long under gotsan to run.
   719      tags = ["nogotsan"],
   720      test = "//test/syscalls/linux:socket_ipv4_udp_unbound_loopback_nogotsan_test",
   721  )
   722  
   723  syscall_test(
   724      test = "//test/syscalls/linux:socket_ipv4_udp_unbound_loopback_netlink_test",
   725  )
   726  
   727  syscall_test(
   728      test = "//test/syscalls/linux:socket_ipv6_udp_unbound_loopback_netlink_test",
   729  )
   730  
   731  syscall_test(
   732      shard_count = more_shards,
   733      test = "//test/syscalls/linux:socket_ip_unbound_test",
   734  )
   735  
   736  syscall_test(
   737      test = "//test/syscalls/linux:socket_ip_unbound_netlink_test",
   738  )
   739  
   740  syscall_test(
   741      add_hostinet = True,
   742      test = "//test/syscalls/linux:socket_netdevice_test",
   743  )
   744  
   745  syscall_test(
   746      test = "//test/syscalls/linux:socket_netlink_test",
   747  )
   748  
   749  syscall_test(
   750      test = "//test/syscalls/linux:socket_netlink_route_test",
   751  )
   752  
   753  syscall_test(
   754      test = "//test/syscalls/linux:socket_netlink_uevent_test",
   755  )
   756  
   757  syscall_test(
   758      test = "//test/syscalls/linux:socket_blocking_local_test",
   759  )
   760  
   761  syscall_test(
   762      test = "//test/syscalls/linux:socket_blocking_ip_test",
   763  )
   764  
   765  syscall_test(
   766      add_hostinet = True,
   767      test = "//test/syscalls/linux:socket_non_stream_blocking_local_test",
   768  )
   769  
   770  syscall_test(
   771      test = "//test/syscalls/linux:socket_non_stream_blocking_udp_test",
   772  )
   773  
   774  syscall_test(
   775      size = "large",
   776      test = "//test/syscalls/linux:socket_stream_blocking_local_test",
   777  )
   778  
   779  syscall_test(
   780      size = "large",
   781      test = "//test/syscalls/linux:socket_stream_blocking_tcp_test",
   782  )
   783  
   784  syscall_test(
   785      size = "medium",
   786      test = "//test/syscalls/linux:socket_stream_local_test",
   787  )
   788  
   789  syscall_test(
   790      size = "medium",
   791      test = "//test/syscalls/linux:socket_stream_nonblock_local_test",
   792  )
   793  
   794  syscall_test(
   795      size = "large",
   796      shard_count = most_shards,
   797      test = "//test/syscalls/linux:socket_stress_test",
   798  )
   799  
   800  syscall_test(
   801      test = "//test/syscalls/linux:socket_test",
   802  )
   803  
   804  syscall_test(
   805      flaky = 1,  # NOTE(b/116636318): Large sendmsg may stall a long time.
   806      shard_count = more_shards,
   807      test = "//test/syscalls/linux:socket_unix_dgram_local_test",
   808  )
   809  
   810  syscall_test(
   811      size = "medium",
   812      test = "//test/syscalls/linux:socket_unix_dgram_non_blocking_test",
   813  )
   814  
   815  syscall_test(
   816      size = "large",
   817      add_overlay = True,
   818      shard_count = most_shards,
   819      test = "//test/syscalls/linux:socket_unix_pair_test",
   820  )
   821  
   822  syscall_test(
   823      flaky = 1,  # NOTE(b/116636318): Large sendmsg may stall a long time.
   824      shard_count = more_shards,
   825      test = "//test/syscalls/linux:socket_unix_seqpacket_local_test",
   826  )
   827  
   828  syscall_test(
   829      size = "medium",
   830      test = "//test/syscalls/linux:socket_unix_stream_test",
   831  )
   832  
   833  syscall_test(
   834      size = "medium",
   835      test = "//test/syscalls/linux:socket_unix_unbound_abstract_test",
   836  )
   837  
   838  syscall_test(
   839      size = "medium",
   840      test = "//test/syscalls/linux:socket_unix_unbound_dgram_test",
   841  )
   842  
   843  syscall_test(
   844      size = "medium",
   845      test = "//test/syscalls/linux:socket_unix_unbound_filesystem_test",
   846  )
   847  
   848  syscall_test(
   849      size = "medium",
   850      shard_count = more_shards,
   851      test = "//test/syscalls/linux:socket_unix_unbound_seqpacket_test",
   852  )
   853  
   854  syscall_test(
   855      size = "large",
   856      shard_count = most_shards,
   857      test = "//test/syscalls/linux:socket_unix_unbound_stream_test",
   858  )
   859  
   860  syscall_test(
   861      add_overlay = True,
   862      test = "//test/syscalls/linux:statfs_test",
   863      use_tmpfs = True,  # Test specifically relies on TEST_TMPDIR to be tmpfs.
   864  )
   865  
   866  syscall_test(
   867      add_overlay = True,
   868      test = "//test/syscalls/linux:stat_test",
   869  )
   870  
   871  syscall_test(
   872      add_overlay = True,
   873      test = "//test/syscalls/linux:stat_times_test",
   874  )
   875  
   876  syscall_test(
   877      add_overlay = True,
   878      test = "//test/syscalls/linux:sticky_test",
   879  )
   880  
   881  syscall_test(
   882      add_overlay = True,
   883      test = "//test/syscalls/linux:symlink_test",
   884  )
   885  
   886  syscall_test(
   887      add_overlay = True,
   888      test = "//test/syscalls/linux:sync_test",
   889  )
   890  
   891  syscall_test(
   892      add_overlay = True,
   893      test = "//test/syscalls/linux:sync_file_range_test",
   894  )
   895  
   896  syscall_test(
   897      test = "//test/syscalls/linux:sysinfo_test",
   898  )
   899  
   900  syscall_test(
   901      test = "//test/syscalls/linux:syslog_test",
   902  )
   903  
   904  syscall_test(
   905      test = "//test/syscalls/linux:sysret_test",
   906  )
   907  
   908  syscall_test(
   909      size = "medium",
   910      shard_count = more_shards,
   911      test = "//test/syscalls/linux:tcp_socket_test",
   912  )
   913  
   914  syscall_test(
   915      test = "//test/syscalls/linux:tgkill_test",
   916  )
   917  
   918  syscall_test(
   919      shard_count = more_shards,
   920      test = "//test/syscalls/linux:timerfd_test",
   921  )
   922  
   923  syscall_test(
   924      test = "//test/syscalls/linux:timers_test",
   925  )
   926  
   927  syscall_test(
   928      test = "//test/syscalls/linux:time_test",
   929  )
   930  
   931  syscall_test(
   932      test = "//test/syscalls/linux:tkill_test",
   933  )
   934  
   935  syscall_test(
   936      add_overlay = True,
   937      test = "//test/syscalls/linux:truncate_test",
   938  )
   939  
   940  syscall_test(
   941      test = "//test/syscalls/linux:tuntap_test",
   942  )
   943  
   944  syscall_test(
   945      add_hostinet = True,
   946      test = "//test/syscalls/linux:tuntap_hostinet_test",
   947  )
   948  
   949  syscall_test(
   950      add_hostinet = True,
   951      test = "//test/syscalls/linux:udp_bind_test",
   952  )
   953  
   954  syscall_test(
   955      size = "medium",
   956      add_hostinet = True,
   957      shard_count = more_shards,
   958      test = "//test/syscalls/linux:udp_socket_test",
   959  )
   960  
   961  syscall_test(
   962      test = "//test/syscalls/linux:uidgid_test",
   963  )
   964  
   965  syscall_test(
   966      test = "//test/syscalls/linux:uname_test",
   967  )
   968  
   969  syscall_test(
   970      add_overlay = True,
   971      test = "//test/syscalls/linux:unlink_test",
   972  )
   973  
   974  syscall_test(
   975      test = "//test/syscalls/linux:unshare_test",
   976  )
   977  
   978  syscall_test(
   979      test = "//test/syscalls/linux:utimes_test",
   980  )
   981  
   982  syscall_test(
   983      size = "medium",
   984      test = "//test/syscalls/linux:vdso_clock_gettime_test",
   985  )
   986  
   987  syscall_test(
   988      test = "//test/syscalls/linux:vdso_test",
   989  )
   990  
   991  syscall_test(
   992      test = "//test/syscalls/linux:vsyscall_test",
   993  )
   994  
   995  syscall_test(
   996      test = "//test/syscalls/linux:vfork_test",
   997  )
   998  
   999  syscall_test(
  1000      size = "medium",
  1001      shard_count = more_shards,
  1002      test = "//test/syscalls/linux:wait_test",
  1003  )
  1004  
  1005  syscall_test(
  1006      add_overlay = True,
  1007      test = "//test/syscalls/linux:write_test",
  1008  )
  1009  
  1010  syscall_test(
  1011      test = "//test/syscalls/linux:proc_net_unix_test",
  1012  )
  1013  
  1014  syscall_test(
  1015      add_hostinet = True,
  1016      test = "//test/syscalls/linux:proc_net_tcp_test",
  1017  )
  1018  
  1019  syscall_test(
  1020      test = "//test/syscalls/linux:proc_net_udp_test",
  1021  )
  1022  
  1023  syscall_test(
  1024      test = "//test/syscalls/linux:processes_test",
  1025  )
  1026  
  1027  syscall_test(
  1028      test = "//test/syscalls/linux:verity_mount_test",
  1029  )