-
Notifications
You must be signed in to change notification settings - Fork 178
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
Whats the deal with the use std::
in the middle of linux_raw::io::syscalls.rs
when target_arch = "aarch64"
#323
Comments
I'm also curious; if you have Linux to make syscalls to, why do you need no_std? |
Hi! First of all I'll be happy to fix this and some other issues that I've found. I am making a shellcode debugger (: Therefore I use this library as it is minimal and does not use libc. Just in case you want some more details: With this library I am able to make a static and PIE(0 absolute calls) shellcode that can perform syscalls on different os's BTW, rustix/src/imp/linux_raw/io/syscalls.rs Line 396 in 23841ae
|
The point here is to optimize the check of the fd's in the user mode instead of performing the system call? |
arch64 and riscv64 don't have a There's also a subtlety that |
Yah! I looked it up today and saw it. Coolz |
This is now released in 0.34.7. |
I am compiling a
no_std
code using this library, it works fine withx86_64
but when I settarget_arch = "aarch64"
it fails with:rustix/src/imp/linux_raw/io/syscalls.rs
Line 396 in 23841ae
The text was updated successfully, but these errors were encountered: