Skip to content

Conversation

@kernel-patches-daemon-bpf-rc
Copy link

Pull request for series with
subject: bpftool: Refactor config parsing and add CET symbol matching
version: 7
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=995010

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 4223bf8
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995010
version: 7

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 4223bf8
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995010
version: 7

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 4223bf8
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995010
version: 7

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: f4c227c
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995010
version: 7

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: d0f27ff
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995010
version: 7

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 2465bb8
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995010
version: 7

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 2660b9d
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995010
version: 7

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: d3abefe
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995010
version: 7

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 4c229f3
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995010
version: 7

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: bd27626
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995010
version: 7

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 737433c
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995010
version: 7

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 98857d1
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995010
version: 7

Extract the kernel configuration file parsing logic from feature.c into
a new read_kernel_config() function in common.c. This includes:

1. Moving the config file handling and option parsing code
2. Adding required headers and struct definition
3. Keeping all existing functionality

The refactoring enables sharing this logic with other components while
maintaining current behavior. This will be used by subsequent patches
that need to check kernel config options.

Signed-off-by: Yuan Chen <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Adjust symbol matching logic to account for Control-flow Enforcement
Technology (CET) on x86_64 systems. CET prefixes functions with
a 4-byte 'endbr' instruction, shifting the actual hook entry point to
symbol + 4.

Signed-off-by: Yuan Chen <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants