diff options
author | archie <archie@FreeBSD.org> | 2000-06-29 17:57:04 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-06-29 17:57:04 +0000 |
commit | 0e6c8a1f1b5b88304acc6fb5ca49cd82b9372dbb (patch) | |
tree | e1d0482a4b78d57d4926a5ec74aad86179811959 /sys/modules/if_tun | |
parent | 32a6eb4143857bbc839f3923272c0a7469e5ff68 (diff) | |
download | FreeBSD-src-0e6c8a1f1b5b88304acc6fb5ca49cd82b9372dbb.zip FreeBSD-src-0e6c8a1f1b5b88304acc6fb5ca49cd82b9372dbb.tar.gz |
Move the securelevel check before loading KLD's into linker_load_file(),
instead of requiring every caller of linker_load_file() to perform the
check itself. This avoids netgraph loading KLD's when securelevel > 0,
not to mention any future code that may call linker_load_file().
Reviewed by: dfr
Diffstat (limited to 'sys/modules/if_tun')
0 files changed, 0 insertions, 0 deletions