Posted Feb 24, 2010 19:50 UTC (Wed) by nevets (subscriber, #11875)
Parent article: Extended error reporting
What about adding a char array to the task_struct that any syscall fucntion could write to. Then add another syscall that lets the user access this string.
This may be the easiest way to handle such a thing. It does not break any POSIX compliance, but allows new applications to test if this syscall exists, and if so, after a failure of another syscall, it can query more information about what happened.