summaryrefslogtreecommitdiff
path: root/sys/miscfs
AgeCommit message (Collapse)Author
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
1998-11-13When vclean calls VOP_LOCK (dead_lock in this case) it has already setArtur Grabowski
the VXLOCK flag. Calling chkvnlock in that case causes a deadlock. XXX note that only vclean passes LK_DRAIN to VOP_LOCK and don't call chkvnlock XXX in that case.
1998-08-30OK, this is another fix for the infamous i386 "PTDI panic". This fix is thePer Fogelstrom
same as is used in 'vslock()'. The situation when this occurs is when a process tries to read or write to another process vm space and the _segment_ referenced have not yet been mapped. A certain way of crashing a system is to debug a program larger than 4 Mb (yes, those critters exist!). Set a break in an address above 4 Mb and pmap_enter panics because it can't fault in a new ptd page since it is not the process itself that calls pmap_enter. This is a fix, not a solution, but at least a user can't crash the kernel.
1998-08-18indent # properly; garnett@bogus.cs.colorado.eduTheo de Raadt
1998-08-06Null mounts must be from directoriesConstantine Sapuntzakis
1998-08-06Fix the typos that prevented umap from working. They, of course, leadConstantine Sapuntzakis
to the obvious question: don't you run this stuff before you check it in? Sadly, the answer was no in this case. But, I'm trying to learn. Slowly, painfully....
1998-08-06Don't pass vclean related stuff to the lower vnode. It makes it very unhappy.Constantine Sapuntzakis
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-13Fix locking discipline snafu with UNIONFS. Thanks to Don Schmid ↵Constantine Sapuntzakis
(yensid@imsa.edu) for the original fix and Todd Miller.
1998-06-27securelevels do NOT protect running binaries; only filesystem activityTheo de Raadt
1998-06-11return EOPNOTSUPP for chflags() changes; peter@freebsdTheo de Raadt
1998-06-09do not permit ptrace attach to immutable executableTheo de Raadt
1998-03-01Use __alpha__ and __mips__ instead of alpha & arcNiklas Hallqvist
1998-03-01mips and alpha GCC does not unwind the stack beyond the current frameNiklas Hallqvist
1998-02-23Please GCC 2.8 -Wall + some KNFNiklas Hallqvist
1998-02-08Updates to match type changes in syscall tablesThorsten Lockert
1997-12-30fix a nasty code typo; rotel@indigo.ieTheo de Raadt
1997-12-28I should be more careful about what I check in. Undo earlier commenting-outConstantine Sapuntzakis
of security check. Restricted access to /dev/memat higher secure levels now enabled.
1997-12-27Fixed null_inactie so it odes the right thing.Constantine Sapuntzakis
1997-11-06Removed i386-specific crudConstantine Sapuntzakis
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-09-11Fix {KERNFS,NULLFS,UMAPFS,UNION}_DIAGNOSTIC kernel compilation errors.Todd C. Miller
From Alan Barrett <apb@iafrica.com> with some changes.
1997-08-29From NetBSD (thorpej):Todd C. Miller
Fix a reversed argument which caused procfs_checkioperm() to always return OK". Add a few comments to avoid further confusion.