Skip to content

feat!: drop some syscalls enter events gen, testing and parsing code (part 3)#2599

Merged
ekoops merged 6 commits intomasterfrom
ekoops/drop-syscall-e
Sep 2, 2025
Merged

feat!: drop some syscalls enter events gen, testing and parsing code (part 3)#2599
ekoops merged 6 commits intomasterfrom
ekoops/drop-syscall-e

Conversation

@ekoops
Copy link
Copy Markdown
Contributor

@ekoops ekoops commented Sep 1, 2025

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area API-version

/area build

/area CI

/area driver-kmod

/area driver-bpf

/area driver-modern-bpf

/area libscap-engine-bpf

/area libscap-engine-gvisor

/area libscap-engine-kmod

/area libscap-engine-modern-bpf

/area libscap-engine-nodriver

/area libscap-engine-noop

/area libscap-engine-source-plugin

/area libscap-engine-savefile

/area libscap

/area libpman

/area libsinsp

/area tests

/area proposals

Does this PR require a change in the driver versions?

/version driver-API-version-major

/version driver-API-version-minor

/version driver-API-version-patch

/version driver-SCHEMA-version-major

/version driver-SCHEMA-version-minor

/version driver-SCHEMA-version-patch

What this PR does / why we need it:

This PR is part of #2588.

Specifically, this addresses the following system calls:

  • fcntl
  • mmap
  • mmap2
  • munmap
  • rename
  • renameat
  • renameat2
  • symlink
  • symlinkat

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Not bumping the driver schema version is currently a practice we are following as we will bump it in a single shot once we are done with the #2068 proposal.

/milestone 0.22.0

Does this PR introduce a user-facing change?:

feat!: drop `rename{,at,at2}` enter evts gen, testing and parsing code
feat!: drop `splice` enter events gen, testing and parsing code
feat!: drop `munmap` enter events gen, testing and parsing code
feat!: drop `mmap`/`mmap2` enter events gen, testing and parsing code
feat!: drop `fcntl` enter events gen, testing and parsing code
feat!: drop `symlink{,at}` enter events gen, testing and parsing code

As the `fcntl` exit events contain all the information needed, drop
`fcntl` enter events generation from all drivers, and all related
testing and parsing code.

BREAKING CHANGE: drop `fcntl` enter events generation and parsing

Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
As the `mmap`/`mmap2` exit events contain all the information needed,
drop `mmap`/`mmap2` enter events generation from all drivers, and all
related testing and parsing code.

BREAKING CHANGE: drop `mmap`/`mmap2` enter evts generation and parsing

Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
As the `munmap` exit events contain all the information needed, drop
`munmap` enter events generation from all drivers, and all related
testing and parsing code.

BREAKING CHANGE: drop `munmap` enter events generation and parsing

Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
As the `splice` exit events contain all the information needed, drop
`splice` enter events generation from all drivers, and all related
testing and parsing code.

BREAKING CHANGE: drop `splice` enter events generation and parsing

Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
As the `rename{,at,at2}` exit events contain all the information
needed, drop `rename{,at,at2}` enter events generation from all
drivers, and all related testing and parsing code.

BREAKING CHANGE: drop `rename{,at,at2}` enter evts gen and parsing

Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
As the `symlink{,at}` exit events contain all the information needed,
drop `symlink{,at}` enter events generation from all drivers, and all
related testing and parsing code.

BREAKING CHANGE: drop `symlink{,at}` enter evts generation and parsing

Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
@poiana poiana added this to the 0.22.0 milestone Sep 1, 2025
@ekoops ekoops changed the title Ekoops/drop syscall e feat!: drop some syscalls enter events gen, testing and parsing code (part 3) Sep 1, 2025
@poiana
Copy link
Copy Markdown
Contributor

poiana commented Sep 1, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ekoops

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 1, 2025

Please double check driver/SCHEMA_VERSION file. See versioning.

/hold

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.16%. Comparing base (061f5fc) to head (1b2422f).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2599      +/-   ##
==========================================
- Coverage   78.17%   78.16%   -0.01%     
==========================================
  Files         298      298              
  Lines       32087    32079       -8     
  Branches     4691     4691              
==========================================
- Hits        25083    25075       -8     
  Misses       7004     7004              
Flag Coverage Δ
libsinsp 78.16% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 1, 2025

X64 kernel testing matrix

KERNEL CMAKE-CONFIGURE KMOD BUILD KMOD SCAP-OPEN BPF-PROBE BUILD BPF-PROBE SCAP-OPEN MODERN-BPF SCAP-OPEN
amazonlinux2-4.19 🟢 🟢 🟢 🟢 🟢 🟡
amazonlinux2-5.10 🟢 🟢 🟢 🟢 🟢 🟢
amazonlinux2-5.15 🟢 🟢 🟢 🟢 🟢 🟢
amazonlinux2-5.4 🟢 🟢 🟢 🟢 🟢 🟡
amazonlinux2022-5.15 🟢 🟢 🟢 🟢 🟢 🟢
amazonlinux2023-6.1 🟢 🟢 🟢 🟢 🟢 🟢
archlinux-6.0 🟢 🟢 🟢 🟢 🟢 🟢
archlinux-6.7 🟢 🟢 🟢 🟢 🟢 🟢
centos-3.10 🟢 🟢 🟢 🟡 🟡 🟡
centos-4.18 🟢 🟢 🟢 🟢 🟢 🟢
centos-5.14 🟢 🟢 🟢 🟢 🟢 🟢
fedora-5.17 🟢 🟢 🟢 🟢 🟢 🟢
fedora-5.8 🟢 🟢 🟢 🟢 🟢 🟢
fedora-6.2 🟢 🟢 🟢 🟢 🟢 🟢
oraclelinux-3.10 🟢 🟢 🟢 🟡 🟡 🟡
oraclelinux-4.14 🟢 🟢 🟢 🟢 🟢 🟡
oraclelinux-5.15 🟢 🟢 🟢 🟢 🟢 🟢
oraclelinux-5.4 🟢 🟢 🟢 🟢 🟢 🟡
ubuntu-4.15 🟢 🟢 🟢 🟢 🟢 🟡
ubuntu-5.8 🟢 🟢 🟢 🟢 🟢 🟡
ubuntu-6.5 🟢 🟢 🟢 🟢 🟢 🟢

ARM64 kernel testing matrix

KERNEL CMAKE-CONFIGURE KMOD BUILD KMOD SCAP-OPEN BPF-PROBE BUILD BPF-PROBE SCAP-OPEN MODERN-BPF SCAP-OPEN
amazonlinux2-5.4 🟢 🟢 🟢 🟢 🟢 🟡
amazonlinux2022-5.15 🟢 🟢 🟢 🟢 🟢 🟢
fedora-6.2 🟢 🟢 🟢 🟢 🟢 🟢
oraclelinux-4.14 🟢 🟢 🟢 🟡 🟡 🟡
oraclelinux-5.15 🟢 🟢 🟢 🟢 🟢 🟢
ubuntu-6.5 🟢 🟢 🟢 🟢 🟢 🟢

@poiana poiana added the lgtm label Sep 1, 2025
@poiana
Copy link
Copy Markdown
Contributor

poiana commented Sep 1, 2025

LGTM label has been added.

DetailsGit tree hash: e52e6e2e52284237606d70143178443475b5ea18

@github-project-automation github-project-automation bot moved this from Todo to In progress in Falco Roadmap Sep 2, 2025
@ekoops ekoops merged commit ecbbadb into master Sep 2, 2025
124 of 137 checks passed
@github-project-automation github-project-automation bot moved this from In progress to Done in Falco Roadmap Sep 2, 2025
@poiana poiana deleted the ekoops/drop-syscall-e branch September 2, 2025 08:15
@leogr leogr modified the milestones: 0.22.0, 9.0.0+driver Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants