eminence / procfs

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

Android: `Iterator::next` for `FDsIter` fails with `bad system call` #203

Open niyaznigmatullin opened 2 years ago

niyaznigmatullin commented 2 years ago

procfs::process::Process::myself().unwrap().fd().unwrap().next() fails with signal: 31, SIGSYS: bad system call in Android

eminence commented 2 years ago

Thanks for the report. What version of procfs?

niyaznigmatullin commented 2 years ago

0.14.1

tatref commented 1 year ago

Some code was changed as part of #265

Can you test again? Can you provide the version of the Linux kernel you used on Android?