Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107065170
D42530.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
398 B
Referenced Files
None
Subscribers
None
D42530.diff
View Options
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -1862,6 +1862,9 @@
sx_xlock(&kld_sx);
TAILQ_FOREACH_SAFE(lf, &linker_files, link, nlf) {
+ if (lf == linker_kernel_file)
+ continue;
+
/*
* If all of the modules in this file failed to load, unload
* the file and return an error of ENOEXEC. (Parity with
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 1:45 PM (14 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15743106
Default Alt Text
D42530.diff (398 B)
Attached To
Mode
D42530: kern linker: Do not try to unload kernel
Attached
Detach File
Event Timeline
Log In to Comment