plan9fox/sys
cinap_lenrek 8b57e59ea9 libc: check name in getvent()/putenv()
passing "", "." or ".." as name caused a crash in
getenv() as it would open the directory; then seek()
to determine the file size would fail and return -1.

now checking for these special names and set
error string when its bad.

doing a single read() will not work when /env has a
9p fileserver mounted onto it and the file size is bigger
than the i/o unit. so doing incremental reads until
we get eof.
2015-02-11 23:54:28 +01:00
..
doc
games/lib fortunes: The NTP codebase is larger than the SSH codebase. 2015-02-02 21:30:07 -05:00
include bio: add Bfdopen() from plan9port 2014-12-14 20:21:42 +01:00
lib added games/c64 2015-02-07 18:03:17 +01:00
man fplot: add modulus % operator 2015-02-05 19:55:46 +01:00
src libc: check name in getvent()/putenv() 2015-02-11 23:54:28 +01:00