| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
okay deraadt@, millert@
from jlemon@freebsd.org:
extend kqueue down to the device layer, backwards compatible approach
suggested by peter@freebsd.org
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
file system inode instead
|
| | |
|
| | |
|
| |
|
|
| |
okay art@, millert@
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
From NetBSD.
|
| | |
|
| |
|
|
|
| |
This probably breaks group sharing. copyin on userland pointers is required,
inline key into the argument structure.
|
| |
|
|
| |
decryption function.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
reads at just the right time is is possible to get duplicate output but
in practice this is extremely rare. Joint effort with Theo.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Add an extra flag to hashinit telling if it should wait in malloc.
update all calls to hashinit.
|
| |
|
|
| |
(only a problem when kern.usermount == 1)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
w/o MNT_FORCE.
|
| | |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
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....
|
| | |
|