| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge identical amd64 and i386 stanzas. | 2016-08-14 | 1 | -7/+2 | |
| | | | | | Requested & ok jsing@ | ||||
| * | Use more compact idiom to select architecture dependent files to compile. No | 2016-07-20 | 1 | -55/+7 | |
| | | | | | | | | | intentional functional change. Diff from Miod. ok millert@ deraadt@ | ||||
| * | Rename findmbrlinux() to findmbrfat(). This function was originally | 2016-06-02 | 1 | -4/+4 | |
| | | | | | | | searching for a linux partition type, now it looks for a fat type. ok kettenis@ | ||||
| * | Add support for armv7. Fix an error message in the i386 support before | 2016-05-31 | 3 | -4/+270 | |
| | | | | | | | creating more copies. ok deraadt@, jsing@ | ||||
| * | Use PATH_MAX instead of a hardcoded minimal value. Stack space is cheap and | 2016-05-23 | 1 | -2/+2 | |
| | | | | | | | this isn't the kernel. requested by deraadt@ | ||||
| * | remove hppa64 port, which we never got going beyond broken single users. | 2016-05-11 | 2 | -43/+1 | |
| | | | | | | | hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis | ||||
| * | Plug a couple of leaks of input buffers. | 2016-04-28 | 2 | -2/+5 | |
| | | | | | Pointed out by David Carlier. | ||||
| * | We are done providing support for the vax. | 2016-03-09 | 2 | -62/+1 | |
| | | | | | lots of agreement. | ||||
| * | sync() requires unistd.h | 2016-02-18 | 1 | -1/+2 | |
| | | | | | | | Reported by Sigi Rudzio. Thanks! "go for it" deraadt@ | ||||
| * | sync() needs unistd.h | 2016-01-15 | 1 | -1/+2 | |
| | | |||||
| * | Replace lseek/[read|write] with pread|pwrite. | 2015-12-28 | 3 | -34/+23 | |
| | | | | | ok millert@ a while ago. | ||||
| * | Make gpt_chk_mbr() instances even more identicaller by always | 2015-12-24 | 1 | -2/+2 | |
| | | | | | | returning 0 or 1 since only boolean checks of the result are done. No need for EINVAL as a return value. | ||||
| * | Make all instances of gpt_chk_mbr() identical (bar static vs | 2015-12-24 | 1 | -6/+4 | |
| | | | | | | | non-static) by passing disk size as 2nd parameter instead of the different structures holding the disk size info. The fifth copy of gpt_chk_mbr() in fdisk is a little specialer. No functional change. | ||||
| * | Add prototype for gpt_chk_mbr() to i386_installboot.c. Add 'static' to | 2015-12-24 | 1 | -2/+3 | |
| | | | | | | declarations of gpt_chk_mbr() to match prototypes in efidev.c and softraid.c. | ||||
| * | Remove unnecessary options: | 2015-12-20 | 1 | -3/+3 | |
| | | | | | | | | - in fsck_msdos, '-f' option is a no-op - newfs_msdos does not need '-t msdos' OK krw@ | ||||
| * | Remove NULL-checks before free(). ok tb@ | 2015-12-10 | 1 | -3/+2 | |
| | | |||||
| * | Steal code from kern/subr_disk.c to check for a protective MBR before | 2015-12-01 | 1 | -1/+52 | |
| | | | | | using GPT info. Otherwise GPT remnants might become revenants. | ||||
| * | aviion went away | 2015-12-01 | 1 | -5/+1 | |
| | | |||||
| * | Don't need <sys/types.h> and <sys/param.h>. Nuke the former when DEV_BSIZE | 2015-12-01 | 2 | -4/+2 | |
| | | | | | is needed. | ||||
| * | Revert the sync -> fsync conversion (at least for the time being) - there | 2015-11-30 | 4 | -9/+14 | |
| | | | | | | is a good chance that this is causing the 'No blocks to load' errors that various people have encountered. | ||||
| * | give up on pledge for now. | 2015-11-29 | 1 | -4/+1 | |
| | | | | | this will have to wait until jsing and stsp find time to look at it. | ||||
| * | Apply pledge. | 2015-11-26 | 5 | -15/+13 | |
| | | | | | | The people I asked to review this did not get back to me, so we will test this a different way. | ||||
| * | fix a memory leak in multiple error paths | 2015-11-04 | 1 | -6/+8 | |
| | | | | | ok krw@ | ||||
| * | fix a memory leak in an error path | 2015-11-03 | 1 | -2/+4 | |
| | | |||||
| * | Backout the backout of installboot softraid non-gpt case fix. | 2015-10-28 | 1 | -1/+7 | |
| | | | | | krw and I crossed streams | ||||
| * | Revert GPT change. Breaks non-GPT install/upgrade. | 2015-10-28 | 1 | -7/+1 | |
| | | | | | Found the hard way by reyk@ | ||||
| * | In sr_install_bootblk for i386, don't clobber 'part' in non-GPT case. | 2015-10-28 | 1 | -5/+5 | |
| | | | | | | | Found the hard way by reyk@. stupid mistake stsp@ ok reyk@ | ||||
| * | Fix installboot(8) on i386/amd64 when softraid is on top of GPT. | 2015-10-25 | 3 | -5/+11 | |
| | | | | | ok krw deraadt | ||||
| * | Add parenthesis gcc wants and remove defined but unused label gcc | 2015-10-19 | 1 | -4/+3 | |
| | | | | | | | complains about. ok deraadt@ on parethesis | ||||
| * | LABELSECTOR is a DEV_BSIZE quantity. So multiply by DEV_BSIZE and not | 2015-10-19 | 1 | -3/+6 | |
| | | | | | | | d_secsize when calculating disklabel location. ok jsing@ | ||||
| * | Nuke unused variable. | 2015-10-19 | 1 | -2/+2 | |
| | | |||||
| * | Fix comments. | 2015-10-18 | 1 | -3/+3 | |
| | | | | | OK krw@ | ||||
| * | Check file sizes only for regular files. The current code breaks savecore | 2015-10-16 | 1 | -3/+3 | |
| | | | | | | | due to its kvm handling. ok deraadt | ||||
| * | Merge nlist out of boundary access fix with other nlist implementations. | 2015-10-16 | 1 | -31/+55 | |
| | | | | | | | While at it, merge style and typo fixes back into nlist(3), too. ok deraadt, jsing, millert | ||||
| * | Add an extra argument to bootstrap() to allow for a limited overlap between an | 2015-10-15 | 6 | -14/+31 | |
| | | | | | | | | | | | | | | | | | existing partition and the boot blocks span, and update all callers to require an overlap limit of zero sectors (thus not changing their behaviour). Then, add proper support for vax: copy the 2nd-stage boot block to /boot and install the 1st-stage boot block at the beginning of the disk, retaining the disklabel; allow for an overlap of up to 16 sectors, which is perfectly fine as long as your `a' partition is FFS. Note that regular installs will not even have such an overlap, because the default OpenBSD span on a disk on vax starts at sector 16, but installation media use sperific layout which require this. ok krw@ | ||||
| * | give up; include stdlib.h from the .h file, sigh | 2015-10-15 | 2 | -3/+4 | |
| | | |||||
| * | worse, need even more includes... | 2015-10-14 | 1 | -1/+2 | |
| | | |||||
| * | add includes for crc32() and uuid_dec_be() missed in rev 1.11 | 2015-10-14 | 2 | -2/+4 | |
| | | | | | ok krw@ | ||||
| * | Backout last. Breaks sparc64, amoung other dubiousness. | 2015-10-14 | 3 | -35/+7 | |
| | | | | | requested by deraadt@ | ||||
| * | Check that the disk specified on the command line is the disk that | 2015-10-12 | 3 | -7/+35 | |
| | | | | | | | files are copied to. Error out with 'cross-device install' if not. ok millert@, ok deraadt@ & jsing@ for previous version | ||||
| * | needs at least some include love; choosing <stdlib.h> | 2015-10-11 | 1 | -1/+3 | |
| | | |||||
| * | Refactor fileprefix() and filecopy() to use warn() instead of err() | 2015-10-08 | 6 | -43/+92 | |
| | | | | | | | | | | to display error message, and to return error indications (NULL and -1 respectively). Use the error indications in write_efisystem() to unwind in the face of more error conditions. In other cases just exit(1) to emulation current behaviour. ok deraadt@ | ||||
| * | Add initial support for installing UEFI boot files to a GTP EFI System | 2015-10-07 | 3 | -4/+282 | |
| | | | | | | | Partition. Further work to be done in-tree. ok deraadt@ | ||||
| * | Out, damned whitespace! | 2015-10-05 | 1 | -2/+2 | |
| | | |||||
| * | Copy the stage2 file to / in md_installboot(). | 2015-10-05 | 1 | -2/+14 | |
| | | |||||
| * | Nuke trailing whitespace to avoid cluttering possible upcoming diffs. | 2015-10-03 | 5 | -13/+13 | |
| | | |||||
| * | Assign the return value of getopt() to an int, not a char, so that options | 2015-09-10 | 1 | -3/+2 | |
| | | | | | actually work on unsigned char platforms. | ||||
| * | Adjust <sys/param.h> comments regarding use of use of MAXFRAG, or | 2015-01-20 | 1 | -2/+2 | |
| | | | | | | delete <sys/param.h> if now possible ok guenther | ||||
| * | first batch of cleanup to programs based upon the namespace cleanups | 2015-01-16 | 8 | -18/+22 | |
| | | | | | | | | in net/pfvar.h sys/proc.h sys/ucred.h arpa/nameser.h change to PATH_MAX, reduce use of MIN() and MAX(), HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc etc ok millert guenther, some review by doug | ||||
| * | use reallocarray() to detect int overflow; ok doug | 2014-10-08 | 1 | -4/+3 | |
| | | |||||
