Commit Graph

3 Commits

Author SHA1 Message Date
sin
e4fa3f5c59 Don't leak `buf' if realloc fails
Not an issue in ubase but someone might want to re-use this
function elsewhere.
2014-04-17 16:27:06 +01:00
sin
3803adfd7e Don't hardcode the buffer size in sysctl 2014-04-17 16:21:55 +01:00
sin
8b32decb6f Add initial implementation of sysctl(8)
Needs a bit of cleanup (avoiding magic numbers etc.).
2014-04-17 15:31:42 +01:00