lunixbochs / lib43

portable libc optimized for code size and readability
MIT License
80 stars 6 forks source link

darwin x86_64 syscall numbering is incomplete #21

Open lunixbochs opened 8 years ago

lunixbochs commented 8 years ago

the constants have (2 << 24) blindly added, which is only valid for unix (not mach, etc)

see https://github.com/lunixbochs/usercorn/issues/91

tmcarthur commented 8 years ago

Right. Are you thinking using an enum to specify this behavior and just use it to repress possible bit shift values?