add SetHostname functionality
authorkremlin <ian@kremlin.cc>
Fri, 8 Aug 2014 05:22:35 +0000 (00:22 -0500)
committerkremlin <ian@kremlin.cc>
Fri, 8 Aug 2014 05:22:35 +0000 (00:22 -0500)
commit3572d013e022b3361e0c6828e38474230789c136
treeadf53b782037bdb4b01165c134dd35b5dd20842f
parent3a3ab0fe910260a4abd0e84b373102fe8169d4ea
add SetHostname functionality

sethostname now works, cleans up after itself properly and
cleans/checks incoming data before trying to sethostname(3).
src/interfaces/hostnamed/hostnamed.c