diff options
author | kib <kib@FreeBSD.org> | 2011-01-20 09:39:16 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-01-20 09:39:16 +0000 |
commit | 5c60dad7720489b9c6e0f8bab13349d156d97cd9 (patch) | |
tree | 9bdb53da252c17741e9eee12defafe37d5bb0543 /sys/netinet/tcp.h | |
parent | a55d6f1de501912c63ec170b22690d2531f494bf (diff) | |
download | FreeBSD-src-5c60dad7720489b9c6e0f8bab13349d156d97cd9.zip FreeBSD-src-5c60dad7720489b9c6e0f8bab13349d156d97cd9.tar.gz |
In tmpfs_readdir(), normalize handling of the directory entries that
either overflow the supplied buffer, or cause uiomove fail.
Do not advance cached de when directory entry was not copied out.
Do not return EOF when no entries could be copied due to first entry
too large for supplied buffer, signal EINVAL instead.
Reported by: Beat G?tzi <beat chruetertee ch>
MFC after: 1 week
Diffstat (limited to 'sys/netinet/tcp.h')
0 files changed, 0 insertions, 0 deletions