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

Makefile shell running,with a unexcepted result: lost DKERNEL_LESS_5_2 on kernel 4.15 #129

Closed
cfc4n opened this issue Jul 8, 2022 · 0 comments · Fixed by #132
Closed
Labels
bug Something isn't working

Comments

@cfc4n
Copy link
Member

cfc4n commented Jul 8, 2022

Describe the bug
Makefile shell running,with a unexcepted result, Complition params without DKERNEL_LESS_5_2 due $(HIGHER_VERSION) value was -e 4.15.0-159-generic ,not 5.2.0 .

bash_2022/07/08 20:00:41 couldn't init manager error:map .rodata: map create: read- and write-only maps not supported (requires >= v5.2) , couldn't load eBPF programs, cs:&{map[.rodata:Array(keySize=4, valueSize=20, maxEntries=1, flags=128) >events:PerfEventArray(keySize=0, valueSize=0, maxEntries=0, flags=0) events_t:Hash(keySize=4, valueSize=284, maxEntries=1024, flags=0)] map[uretprobe_bash_readline:0xc000134000 uretprobe_bash_retval:0xc0001340a0] 0xc000403440 LittleEndian}

To Reproduce
Steps to reproduce the behavior:

  1. make nocore
  2. bin/ecapture bash

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Linux Server/Android (please complete the following information):

  • OS: Linux VM-0-12-ubuntu 4.15.0-159-generic How to compile the Android version? #167-Ubuntu SMP Tue Sep 21 08:55:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • Arch: x86_64
  • Kernel Version: 4.15.0
  • Version: v0.2.1
  • Shell: bash version 4.4.20(1)-release (x86_64-pc-linux-gnu)

Additional context

Should change SHELL to /bin/bash in Makefile line 9

@cfc4n cfc4n added the bug Something isn't working label Jul 8, 2022
cfc4n added a commit that referenced this issue Jul 8, 2022
…S_5_2 on kernel 4.15 #129

support 4.15+

Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
@cfc4n cfc4n closed this as completed in #132 Jul 8, 2022
cfc4n added a commit that referenced this issue Jul 8, 2022
* : Makefile shell running,with a unexcepted result: lost DKERNEL_LESS_5_2 on kernel 4.15 #129
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant