summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_vnops.c
AgeCommit message (Collapse)Author
1998-08-06Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlockConstantine Sapuntzakis
to be vop_generic_revoke, vop_generic_bwrite, vop_generic_islocked, vop_generic_lock and vop_generic_unlock. Create vop_generic_abortop and propogate change to all file systems. Fix PR/371. Get rid of locking in NULLFS (should be mostly unnecessary now except for forced unmounts).
1998-07-28Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned ↵Todd C. Miller
(size_t) and don't return EINVAL if it is < 0 in sys_{read,write}. Remove check for uio_resid < 0 uiomove() now that uio_resid is unsigned and brack remaining panics with #ifdef DIAGNOSTIC. vn_rdwr() must now take a size_t * as its 9th argument so change that and clean up uses of vn_rdwr(). Fixes 549 + more
1998-01-15Re-enabled write protection on read-only file system mounts. Thanks toConstantine Sapuntzakis
Niels for pointing this one out.
1998-01-09Get rid of dumping across symlinks. Races can cause this to be problematicConstantine Sapuntzakis
from a security standpoint (i.e. arbitrary files on the FS can be wiped out).
1997-12-10extra ()Theo de Raadt
1997-12-10Remove special case for O_TRUNC that is irelevant now thatTodd C. Miller
we disallow O_TRUNC with O_RDONLY.
1997-12-10try again; proactively check that O_TRUNC has FWRITETheo de Raadt
1997-12-10only permit O_TRUNC if FWRITE is set; chatted about by millert and myself ↵Theo de Raadt
for nearly an hour
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-24prevent open() with wrong flagsTheo de Raadt
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-08-04let us all try this for a while, and argue amongst ourselves.Theo de Raadt
make a read(2) on an open'd directory return 0 bytes. always.
1997-07-15cannot do this; flipk has found test cases where this failsTheo de Raadt
1997-07-11Do not force FOLLOW (to follow symbolic links) when creating new filesThorsten Lockert
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt