Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 17 additions & 57 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ default-members = ["fact"]
license = "MIT OR Apache-2.0"

[workspace.dependencies]
aya = { version = "0.13.1", default-features = false }
aya = { version = "0.14.0", default-features = false }

anyhow = { version = "1", default-features = false, features = ["std", "backtrace"] }
clap = { version = "4.5.41", features = ["derive", "env"] }
Expand Down
6 changes: 3 additions & 3 deletions fact/src/bpf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ impl Bpf {
// Include the BPF object as raw bytes at compile-time and load it
// at runtime.
let obj = aya::EbpfLoader::new()
.set_global("host_mount_ns", &host_info::get_host_mount_ns(), true)
.set_global(
.override_global("host_mount_ns", &host_info::get_host_mount_ns(), true)
.override_global(
"path_hooks_support_bpf_d_path",
&(checks.path_hooks_support_bpf_d_path as u8),
true,
)
.set_max_entries(RINGBUFFER_NAME, ringbuf_size * 1024)
.map_max_entries(RINGBUFFER_NAME, ringbuf_size * 1024)
.load(fact_ebpf::EBPF_OBJ)?;

let paths = Vec::new();
Expand Down
2 changes: 1 addition & 1 deletion konflux.Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ COPY . .

RUN cargo build --release

FROM registry.access.redhat.com/ubi8/ubi-minimal@sha256:12b7acca2baea46b0c9322b57ef1b6cb2bf35b6be0384f690feea75af9bcf77c
FROM registry.access.redhat.com/ubi8/ubi-minimal@sha256:9197a735f25df554cb12f7122df1ee2f8d3ccf5f6da9631be6a53c01f8b6baa2

ARG FACT_TAG

Expand Down
Loading