Page 1 of 1

sysctl conformance in return values

PostPosted: Sat Aug 05, 2006 8:25 pm
by SpanKY
there is no documented spec afaik when it comes to the sysctl() syscall function other than like the source ... but the current code and LTP stuff does not recognize EACCES as a valid return value

kernel/sysctl.c:parse_table()
if (!gr_handle_sysctl(table, oldval, newval))
return -EACCES;

perhaps that should be:
return -EPERM