News for hackers. Stuff that matters.
Re:Anatomy of a system call, part 1 by barrkel on Friday July 18, 2014 @06:27AM (#8052378)
Using the high bit to indicate an error result isn't unknown on other OSes either - see NTSTATUS on Windows, and HRESULT in COM.
Re:Anatomy of a system call, part 1 by lelf on Friday July 18, 2014 @08:28AM (#8052623)
This has nothing to do neither with high bit nor with NTSTATUS. For Linux, some values are errors, all others are normal results. lseek cannot return large value for example. At all.