kochia3

Results 6 issues of kochia3

## 💬 Questions and Help Is there instructions how can we use custom Android builds for the project? for example, how to use build from AOSP or any other custom...

How can I compile libbpf-rs based project for Android, x86_64 emulator or for arm64?

I need a kernel with specific config, is it possible to have such kernel?

Program: ```c SEC("lsm/file_open") int BPF_PROG(file_open_lsm, struct file *file, int ret) { return ret; } ``` OS: `Linux 5.15.41-android` zcat /proc/config.gz ``` CONFIG_BPF=y CONFIG_HAVE_EBPF_JIT=y CONFIG_BPF_SYSCALL=y CONFIG_BPF_JIT=y CONFIG_BPF_JIT_ALWAYS_ON=y CONFIG_BPF_JIT_DEFAULT_ON=y # CONFIG_BPF_UNPRIV_DEFAULT_OFF is...

Bit of guide to how prepare Android devices or Emulators to run an eBPF programs compiled for them would be useful due to scarcity of resources on the subject.

I'm trying to have krobe for mmap: ``` SEC("kprobe/mmap") int BPF_KPROBE(kprobe_mmap, void *addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long offset) { return...