Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | mdoc(7) police: Use the new .In macro for #include statements. | ru | 2001-10-01 | 1 | -3/+3 | |
| | ||||||
* | mdoc(7) police: markup nits. | ru | 2001-10-01 | 1 | -9/+13 | |
| | ||||||
* | Add __FBSDID()s to libstand | dillon | 2001-09-30 | 53 | -49/+161 | |
| | ||||||
* | Add support for loading bzip2-compressed filesystems. Among other things | sobomax | 2001-09-18 | 7 | -5/+371 | |
| | | | | | | | this would allow to load bzip2-compressed kernels/modules from the loader(8) (support for that will be committer separately). MFC after: 1 month | |||||
* | Remove bogus implementation of _setjmp/_longjmp | dfr | 2001-09-03 | 1 | -140/+0 | |
| | ||||||
* | Check for malloc failure in a couple of cases | kris | 2001-09-03 | 2 | -0/+8 | |
| | | | | MFC after: 2 weeks | |||||
* | Fix a bug in lseek which caused the loader to fail on some gzipped | jdp | 2001-08-29 | 1 | -0/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | kernels. The error message was "elf_loadexec: cannot seek". Libstand maintains a read-ahead buffer for each open file, so that it can read in chunks of 512 bytes for greater efficiency. When the loader tries to lseek forward in a file by a small amount, it sometimes happens that the target file offset is already in the read-ahead buffer. But the lseek code simply discarded the contents of that buffer and performed a seek directly on the underlying file. This resulted in an attempt to seek backwards in the file, since some of the data has already been read into the read-ahead buffer. Gzipped data streams cannot seek backwards, so an error was returned. This commit adds code which checks to see if the desired file offset is already in the read-ahead buffer. If it is, the code simply adjusts the buffer pointer and length, thereby avoiding a reverse seek on the gzipped data stream. I incorporated a suggestion from Matt Dillon which saved a little bit of code in this fix. Reviewed by: dillon, gallatin, jhb | |||||
* | Bail if we go beyond the directory size, not just if we hit it. | gallatin | 2001-08-23 | 1 | -1/+1 | |
| | | | | | | Certain ISO fs's (like the one for 4.4-RC1 disc1 on alpha) trigger this, and we end up opening a null file name. This causes us to get a false match for "kernel.ko" when it does not exist. | |||||
* | mdoc(7) police: s/BSD/.Bx/ where appropriate. | ru | 2001-08-14 | 1 | -2/+6 | |
| | ||||||
* | Spell "FreeBSD" with "F" and "BSD" in uppercase. | ru | 2001-08-13 | 1 | -1/+1 | |
| | ||||||
* | Removed duplicate VCS ID tags, as per style(9). | ru | 2001-08-13 | 2 | -4/+0 | |
| | ||||||
* | Make include file consistent with the rest of libstand. | mp | 2001-07-31 | 1 | -1/+2 | |
| | ||||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 1 | -25/+25 | |
| | ||||||
* | mdoc(7) police: removed HISTORY info from the .Os call. | ru | 2001-07-10 | 1 | -1/+1 | |
| | ||||||
* | mdoc(7) police: remove extraneous .Pp before and/or after .Sh. | dd | 2001-07-09 | 1 | -1/+0 | |
| | ||||||
* | Reset errno so that subsequent TFTP requests don't fail after the | mikeh | 2001-06-30 | 1 | -0/+2 | |
| | | | | | | | first failure. PR: misc/25502 MFC after: 2 weeks | |||||
* | Correct the returned UDP datagram length. See the PR for a more comprehensive | msmith | 2001-05-28 | 1 | -1/+2 | |
| | | | | | | | | description of the fix. PR: misc/25503 Submitted by: Jim Browne <jbrowne@jbrowne.com> MFC after: 1 week | |||||
* | The shortest valid TFTP packet is 4 bytes, not 8. | msmith | 2001-05-28 | 1 | -1/+1 | |
| | | | | | | PR: misc/25503 Submitted by: Jim Browne <jbrowne@jbrowne.com> MFC after: 1 week | |||||
* | Replace functional bugs of ctypish functions in libstand with style | dcs | 2001-05-14 | 1 | -7/+35 | |
| | | | | | | | bugs. reviewed by: bde MFC after: 1 week | |||||
* | Compensate for header dethreading. | markm | 2001-05-01 | 1 | -0/+4 | |
| | ||||||
* | Unbreak world by defining isalnum() for libstand consumers. | msmith | 2001-04-29 | 1 | -0/+1 | |
| | ||||||
* | fix cd9660 to work on files larger than ISO_DEFAULT_BLOCK_SIZE and unbreak | gallatin | 2001-04-07 | 1 | -3/+4 | |
| | | | | | | cdboot on alphas (which has been broken since just after 4.0-RELEASE) submitted by: jlemon | |||||
* | MAN[1-9] -> MAN. | ru | 2001-03-27 | 1 | -1/+1 | |
| | ||||||
* | A quick and dirty port of libstand to ia64. | dfr | 2001-03-06 | 3 | -0/+161 | |
| | ||||||
* | Prepare for mdoc(7)NG. | ru | 2001-02-22 | 1 | -2/+2 | |
| | ||||||
* | Correct the prototype for pager_output(). | dcs | 2001-02-22 | 1 | -1/+1 | |
| | ||||||
* | Silence -Wnon-const-format | kris | 2001-02-18 | 1 | -1/+1 | |
| | ||||||
* | Fix typo: compatability -> compatibility. | asmodai | 2001-02-06 | 1 | -1/+1 | |
| | | | | Compatability is not an existing english word. | |||||
* | mdoc(7) police: split punctuation characters + misc fixes. | ru | 2001-02-01 | 1 | -59/+216 | |
| | ||||||
* | mdoc(7) police: removed leading whitespaces that are not inside | ru | 2001-01-19 | 1 | -2/+2 | |
| | | | | Bd/Ed; these hardly degrade the quality of the produced output. | |||||
* | Prepare for mdoc(7)NG. | ru | 2000-12-29 | 1 | -8/+8 | |
| | ||||||
* | mdoc(7) police: removed history info from the .Os FreeBSD call. | ru | 2000-12-14 | 1 | -1/+1 | |
| | ||||||
* | When TFTP tries to open a file, it is expecting struct open_file | ps | 2000-12-08 | 1 | -0/+3 | |
| | | | | | | | | member f_devdata to be a pointer to a socket number. When currdev is "pxe", that assumption is correct. When currdev is "disk*", that assumption is incorrect. Submitted by: Jim Browne <jbrowne@jbrowne.com> | |||||
* | Disable the end guard for now. | benno | 2000-11-10 | 1 | -0/+2 | |
| | | | | | | | | The test for failing the end guard was always triggering (and was reported as such in compiler warnings). This is a temporary band-aid until I can work out what's really going on. Reviewed by: obrien | |||||
* | Make setjmp work our way, as opposed to NetBSD's. | benno | 2000-11-10 | 1 | -3/+1 | |
| | | | | | | | This file needs commenting still. Submitted by: luoqi Reviewed by: obrien | |||||
* | Don't always enable debugging for the network device code. | benno | 2000-11-10 | 1 | -2/+0 | |
| | | | | Reviewed by: obrien | |||||
* | Honor the ip address given in the root-path dhcp option. | ps | 2000-11-05 | 1 | -5/+1 | |
| | | | | | PR: 21743 Submitted by: Brian Candler <B.Candler@pobox.com> | |||||
* | Inital PowerPC loader build support. | obrien | 2000-10-10 | 2 | -1/+8 | |
| | | | | Submitted by: Benno Rice <benno@jeamland.net> | |||||
* | Fix the embeded VCS ID for FreeBSD vs. NetBSD. | obrien | 2000-10-10 | 1 | -3/+2 | |
| | ||||||
* | Architecture-specific setjump()/longjmp() bits for the PowerPC | obrien | 2000-10-10 | 1 | -0/+39 | |
| | | | | | | | needed by the loader. Submitted by: Benno Rice <benno@jeamland.net> Obtained from: NetBSD (Wolfgang Solfrank <ws@@tools.de>) | |||||
* | IN_CLASS*() macros assume host order and s_addr is network byte | ps | 2000-09-20 | 1 | -2/+2 | |
| | | | | order, so we must convert them to host order. | |||||
* | Turn dkcksum() into an __inline function. | phk | 2000-09-16 | 1 | -1/+0 | |
| | | | | Change its type to u_int_16_t. | |||||
* | Backout last commit. It was wrong.. *sigh* | ps | 2000-09-10 | 1 | -1/+0 | |
| | ||||||
* | include string.h to silence a warning. | ps | 2000-09-10 | 1 | -0/+1 | |
| | ||||||
* | Expose the NFS root node, so that an evil consumer can use it to get the | msmith | 2000-09-05 | 1 | -1/+1 | |
| | | | | NFS filehandle for the root mount. | |||||
* | Implement readahead buffering for non-raw files. This drastically improves | msmith | 2000-09-05 | 5 | -73/+132 | |
| | | | | | | | | | the efficiency of byte-by-byte read operations on filesystems not already supported by the block cache (especially NFS). This should be a welcome change for users booting via PXE, as the loader now reads its startup files almost instantly, instead of taking tens of seconds. | |||||
* | Make libstand compile | peter | 2000-09-03 | 2 | -2/+4 | |
| | ||||||
* | Add the -mpreferred-stack-boundary=2 option to reduce code bloat. We | peter | 2000-08-11 | 1 | -0/+4 | |
| | | | | compile the kernel with this. | |||||
* | Add support to send the string 'PXEClient' as the Vendor class | ps | 2000-08-11 | 3 | -4/+32 | |
| | | | | | | identifier to the DHCP server. Now you can check for this string in your dhcp configuration to decide whether you will hand out a lease to the client or not. | |||||
* | Cleanup warnings by adding missint prototypes, removing unneeded duplicate | jhb | 2000-08-03 | 4 | -12/+20 | |
| | | | | | | | prototypes, and adding in several 'const's. Also, add some missing $FreeBSD$'s. Found by: BDECFLAGS |