My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 127: errors returned from kernel not the same in userspace
1 person starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  mkati...@gmail.com


 
Project Member Reported by sandeepksinha, Aug 9, 2009
Hi Manish,

All the predefined system errors from kernel are returned by ioctl() as -1.

For example, when we try to re-enable OHSM on an already enabled system. It
returns -EEXIST, the message gets printed in dmesg. 
ret = ioctl (IOC_ENABLE_OHSM....)

ret comes out to be -1.



Powered by Google Project Hosting