Skip to content

Commit f970b6f

Browse files
authored
Merge branch 'main' into tests-netns-reuse
2 parents f0755a6 + bda67df commit f970b6f

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

docs/snapshotting/snapshot-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ curl --unix-socket /tmp/firecracker.socket -i \
266266
-d '{
267267
"snapshot_type": "Full",
268268
"snapshot_path": "./snapshot_file",
269-
"mem_file_path": "./mem_file",
269+
"mem_file_path": "./mem_file"
270270
}'
271271
```
272272

src/vmm/src/devices/virtio/vsock/packet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ mod tests {
518518
))
519519
}
520520

521-
// Test case: the buffer descriptor cannot fit all the data advertised by the the
521+
// Test case: the buffer descriptor cannot fit all the data advertised by the
522522
// packet header `len` field.
523523
{
524524
create_context!(test_ctx, handler_ctx);

src/vmm/src/dumbo/tcp/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ impl Connection {
815815
/// * `mss_reserved` - How much (if anything) of the MSS value has been already used at the
816816
/// lower layers (by IP options, for example). This will be zero most of the time.
817817
/// * `payload_src` - References a buffer which contains data to send, and also specifies the
818-
/// sequence number associated with the first byte from that that buffer.
818+
/// sequence number associated with the first byte from that buffer.
819819
/// * `now` - An opaque timestamp representing the current moment in time.
820820
///
821821
/// [`MAX_WINDOW_SIZE`]: ../constant.MAX_WINDOW_SIZE.html

tests/integration_tests/build/test_seccomp_no_redundant_rules.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
import platform
66
from pathlib import Path
77

8-
import pytest
9-
108
from framework import utils
119
from framework.static_analysis import (
1210
determine_unneeded_seccomp_rules,
@@ -15,10 +13,6 @@
1513
)
1614

1715

18-
@pytest.mark.skipif(
19-
platform.machine() != "x86_64",
20-
reason="aarch64 nightly toolchain does not support flags needed to compile analyzable binary yet",
21-
)
2216
def test_redundant_seccomp_rules():
2317
"""Test that fails if static analysis determines redundant seccomp rules"""
2418
arch = platform.processor()

tools/devctr/Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-too
113113
&& rustup target add x86_64-unknown-linux-musl \
114114
&& rustup target add aarch64-unknown-linux-musl \
115115
&& rustup component add llvm-tools-preview clippy rustfmt \
116-
&& cargo install --locked cargo-audit cargo-deny@0.16.1 grcov cargo-sort cargo-afl \
116+
&& cargo install --locked cargo-audit cargo-deny grcov cargo-sort cargo-afl \
117117
&& cargo install --locked kani-verifier && cargo kani setup \
118118
\
119119
&& NIGHTLY_TOOLCHAIN=$(rustup toolchain list | grep nightly | tr -d '\n') \
@@ -149,12 +149,18 @@ RUN cd /usr/include/$ARCH-linux-musl \
149149
&& ln -s ../asm-generic asm-generic
150150

151151
# Install static version of libseccomp
152-
#
152+
# We need to compile from source because
153+
# libseccomp provided by the distribution is not
154+
# compiled with musl-gcc and we need this
155+
# for our musl builds.
156+
# We specify the tag in order to have a fixed version
157+
# of the library.
153158
RUN apt-get update \
154159
&& apt-get -y install \
155160
libtool gperf \
156161
&& git clone https://github.com/seccomp/libseccomp /tmp/libseccomp \
157162
&& cd /tmp/libseccomp \
163+
&& git checkout tags/v2.5.5 \
158164
&& ./autogen.sh \
159165
&& CC="musl-gcc -static" ./configure --enable-static=yes --enable-shared=false \
160166
&& make install \

tools/devtool

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
DEVCTR_IMAGE_NO_TAG="public.ecr.aws/firecracker/fcuvm"
6969

7070
# Development container tag
71-
DEVCTR_IMAGE_TAG=${DEVCTR_IMAGE_TAG:-v76}
71+
DEVCTR_IMAGE_TAG=${DEVCTR_IMAGE_TAG:-v77}
7272

7373
# Development container image (name:tag)
7474
# This should be updated whenever we upgrade the development container.

0 commit comments

Comments
 (0)