freebsd-dev/sys/compat
Konstantin Belousov e225428f27 In linuxolator getdents_common(), it seems there is no reason to loop
if no records where returned by VOP_READDIR(). Readdir implementations
allowed to return 0 records when first record is larger then supplied
buffer. In this case trying to execute VOP_READDIR() again causes the
syscall looping forewer.

The goto was there from the day 1, which goes back to 1995 year.

Reported and tested by:	Beat G?tzi <beat chruetertee ch>
MFC after:   2 weeks
2011-01-19 12:19:25 +00:00
..
freebsd32 Create shared (readonly) page. Each ABI may specify the use of page by 2011-01-08 16:13:44 +00:00
ia32 Create shared (readonly) page. Each ABI may specify the use of page by 2011-01-08 16:13:44 +00:00
linprocfs Break long line. 2010-11-08 15:14:14 +00:00
linsysfs Remove no-op assignment. 2010-11-15 23:14:14 +00:00
linux In linuxolator getdents_common(), it seems there is no reason to loop 2011-01-19 12:19:25 +00:00
ndis Fix a few more SYSCTL_PROC() that were missing a CTLFLAG type specifier. 2011-01-19 00:57:58 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
svr4 Add macro DECLARE_MODULE_TIED to denote a module as requiring the 2010-10-12 09:18:17 +00:00
x86bios Prefer pmap_unmapbios() over pmap_unmapdev(). The binary does not change 2010-10-05 18:38:23 +00:00