summaryrefslogtreecommitdiff
path: root/sys/miscfs
AgeCommit message (Collapse)Author
2001-06-23Get rid of several unused vnode operationsConstantine Sapuntzakis
2001-05-24Garbage collect procfs_findtextvp().Aaron Campbell
2001-05-24Initialize p to NULL in lookup.Artur Grabowski
How this could have ever worked without this is beyond me.
2001-05-23Fix getattr and setattr.Artur Grabowski
- getattr now uses fo_stat from fileops to obtain information about the fd and translates it back to vattr. - setattr now uses getvnode to the get vnode from the fd and obeys MNT_RDONLY flag. - Do proper locking on setattr. - Don't allow setattr on directories because of possible deadlocks.
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-05-15LIST_FOREACH instead of manually doing the same thing.Artur Grabowski
2001-05-15Switch from homegrown locking of the hash to lockmgr.Artur Grabowski
2001-05-15Don't keep the reference to the root vnode all the time. Treat the root vnodeArtur Grabowski
just like all other vnodes. This removes a lot of code, simplifies unmount (which was incorrect btw.) and removes the need for our own mount structure.
2001-05-14gc OLD_PIPE.Artur Grabowski
2001-05-14More generic arguments to soo_stat.Artur Grabowski
2001-05-14More generic arguments to pipe_stat.Artur Grabowski
2001-04-13Make PROCFS compile again on non-UVM systems, deraadt@ okMiod Vallat
2001-04-09Add emulation of Linux features to procfs; mostly from NetBSD. ok deraadt@Thorsten Lockert
2001-03-15Use buf_startConstantine Sapuntzakis
2001-03-01port kqueue changes from freebsd, plus all required openbsd glue.Niels Provos
okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org
2001-02-24Cleanup of vnode interface continues. Get rid of VHOLD/HOLDRELE.Constantine Sapuntzakis
Change VM/UVM to use buf_replacevnode to change the vnode associated with a buffer. Addition v_bioflag for flags written in interrupt handlers (and read at splbio, though not strictly necessary) Add vwaitforio and use it instead of a while loop of v_numoutput. Fix race conditions when manipulation vnode free list
2001-02-23Remove the clustering fields from the vnodes and place them in theConstantine Sapuntzakis
file system inode instead
2001-02-20use void * consistently in vfs_mount and sys_mount. ok @artassar
2000-12-18calculate length and allocate buffer for status. work by deraadt@ and meNiels Provos
2000-11-16support kernel event queues, from FreeBSD by Jonathan Lemon,Niels Provos
okay art@, millert@
2000-11-15deal with stupid legacy applications that open a fifo O_RDWR. okay millert@Niels Provos
2000-08-15NUL not NULL; noted by Theo.jasoni
2000-08-15make procfs compile on non-uvm systemsEric Jackson
2000-08-12update sample directory listing.jasoni
2000-08-12document cmdline.jasoni
2000-08-12Add procfs/cmdline; to help with linux emulation.jasoni
From NetBSD.
2000-06-18fix 3des decryptionNiels Provos
2000-06-18change keysize from 8 bytes to 24 for Triple-DES and to 32 for Blowfish.Niels Provos
This probably breaks group sharing. copyin on userland pointers is required, inline key into the argument structure.
2000-06-18fix off by one error in loop, prevent that odd lengths get passed toNiels Provos
decryption function.
2000-06-17some KNFNiels Provos
2000-06-17BSD copyright + tagsNiels Provos
2000-06-17initial import of tcfs.Niels Provos
2000-03-13Get rid of leading NULs in /kern/msgbuf. If the msgbuf modified in betweenTodd C. Miller
reads at just the right time is is possible to get duplicate output but in practice this is extremely rare. Joint effort with Theo.
2000-02-22enlarge msgbuf, somewhat line netbsd didTheo de Raadt
2000-02-07update to use new checkexp vfs operationassar
1999-11-10Fix to use enoioctlConstantine Sapuntzakis
1999-10-13Don't try to call VOP_SETATTR on a pipe. From <cky@pobox.com>Artur Grabowski
1999-08-13Better fix for fdesc/procfs panic.Constantine Sapuntzakis
1999-08-13in *_readdir(), constrain uio_offset to make sure it is right; cstone@pobox.comTheo de Raadt
1999-05-31New struct statfs with mount options. NOTE: this replaces statfs(2),Todd C. Miller
fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag.
1999-04-28zap the newhashinit hack.Artur Grabowski
Add an extra flag to hashinit telling if it should wait in malloc. update all calls to hashinit.
1999-03-18Don't allow users to mount umapfs.Artur Grabowski
(only a problem when kern.usermount == 1)
1999-02-26vmtotal -> uvm_total for uvmArtur Grabowski
1999-02-26memory reads from other vmspace are different under uvmArtur Grabowski
1999-02-26cnt is called uvmexp in uvm and the members have different namesArtur Grabowski
1999-02-26compat with uvm vnode pagerArtur Grabowski
1999-02-08Don't allow open if the vnode is VBLK or VCHR and we are mounted with MNT_NODEVArtur Grabowski
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1998-12-28kernfs_sync needs to be nullop, not eopnotsupp for unmount to workTodd C. Miller
w/o MNT_FORCE.
1998-12-24in kernfs_statfs set f_flags to 0Todd C. Miller