summaryrefslogtreecommitdiffstats
path: root/usr.sbin/installboot/sparc64_installboot.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace lseek/[read|write] with pread|pwrite.krw2015-12-281-5/+3
| | | | ok millert@ a while ago.
* Revert the sync -> fsync conversion (at least for the time being) - therejsing2015-11-301-2/+3
| | | | | is a good chance that this is causing the 'No blocks to load' errors that various people have encountered.
* Apply pledge.deraadt2015-11-261-3/+2
| | | | | The people I asked to review this did not get back to me, so we will test this a different way.
* Refactor fileprefix() and filecopy() to use warn() instead of err()krw2015-10-081-2/+5
| | | | | | | | | 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@
* first batch of cleanup to programs based upon the namespace cleanupsderaadt2015-01-161-2/+2
| | | | | | | 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 calloc() instead of malloc()/memset().jsing2014-06-091-4/+3
| | | | From Benjamin Baier.
* Rework installboot and use a single directory with a single makefile. Thejsing2014-01-191-0/+113
directory per machine model is arguably cleaner, however it does not play well with distrib/special and instbin. Discussed with deraadt@