diff options
author | Tamir Duberstein <tamird@google.com> | 2021-10-07 14:02:20 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-10-07 14:04:55 -0700 |
commit | a7045f051f7bcdca079cdb0636f728a18b609121 (patch) | |
tree | 31150f22f45853b4b3be2e782a32a32e5017a012 /pkg/sentry/socket/BUILD | |
parent | d93c3c2eff5e4c92d7740d82ff079a0ae51f60d9 (diff) |
Store timestamps as time.Time
Rather than boiling down to an integer eagerly, do it as late as possible.
PiperOrigin-RevId: 401599308
Diffstat (limited to 'pkg/sentry/socket/BUILD')
-rw-r--r-- | pkg/sentry/socket/BUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/sentry/socket/BUILD b/pkg/sentry/socket/BUILD index 7ee89a735..00f925166 100644 --- a/pkg/sentry/socket/BUILD +++ b/pkg/sentry/socket/BUILD @@ -4,7 +4,10 @@ package(licenses = ["notice"]) go_library( name = "socket", - srcs = ["socket.go"], + srcs = [ + "socket.go", + "socket_state.go", + ], visibility = ["//pkg/sentry:internal"], deps = [ "//pkg/abi/linux", |