Bug 23350

Summary: securelevel poorly documented about module loading
Product: Documentation Reporter: gordont <gordont>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description gordont 2000-12-07 10:00:01 UTC
While running in securelevel 2, I tried to load a kernel screensaver module
and was met with an operation not permitted. It took me a minute but I'm
assuming that with securelevel 1 disallowing writing to /dev/kmem I cannot
load modules. I was thinking it might be nice to make that more obvious in
the init(8) manpage.

Fix: 

Document the fact that securelevel >= 1 disallows module loading more
explicitly.
How-To-Repeat: 
sysctl -w kern.securelevel=1
kldload green_saver
Comment 1 ben freebsd_committer freebsd_triage 2000-12-07 21:08:48 UTC
State Changed
From-To: open->closed

Committed, thanks!