NetBSD/sys/miscfs/genfs
yamt 61d5d4362b fix a bug of lfs.
genfs_getpages() can read in more blocks than it should due to faked filesize
of lfs_gop_size().  it's a security problem and it makes gcc3 "internal error"

to fix this,
- in genfs_getpages(), always calculate diskeof and memeof separately
  so that filesystems (in this case, lfs) can use different strategies
  for them.
- introduce GOP_SIZE_MEM flag and use it to request in-core filesize.
  (it was an intention of GOP_SIZE_READ,
  but after the above change _READ is not a straightforward name)

after this, no one uses GOP_SIZE_{READ,WRITE} anymore but leave them for now.
2003-09-24 10:22:53 +00:00
..
Makefile a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00
genfs.h use former genfs_eopnotsupp_rele() as genfs_eopnotsupp(), so that vnodes 2003-04-10 21:53:32 +00:00
genfs_node.h fix a bug of lfs. 2003-09-24 10:22:53 +00:00
genfs_vnops.c fix a bug of lfs. 2003-09-24 10:22:53 +00:00
layer.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
layer_extern.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
layer_subr.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
layer_vfsops.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
layer_vnops.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00