Robustify get_raw_packet(). Error messages are now more specific, and

read() properly handles short reads and EINTR/EAGAIN/EWOULDBLOCK.
Update documentation.
This commit is contained in:
Nicholas J. Kain
2010-11-12 13:24:07 -05:00
parent 81398c79fb
commit 2262845be6
2 changed files with 65 additions and 21 deletions

2
README
View File

@@ -92,9 +92,11 @@ USAGE
# cd /var/lib/ndhc
# mkdir dev
# mknod dev/urandom c 1 9
# mknod dev/null c 1 3
# chown -R root.root dev
# chmod a+rx dev
# chmod a+r dev/urandom
# chmod a+rw dev/null
d) (optional) If you wish for logging to properly work, you
will need to properly configure your logging daemon so that it