-
- Downloads
Auto merge of #599 - xd009642:master, r=alexcrichton
Adding missing structs from linux/user.h Adding structs from linux/user.h (or sys/user.h depending on OS version). This adds the linux user_regs_struct and user struct from sys/user.h into libc for x86 and x86_64. Also, bumping the version number. As an aside, I was wondering if this was also the right place to add the bit offsets for the [EFLAGS register ](https://en.wikibooks.org/wiki/X86_Assembly/X86_Architecture#EFLAGS_Register)? These aren't defined anywhere in the linux system libraries instead the definition seems to just be in the x86 and x86_64 documentation but they are useful for anyone looking to interpret eflags. If libc is the right place for these constants I'd like the opportunity to add them before it's merged in. :)
No related branches found
No related tags found
Showing
- Cargo.lock 3 additions, 3 deletionsCargo.lock
- libc-test/build.rs 1 addition, 0 deletionslibc-test/build.rs
- src/unix/notbsd/linux/other/b32/x86.rs 65 additions, 0 deletionssrc/unix/notbsd/linux/other/b32/x86.rs
- src/unix/notbsd/linux/other/b64/x86_64.rs 62 additions, 0 deletionssrc/unix/notbsd/linux/other/b64/x86_64.rs
Loading
Please register or sign in to comment