Commit Graph
152 Commits
Author SHA1 Message Date
Zach KoopmansandgVisor bot bda81b139c Update docker packages to new moby repo.
PiperOrigin-RevId: 555358714
2023-08-09 20:48:47 -07:00
Andrei Vagin 51fa9984e7 Update bazel, rules_go and gazelle 2023-08-03 18:22:26 -07:00
Lucas ManningandgVisor bot bc842b0f12 Implement accel fd methods and gasket ioctls.
The implementation of memory mapping and interrupt registration is
very similar to what's already been done for nvproxy.

PiperOrigin-RevId: 552644264
2023-07-31 18:05:28 -07:00
gVisor bot 988744c29a Internal change.
PiperOrigin-RevId: 538044944
2023-06-05 19:39:47 -07:00
Lucas ManningandgVisor bot 681bcc0d45 Add FUSE dimension to microbenchmarks.
PiperOrigin-RevId: 532901869
2023-05-17 14:10:07 -07:00
Andrei VaginandgVisor bot b651cd69a3 Update packages
PiperOrigin-RevId: 532582853
2023-05-16 15:01:22 -07:00
gVisor bot d034171d9c Merge pull request #8679 from avagin:cpp-warnings
PiperOrigin-RevId: 523157922
2023-04-10 10:59:51 -07:00
Kevin KrakauerandgVisor bot c40c4dd3ac github: update OSS schemastore
This was done internally in cl/518959241.

PiperOrigin-RevId: 519218468
2023-03-24 13:07:50 -07:00
Andrei Vagin 3445db339d Fix all c++ compile time warnings 2023-03-09 19:01:00 -08:00
Adin ScannellandgVisor bot 2911d8c3b8 Add default_applicable_licenses rules to packages.
PiperOrigin-RevId: 513581243
2023-03-02 10:50:04 -08:00
Adin ScannellandAndrei Vagin f278d0e433 Add appropriate arch_genrule transitions. 2023-02-28 12:28:17 -08:00
Andrei Vagin 6c3b2a8e88 Update bazel to 6.0.0 2023-02-17 14:42:11 -08:00
Adin ScannellandgVisor bot a6f151dd10 Update dependencies use new Kubernetes libraries.
PiperOrigin-RevId: 510293880
2023-02-16 18:07:40 -08:00
Nicolas LacasseandgVisor bot b3b2e951fe Update gocapability library version.
Updates #8529

PiperOrigin-RevId: 509961588
2023-02-15 16:25:17 -08:00
Andrei Vagin 3217061ac5 Bump go version to 1.20
Signed-off-by: Andrei Vagin <[email protected]>
2023-02-10 08:32:17 -08:00
Lucas ManningandgVisor bot 6e095583b8 Create a new test dimension that mounts a FUSE fs on /tmp.
If you add "use_fusefs=True" to a syscall test, it generates a new test
target denoted with _fuse at the end. This target runs a shim binary
that mounts a FUSE fs at /tmp and runs a server that forwards all
filesystem ops to /fuse. Once the FUSE is mounted, the shim execs the normal
test binary.

This new dimension should help test the correctness of our FUSE implementation.
All relevant tests that already pass have the use_fusefs enabled. The rest
are still broken.

PiperOrigin-RevId: 501059036
2023-01-10 12:13:09 -08:00
Andrei Vagin d7fc4979e0 Update rules_proto
rules_proto-5.3.0-21.5 is broken:
Error in download: java.io.IOException: Error downloading
[https://mirror.bazel.build/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.21.5/protobuf-java-3.21.5.jar,
https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.21.5/protobuf-java-3.21.5.jar]
Checksum was 51febfb24af6faa7eb729c880b8ba011cbab8ce55920656a450740b73d343ee2
but wanted ad275e75ee79e6c6388198dcb9acf0db2edee64782e11b508f379c3a2a17d168

Github issue: https://github.com/bazelbuild/rules_proto/issues/153
2022-12-02 10:32:10 -08:00
Andrei VaginandgVisor bot 4973467d1f Update golang.org/x/sys
PiperOrigin-RevId: 492319643
2022-12-01 15:49:55 -08:00
gVisor bot e7e22f38c1 Merge pull request #8154 from avagin:bazel-update
PiperOrigin-RevId: 492077389
2022-11-30 18:56:18 -08:00
Etienne PerotandgVisor bot 854060e9d1 gvisor: Explicitly register C++ toolchains for cross-compilation.
Bazel >= 5 seems to no longer implicitly recognize coral_crosstool's
C++ toolchains when looking through the possible set of toolchains to use for
compiling C++ (`@bazel_tools//tools/cpp:toolchain_type`).

This change explicitly registers these toolchains within `WORKSPACE`.

PiperOrigin-RevId: 492011138
2022-11-30 14:07:24 -08:00
Andrei Vagin e21013058e Update packages
Signed-off-by: Andrei Vagin <[email protected]>
2022-11-29 16:14:10 -08:00
Andrei Vagin 7f94c77962 Update bazel packages
Signed-off-by: Andrei Vagin <[email protected]>
2022-11-29 14:01:41 -08:00
Shengjing ZhuandShengjing Zhu 1a687f6684 Replace bitset with stdlib math/big
Sync changes in runc https://github.com/opencontainers/runc/pull/3219
2022-09-15 00:09:35 +08:00
Kevin KrakauerandgVisor bot 1199ff31d2 xdp: tooling and dependencies
Setup gVisor so that an AF_XDP dispatcher can be implemented.

Specifically:

- xdp_loader: a binary for testing XDP programs
- Two basic XDP programs
- Update the cilium/ebpf dep
- Genrule for building BPF programs
- Install clang on buildkite to support building BPF programs

PiperOrigin-RevId: 464562411
2022-08-01 10:11:57 -07:00
Andrei Vagin b528a52275 Update rules_go 2022-06-30 17:41:44 -07:00
Andrei Vagin 4a192a1932 Update go to 1.18.3 2022-06-30 17:41:44 -07:00
Andrei Vagin ef52ea70e3 Update bazel-skylib 2022-06-30 17:41:44 -07:00
Andrei Vagin 7fee40581e Update bazel-gazelle 2022-06-30 17:41:44 -07:00
Fabricio VoznikaandgVisor bot fb239d6422 Update containerd to v1.4.12
Closes #6232

PiperOrigin-RevId: 449518615
2022-05-18 10:40:31 -07:00
Lucas ManningandgVisor bot 48ef47b8dd Add systemd-cgroup support to runsc.
This change adds systemd-cgroup support to cgroupv2 and modifies existing
cgroup tests for systemd support.

Fixes #193

PiperOrigin-RevId: 435457762
2022-03-17 15:03:44 -07:00
William ChangandgVisor bot 1189312433 Implement core tagging
Links to some possibly useful reference material on core tagging:
* LWN article: https://lwn.net/Articles/861251/
* Kernel docs: https://www.kernel.org/doc/Documentation/admin-guide/hw-vuln/core-scheduling.rst

PiperOrigin-RevId: 431093418
2022-02-25 21:51:02 -08:00
Adin ScannellandgVisor bot 8b60115f51 Ensure that nogo is enabled.
A recent change stopped using the correct file (the export data, not the
archive) and checklocks started failing. Unfortunately, this was suppressed,
since the filter command was not failing with findings.

This change fixes that problem and adds a test to ensure that this cannot
happen again. If nogo starts failing to identify problems, the sanity_test in
nogo/sanity will also start to fail.

This change also requires updating the WORKSPACE to the latest rules_go and
Go version, in order to pick up the fixed go_tools. The latest rules_go in
turn required an updated bazel, which in turn required a minor change in the
coverdata implementation.

Fixing the fact propagation brought forward a number of problems with caching
for bazel workers. Its unclear whether this was a core worker issue or whether
some caching was broken, but the situation was basically undebugable. Instead,
the way facts are stored and loaded is optimized to be able to remove the use
of workers altogether and ideally make nogo debuggable.

PiperOrigin-RevId: 426327186
2022-02-03 23:45:40 -08:00
Adin ScannellandgVisor bot d8237e4cba Remove unnecessary use of _impl pkg rules.
Updates bazelbuild/rules_pkg#263

PiperOrigin-RevId: 424953384
2022-01-28 14:08:28 -08:00
Adin ScannellandgVisor bot dedef233cd Refactor nogo and provide facts render.
This change makes the core nogo package less of a "catch all", and splits
functionality into multiple packages. Instead of separate binaries for each
function, a single "cli" package is added with subcommands, and the core
starlark wrappers are also refactored to minimize redundancy.

The new "cli" package also adds support for a "render" command, which
allows factors to be rendered via a Go text template. This is useful for
debugging, but also allows code generation to be updated to use this
mechanism. This eliminates the use of a QEMU wrapper for the older
arch_genrule, and allows the use of a native bazel transition to extract
facts for the appropriate generated file. In other words, the correct facts
will be rendered for generating XXX_arm64.s, even on amd64.

PiperOrigin-RevId: 422846459
2022-01-19 10:26:27 -08:00
gVisor bot 2de2dadb1d Internal change.
PiperOrigin-RevId: 417865279
2021-12-22 12:20:46 -08:00
Ghanan GowripalanandgVisor bot 26b2c3900c Update googletest to v1.11.0
https://github.com/google/googletest/releases/tag/release-1.11.0.

PiperOrigin-RevId: 417685256
2021-12-21 13:59:00 -08:00
Zeling FengandgVisor bot 493bf93bd5 Dockerless PacketImpact
- More hermetic test network setup
- Easier to use/setup without docker

Updates #6018, #6835.

PiperOrigin-RevId: 410039248
2021-11-15 11:44:51 -08:00
Tamir DubersteinandgVisor bot 836d3c32d0 Replace bespoke WaitGroupErr with errgroup
PiperOrigin-RevId: 406027220
2021-10-27 18:22:30 -07:00
Andrei Vagin e9029ad4ca Update bazel packages 2021-10-04 18:33:58 -07:00
gVisor bot 580129c012 Internal change.
PiperOrigin-RevId: 391331401
2021-08-17 11:05:59 -07:00
Michael PrattandgVisor bot ca4264e9ee Update core allowed dependencies
This list has gotten a little out-of-date. Note that `clockwork` used to be
used but was removed in gvisor.dev/pr/5384.

PiperOrigin-RevId: 390644841
2021-08-13 10:43:50 -07:00
d3cf1cac9a [op] Fix //debian:debian.
Co-authored-by: Andrei Vagin <[email protected]>
PiperOrigin-RevId: 390232925
2021-08-11 15:28:51 -07:00
Etienne PerotandgVisor bot 3e5f614e0b Sentry: Measure the time it takes to initialize the Sentry.
PiperOrigin-RevId: 383472507
2021-07-07 12:48:24 -07:00
Esteban Blanc e1636e89c1 Add comment on abseil/grpc dependency precedence
Signed-off-by: Esteban Blanc <[email protected]>
2021-06-08 19:18:09 +02:00
Esteban Blanc 57abd0e273 Update abseil dependency
Signed-off-by: Esteban Blanc <[email protected]>
2021-06-08 18:16:59 +02:00
Ian LewisandgVisor bot c64c6c60ed Update dependencies so that the 'go' branch builds.
The go branch requires that indirect dependencies be specified in go.mod/go.sum
as well as direct dependencies in order to work. This includes dependencies
that arise from code that is normally generated or otherwise handled by bazel.

Fixes #6053

PiperOrigin-RevId: 377955230
2021-06-07 10:56:56 -07:00
Adin ScannellandgVisor bot d173017726 Update GitHub packages.
PiperOrigin-RevId: 377611852
2021-06-04 16:30:27 -07:00
Andrei Vagin d1372ac561 Update bazel packages 2021-05-17 14:39:36 -07:00
Fabricio VoznikaandgVisor bot 94c9df24c6 Update flock to v0.8.0
PiperOrigin-RevId: 361962416
2021-03-09 20:54:15 -08:00
Tamir DubersteinandgVisor bot 025e4ee0d6 Update and tidy Go modules
PiperOrigin-RevId: 356624256
2021-02-09 16:56:09 -08:00