Closed ali-zohrevand closed 10 years ago
Hello,
As I said before, your question is about https://github.com/android-rooting-tools/libperf_event_exploit
Please ask there.
so why you Subtract it from PERF_SWEVENT_MAX_FILE?
This is wrong. You need to learn C language first anyway.
hi my friend ...i know but there is no issue section in this link https://github.com/android-rooting-tools/libperf_event_exploit i must ask my question in "Pull Requests" section???? ...................................... value is address of this function ....... void obtain_root_privilege(void) { commit_creds(prepare_kernel_cred(0)); } ...... am i right? what is relation between the address of this function and PERF_SWEVENT_MAX_FILE ? p.s: i know c language my friend .. but for sure i must upgrade my information every day thanks sorry if wrote my question in wrong section
I hi my friend ...i know but there is no issue section in this link https://github.com/android-rooting-tools/libperf_event_exploit
Sorry for that. I just opened the issue section there.
i know c language my friend .. but for sure i must upgrade my information every day
Please upgrade your knowledge about C language before opening issue there. Your question is not related to the exploit.
hi a gain ... :)) in line 164 in perf_event.c we have a while ... why you choose minimum of (value, PERF_SWEVENT_MAX_FILE)? and then you value -= PERF_SWEVENT_MAX_FILE every time? value is the address of commit_creds(prepare_kernel_cred(0)) .right? so why you Subtract it from PERF_SWEVENT_MAX_FILE? thanks a lot for helping