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)
commit5b70f403d2cfb721bb59bbbc4e42d65c251c9b22
treeadf53b782037bdb4b01165c134dd35b5dd20842f
parentd26b0b64ec518df3c22ddf7a69e1285c983a42fc
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