-
Notifications
You must be signed in to change notification settings - Fork 5
bpftool: Refactor config parsing and add CET symbol matching #5753
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
bpftool: Refactor config parsing and add CET symbol matching #5753
Conversation
|
Upstream branch: 0786654 |
5e1a4c1 to
91606c1
Compare
|
Upstream branch: dc0fe95 |
0ae9d7f to
bdd3a46
Compare
91606c1 to
9e5d665
Compare
|
Upstream branch: c80d797 |
bdd3a46 to
197e776
Compare
9e5d665 to
f86fd37
Compare
|
Upstream branch: abdaf49 |
197e776 to
8ce1ac7
Compare
f86fd37 to
2842450
Compare
|
Upstream branch: 3ec8560 |
8ce1ac7 to
d295503
Compare
2842450 to
53b8665
Compare
|
Upstream branch: 1274163 |
d295503 to
7787ed4
Compare
53b8665 to
26f4a08
Compare
|
Upstream branch: d87fdb1 |
7787ed4 to
31b1f81
Compare
26f4a08 to
032ad98
Compare
|
Upstream branch: dbe99ea |
31b1f81 to
ead0252
Compare
032ad98 to
728c457
Compare
|
Upstream branch: 6850a33 |
ead0252 to
8071c1a
Compare
728c457 to
a5fe106
Compare
|
Upstream branch: dbe99ea |
8071c1a to
c8bb2f5
Compare
a5fe106 to
34c4028
Compare
|
Upstream branch: 5c42715 |
c8bb2f5 to
187d6fe
Compare
34c4028 to
2ef6166
Compare
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]>
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]>
|
Upstream branch: bf7a6a6 |
187d6fe to
2ff66d1
Compare
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=991766 expired. Closing PR. |
Pull request for series with
subject: bpftool: Refactor config parsing and add CET symbol matching
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=991766