<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/boot/common/module.c, branch release/5.2.1</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F5.2.1</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F5.2.1'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2003-08-25T23:30:41Z</updated>
<entry>
<title>Use __FBSDID().</title>
<updated>2003-08-25T23:30:41Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-08-25T23:30:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1809be3cd462d071c04e67a2648af4ed71925153'/>
<id>urn:sha1:1809be3cd462d071c04e67a2648af4ed71925153</id>
<content type='text'>
Also some minor style cleanups.
</content>
</entry>
<entry>
<title>FreeBSD 5.0 has stopped shipping /modules 2.5 years ago.  Catch</title>
<updated>2003-03-03T22:53:35Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2003-03-03T22:53:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6de61153e88b93085e560cdafba29935e9d5c8a5'/>
<id>urn:sha1:6de61153e88b93085e560cdafba29935e9d5c8a5</id>
<content type='text'>
up with this further by excluding /modules from the (default)
kern.module_path.
</content>
</entry>
<entry>
<title>Bandaid for a buffer overrun in the module searching code.  When breaking</title>
<updated>2002-04-11T10:00:44Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2002-04-11T10:00:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=31c41f1b1ed0fb9c6d469d084f680bf34ee3ab0e'/>
<id>urn:sha1:31c41f1b1ed0fb9c6d469d084f680bf34ee3ab0e</id>
<content type='text'>
up the module_path string, we would walk one past the end of the buffer.
This hurting ia64 originally, but it was probably also happening on i386
occasionally as well.  The effects were usually harmless, it would add
bogus "binary" search directories to the places it actually looked for
files.
</content>
</entry>
<entry>
<title>Fix a number of misspellings of "dependency" and "dependencies" in</title>
<updated>2001-11-16T21:08:40Z</updated>
<author>
<name>Ian Dowse</name>
<email>iedowse@FreeBSD.org</email>
</author>
<published>2001-11-16T21:08:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7b9716bad2dfb6a96487470ef002ead85c17a464'/>
<id>urn:sha1:7b9716bad2dfb6a96487470ef002ead85c17a464</id>
<content type='text'>
comments and function names.

PR:		kern/8589
Submitted by:	Rajesh Vaidheeswarran &lt;rv@fore.com&gt;
</content>
</entry>
<entry>
<title>Implement the long-awaited module-&gt;file cache database.  A userland</title>
<updated>2001-09-11T01:09:24Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2001-09-11T01:09:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=505222d35fea6a81779095049a6e87ddb6d78db4'/>
<id>urn:sha1:505222d35fea6a81779095049a6e87ddb6d78db4</id>
<content type='text'>
tool (kldxref(8)) keeps a cache of what modules and versions are inside
what .ko files.  I have tested this on both Alpha and i386.

Submitted by:	bp
</content>
</entry>
<entry>
<title>Fix a minor style bug in the last commit.</title>
<updated>2001-06-10T11:15:37Z</updated>
<author>
<name>Jesper Skriver</name>
<email>jesper@FreeBSD.org</email>
</author>
<published>2001-06-10T11:15:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=48e312be9090ab544988ed2e629159166636642d'/>
<id>urn:sha1:48e312be9090ab544988ed2e629159166636642d</id>
<content type='text'>
Submitted by:	Adrian Steinmann &lt;ast@marabu.ch&gt;
MFC after:	2 days
</content>
</entry>
<entry>
<title>In sys/boot/common/module.c, near line 105 a request for a raw</title>
<updated>2001-05-27T23:26:11Z</updated>
<author>
<name>Jesper Skriver</name>
<email>jesper@FreeBSD.org</email>
</author>
<published>2001-05-27T23:26:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=961c53b8e4d319f0c731e0ea48def2b88556d1b7'/>
<id>urn:sha1:961c53b8e4d319f0c731e0ea48def2b88556d1b7</id>
<content type='text'>
file is processed by passing its name in argv[1]:
        return(mod_loadobj(typestr, argv[1]));
however, it is not tested to see if argv[1] actually is defined.

At best, mod_loadobj() near line 244 returns an error like
"can't find 'garbage'" but if the "filename" entered is sufficiently
long, some buffer gets overrun. Of course, "load -t filename" is
actually a typo because we meant to type "load -t mfs_root filename";
nevertheless, a hung machine seems like too harsh a punishment for
such a small typo...

PR:			i386/27693
Submitted by:	Adrian Steinmann &lt;ast@marabu.ch&gt;
MFC after:	1 week
</content>
</entry>
<entry>
<title>The default search path for kernel and modules was bogus. It makes no</title>
<updated>2000-09-16T19:59:41Z</updated>
<author>
<name>Daniel C. Sobral</name>
<email>dcs@FreeBSD.org</email>
</author>
<published>2000-09-16T19:59:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c888e59b8470987f23c7c16b968e5490bf585cb1'/>
<id>urn:sha1:c888e59b8470987f23c7c16b968e5490bf585cb1</id>
<content type='text'>
sense for /boot/kernel to come last.
</content>
</entry>
<entry>
<title>Fix autoboot. Now autoboot *always* show the correct kernel name. It</title>
<updated>2000-09-08T16:47:05Z</updated>
<author>
<name>Daniel C. Sobral</name>
<email>dcs@FreeBSD.org</email>
</author>
<published>2000-09-08T16:47:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=59549c503149ca0560985cef17d1476895774eee'/>
<id>urn:sha1:59549c503149ca0560985cef17d1476895774eee</id>
<content type='text'>
gets the name from the environment variable kernelname, which is set
when a kernel is loaded. For this reason, autoboot will _first_ try
to load a kernel, and only proceed with the wait prompt after that
succeeds. If it fails, it will abort immediately.

While I understand some may think this behavior undesirable, I think
it is, overall, the best thing to do, even if we do not consider the
aesthetic issue. Notice that anyone using the default loader.rc
already has the kernel loaded before autoboot.

On unload, unset kernelname.

Separate the code that tries to load a kernel from the list of options
to the function loadakernel(). It is used by both boot() and
autoboot().
</content>
</entry>
<entry>
<title>The kernel is now known as `kernel.ko' and it and its matching modules</title>
<updated>2000-09-05T22:37:46Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2000-09-05T22:37:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3bdfa9e589b3febf74898a7caeb0a4dda6629777'/>
<id>urn:sha1:3bdfa9e589b3febf74898a7caeb0a4dda6629777</id>
<content type='text'>
live in ``/boot/kernel/''.
</content>
</entry>
</feed>
