Files

42 lines
821 B
Python
Raw Permalink Normal View History

2023-05-18 09:56:24 -07:00
load("//pkg/sync/locking:locking.bzl", "declare_mutex")
load("//tools:defs.bzl", "go_library")
2018-06-21 10:52:33 -07:00
package(
default_applicable_licenses = ["//:license"],
licenses = ["notice"],
)
2023-05-18 09:56:24 -07:00
declare_mutex(
name = "reg_mutex",
out = "reg_mutex.go",
package = "fasync",
prefix = "reg",
)
declare_mutex(
name = "file_mutex",
out = "file_mutex.go",
package = "fasync",
prefix = "file",
)
2018-06-21 10:52:33 -07:00
go_library(
name = "fasync",
2023-05-18 09:56:24 -07:00
srcs = [
"fasync.go",
"file_mutex.go",
"reg_mutex.go",
],
2018-06-21 10:52:33 -07:00
visibility = ["//:sandbox"],
deps = [
"//pkg/abi/linux",
"//pkg/errors/linuxerr",
2018-06-21 10:52:33 -07:00
"//pkg/sentry/kernel",
"//pkg/sentry/kernel/auth",
2020-06-27 21:32:16 -07:00
"//pkg/sentry/vfs",
2020-01-09 22:00:42 -08:00
"//pkg/sync",
2023-05-18 09:56:24 -07:00
"//pkg/sync/locking",
2018-06-21 10:52:33 -07:00
"//pkg/waiter",
],
)