Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable driver creation for kernel 6.11 #144

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

iurly
Copy link
Contributor

@iurly iurly commented Aug 13, 2024

Ubuntu noble started featuring kernel 6.11.0-1001-oem which has the following issues:

a) legacy eBPF

In file included from /code/sysdig-rw/bpf/probe.c:27: /code/sysdig-rw/bpf/fillers.h:2871:22: error: no member named '__i_ctime' in 'struct inode'
time = _READ(inode->__i_ctime);
~~~~~ ^
/code/sysdig-rw/bpf/plumbing_helpers.h:22:51: note: expanded from macro '_READ'
bpf_probe_read_kernel(&_val, sizeof(_val), &P); \

which then causes other cascading errors
Notice how as today, this issue has not been fixed

b) kmod

/code/sysdig-rw/main.c: In function 'drop_nostate_event': /code/sysdig-rw/main.c:1660:22: error: implicit declaration of function 'fd_is_open'; did you mean 'finish_open'? [-Werror=implicit-function-declaration]
1660 | !fd_is_open(close_fd, fdt)
| ^~~~~~~~~~
| finish_open

This issue has been fixed starting with 13.3.2.

Ubuntu noble started featuring kernel 6.11.0-1001-oem which
has the following issues:

a) legacy eBPF

In file included from /code/sysdig-rw/bpf/probe.c:27:
/code/sysdig-rw/bpf/fillers.h:2871:22: error: no member named '__i_ctime' in 'struct inode'
        time = _READ(inode->__i_ctime);
                     ~~~~~  ^
/code/sysdig-rw/bpf/plumbing_helpers.h:22:51: note: expanded from macro '_READ'
                    bpf_probe_read_kernel(&_val, sizeof(_val), &P);     \

which then causes other cascading errors
Notice how as today, this issue has not been fixed

b) kmod

/code/sysdig-rw/main.c: In function 'drop_nostate_event':
/code/sysdig-rw/main.c:1660:22: error: implicit declaration of function 'fd_is_open'; did you mean 'finish_open'? [-Werror=implicit-function-declaration]
 1660 |                     !fd_is_open(close_fd, fdt)
      |                      ^~~~~~~~~~
      |                      finish_open

This issue has been fixed starting with 13.3.2.
mavimo
mavimo previously approved these changes Aug 13, 2024
@iurly iurly merged commit 6e6f3c9 into dev Aug 13, 2024
1 check passed
@iurly iurly deleted the disable-driver-creation-for-kernel-6.11 branch August 13, 2024 15:41
iurly added a commit that referenced this pull request Sep 18, 2024
Follow up on #144, extending the exclusion to 13.4.1.
mavimo pushed a commit that referenced this pull request Sep 18, 2024
Follow up on #144, extending the exclusion to 13.4.1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants