eminence / procfs

Rust library for reading the Linux procfs filesystem
Other
367 stars 106 forks source link

Process: Correct AUXV to support 64bit Linux #178

Closed arilou closed 2 years ago

arilou commented 2 years ago

Signed-off-by: Jon Doron jond@wiz.io

eminence commented 2 years ago

Thanks. I'm embarrassed to say that function has been broken ever since I added it 4 years ago (307aa874720e9a0d9056ba9f015b98cec2f9336c)!

arilou commented 2 years ago

Heh no problem, thanks for merging so quickly :) I was hoping if you are willing to expose /proc/X/mem file out, so we can read/write to a process virtual memory (now that AUXV is valid it makes more sense)

What do you think?

eminence commented 2 years ago

This fix has been released in procfs v0.13.1. Note that this change is technically an API breaking change, but since this function has been broken for 4 years, I feel confident that no one was actually using it (except you 😄 ) Thanks again for the fix

arilou commented 2 years ago

That's awesome thank you!