<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/boot/common/module.c, branch release/9.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2011-04-04T16:59:46Z</updated>
<entry>
<title>Fix a long standing bug where file_load() passes down the global loadaddr</title>
<updated>2011-04-04T16:59:46Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2011-04-04T16:59:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0a215cf2d80bf9f44d5e01266de38c26df071b7a'/>
<id>urn:sha1:0a215cf2d80bf9f44d5e01266de38c26df071b7a</id>
<content type='text'>
to the l_load() method in the file_formats structure, while being passed
an address as an argument (dest). With file_load() calling arch_loadaddr()
now, this bug is a little bit more significant.

Spotted by: nyan@ (nice catch!)
</content>
</entry>
<entry>
<title>Add 2 new archsw interfaces:</title>
<updated>2011-04-03T22:31:51Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2011-04-03T22:31:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0cca5d3d9051161e8f90ac65f731b7e57826bc67'/>
<id>urn:sha1:0cca5d3d9051161e8f90ac65f731b7e57826bc67</id>
<content type='text'>
1.  arch_loadaddr - used by platform code to adjust the address at which
    the object gets loaded. Implement PC98 using this new interface instead
    of using conditional compilation. For ELF objects the ELF header is
    passed as the data pointer. For raw files it's the filename. Note that
    ELF objects are first considered as raw files.
2.  arch_loadseg - used by platform code to keep track of actual segments,
    so that (instruction) caches can be flushed or translations can be
    created. Both the ELF header as well as the program header are passed
    to allow platform code to treat the kernel proper differently from any
    additional modules and to have all the relevant details of the loaded
    segment (e.g. protection).
</content>
</entry>
<entry>
<title>Formatting nit</title>
<updated>2010-05-10T18:23:00Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2010-05-10T18:23:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=950449cc285c72937c2baf5e05d7434cea4a25a6'/>
<id>urn:sha1:950449cc285c72937c2baf5e05d7434cea4a25a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't use 15M-16M area on pc98.  It's reserved for some devices.</title>
<updated>2009-12-31T12:17:38Z</updated>
<author>
<name>Yoshihiro Takahashi</name>
<email>nyan@FreeBSD.org</email>
</author>
<published>2009-12-31T12:17:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5c44b2a6b34181cc4d11c6a349bbdad17d974439'/>
<id>urn:sha1:5c44b2a6b34181cc4d11c6a349bbdad17d974439</id>
<content type='text'>
MFC after:	2 week
</content>
</entry>
<entry>
<title>Add a helper function for loading geli keys from the loader.</title>
<updated>2009-02-16T02:42:17Z</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2009-02-16T02:42:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d842ade9a4f9fff680c8ccd906e43886dc7b6b9a'/>
<id>urn:sha1:d842ade9a4f9fff680c8ccd906e43886dc7b6b9a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Also boot *.debug if everything else fails.</title>
<updated>2007-10-04T18:29:52Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2007-10-04T18:29:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fb6e00667ccbf73abfba40e4cb4e75391edecc54'/>
<id>urn:sha1:fb6e00667ccbf73abfba40e4cb4e75391edecc54</id>
<content type='text'>
Approved by:	re(gnn)
</content>
</entry>
<entry>
<title>In moduledir_readhints() cast the value returned by sizeof() to ssize_t</title>
<updated>2006-01-12T13:18:49Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2006-01-12T13:18:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e4846391dac1347698a8c0e1690eaa9a1a4ae6fb'/>
<id>urn:sha1:e4846391dac1347698a8c0e1690eaa9a1a4ae6fb</id>
<content type='text'>
when checking whether it's greater than a struct stat st_size in order
to also catch the case when st_size is -1. Previously this check didn't
trigger on sparc64 when st_size is -1 (as it's the case for a file on
a bzipfs, TFTP server etc.), causing the content of the linker hints
file to be copied to memory referenced by a null-pointer.

PR:		91231
MFC after:	1 week
</content>
</entry>
<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>
</feed>
