| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
they cannot mount a filesystem that they cannot see in getvfsbyname().
Part 1 of this is a hack, make vfsisloadable() always return true - the
ultimate decider of whether it's loadable or not is kldload() or mount().
Part 2 of this is to have vfsload() call kldload(2) and return success if
it works. This means that we will use a viable kld module in preference
to an LKM!
Ultimately, the thing to do is remove the hacks to do a vfsload in all the
mount_* commands and let the kernel do it by itself in mount(2).
|
|
|
|
|
| |
interface from sys/mount.h to libc/getvfsent.c The new interface is
now the default.
|
|
|
|
|
|
|
|
| |
and the pre-Lite2 vfsconf interfaces.
For getvfsent.c, just define _OLD_VFSCONF. This will give the
current default macro hacks in <sys/mount.h> when the default is
reversed. This is an intermediate step.
|
|
|
|
| |
visible again, and the new vfsconf struct didn't match reality.
|
| |
|
|
|
|
| |
Detected by: phkmalloc :)
|
|
|
|
|
|
| |
- Don't allow non-root users to specify LKMDIR.
- Don't allow any users to specify TMPDIR.
- Call /sbin/modload using execl() rather than execlp().
|
| |
|
| |
|
|
|
|
|
| |
get hosed: vfsisloadable() always returns false if /dev/lkm cannot be
opened for writing.
|
|
|
|
| |
modules lying around.
|
| |
|
|
endvfsent, vfsisloadable, vfsload.
Someday these will even be documented.
|