new: Support for memfd_create syscall - #1127
Conversation
Signed-off-by: Rohith Raju <rohithraju488@gmail.com>
|
Welcome @Rohith-Raju! It looks like this is your first PR to falcosecurity/libs 🎉 |
|
Please double check driver/SCHEMA_VERSION file. See versioning. |
Signed-off-by: Rohith Raju <rohithraju488@gmail.com>
|
Thank you for this PR! Since we are in feature freeze for the next libs tag (for Falco 0.35), i will put this in the next milestone. |
Signed-off-by: Rohith Raju <rohithraju488@gmail.com>
Andreagit97
left a comment
There was a problem hiding this comment.
Left a first pass of comments, amazing job, thank you!
|
TODO for ourselves: either here or in another PR we should update |
Signed-off-by: Rohith Raju <rohithraju488@gmail.com>
|
@Andreagit97 @hbrueckner @jasondellaluce, |
Signed-off-by: Rohith Raju <rohithraju488@gmail.com>
Signed-off-by: Rohith Raju <rohithraju488@gmail.com>
|
ok so probably we need 2 fixes:
#ifdef __NR_io_memfd_create
#include <uapi/linux/memfd.h>
#endif |
Signed-off-by: Rohith Raju <rohithraju488@gmail.com>
@Andreagit97 I tried doing this, same weird problem mentioned above, either way, let me give it a try!! |
Signed-off-by: Rohith Raju <rohithraju488@gmail.com>
Signed-off-by: Rohith Raju <rohithraju488@gmail.com>
|
@Andreagit97 So here is what's happening:
If we do this our tests will fail (current patch) : https://app.circleci.com/pipelines/github/falcosecurity/libs/1233/workflows/80868ad6-6b6e-4e2c-b09d-c27379843619/jobs/3425?invite=true#step-105-221 if we just include Our tests won't fail anymore. But the |
Signed-off-by: Rohith Raju <rohithraju488@gmail.com>
|
uhh I got it, the actual header in |
Signed-off-by: Rohith Raju <rohithraju488@gmail.com>
|
LGTM label has been added. DetailsGit tree hash: c67e33b791d5b97c5332f450316265c96c161656 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Andreagit97, FedeDP, Rohith-Raju The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/milestone 5.1.0+driver |
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area driver-kmod
/area driver-bpf
/area driver-modern-bpf
/area libscap
/area tests
Does this PR require a change in the driver versions?
/version driver-SCHEMA-version-minor
What this PR does / why we need it:
This PR adds support to
memfd_createsyscallWhich issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: