Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-13 | distrib: remove .comment section systematically | Sebastien Marie | |
remove this section as part of crunchgen generated commands. it avoids calling "strip -R .comment" for some but not all architectures. ok deraadt@ danj@ | |||
2018-10-18 | Ensure that the install media are built with a consistent set of | Christian Weisgerber | |
compiler flags. Pass DIST_CFLAGS from the crunchgen-generated .mk file. Compile the install media with -fno-unwind-tables to avoid emitting .eh_frame sections. This saves substantial space on amd64. with/ok kettenis@ | |||
2018-02-06 | chdir to the target directory, run make there and fchdir back after. | Henning Brauer | |
allows Makefiles with ${.CURDIR} constructs to work with crunchgen. pointed out by Holger Mikolon, input from theo, ok theo millert | |||
2017-10-29 | Prefer <elf.h> to the non portable <sys/exec_elf.h>. | Martin Pieuchot | |
ok jca@, deraadt@ | |||
2017-07-27 | insist on -Oz in the *.mk file | Marc Espie | |
(note it's *after* the normal flags, so it will pre-empt a -O2) okay deraadt@ | |||
2017-07-27 | Mute clang's zeal for whining by providing prototypes. | Theo de Raadt | |
2017-06-11 | missing .Fn markup for main(); found with mandoc -Tlint | Ingo Schwarze | |
2017-02-28 | Make object-in-archive-used identification portable to lld: use --trace | Philip Guenther | |
instead of -M and transform the output to a common /path/to/archive.a(object.o) syntax. problem noted by jsg@ ok kettenis@ jsg@ | |||
2017-01-27 | Copyright notices don't belong in the displayed text of manual pages, | Ingo Schwarze | |
so delete it. Of course, the notice is still present as a comment in the source code of the page, at the place where it belongs. Found because it also violated "new sentence, new line". | |||
2016-05-20 | Restore support for 'instbin program args...' | Philip Guenther | |
problem noted by and ok deraadt@ | |||
2015-12-06 | Use __progname instead of manually handling argv[0]. | Tobias Stoeckmann | |
ok deraadt, mmcc, tedu | |||
2015-11-11 | exit() after perror() for pledge failure. Perhaps this got introduced | Theo de Raadt | |
as a test idiom, either when pledge was young or during the transition to strings.... dunno | |||
2015-10-18 | Avoid integer overflow with very large files. | Tobias Stoeckmann | |
ok millert | |||
2015-10-13 | pledge "stdio rpath wpath cpath proc exec". creates files throughout | Theo de Raadt | |
it's lifetime, and often runs a pipe through "cpp" | |||
2015-08-20 | stdlib.h is in scope; do not cast malloc/calloc/realloc* | Theo de Raadt | |
ok millert krw | |||
2015-01-18 | The world is ELF: use <sys/exec_elf.h> instead of <a.out.h> or <sys/exec.h> | Philip Guenther | |
Use a better test for an input being ELF: struct exec is dead and there are defines for the ELF magic. Reorder #includes and do some whitespace cleanup. Oh, and don't lead the fd if an input file isn't ELF. ok deraadt@ | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-11-15 | Reduce instances of `` '' in manuals. | Anthony J. Bentley | |
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@ | |||
2014-05-20 | Use errc/warnc to simplify code. | Philip Guenther | |
Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@ | |||
2014-03-16 | Zap some globals and a TODO missed in the a.out purge. | Philip Guenther | |
2014-01-11 | Create cleaner & less noisy makefiles, now that we've been using | Theo de Raadt | |
this for 20 years. We don't need to see the splatter as much anymore. | |||
2014-01-11 | just a little TLC | Theo de Raadt | |
2013-11-23 | yet more unsigned char casts for ctype | Theo de Raadt | |
checked by jca | |||
2013-11-12 | add missing protos | Theo de Raadt | |
2013-10-14 | tedu ecoff support | Theo de Raadt | |
2013-10-14 | Using 'cc -o /dev/null' has weird side-effects as root, so use a real file | Philip Guenther | |
problem noted by deraadt@ | |||
2013-10-14 | handle DESTDIR; with guenther | Theo de Raadt | |
2013-10-13 | Use the new DIST_LIB/DIST_OBJS hooks to make it possible to link crunched | Philip Guenther | |
binaries against libraries compiled with smaller objects. Determination of which objects to include done by linking once and checking the link map. SRCLIBDIR must be set by the calling makefile to /usr/src/lib for this to have any effect | |||
2013-10-13 | Death to a.out bits! | Philip Guenther | |
ok deraadt@ miod@ | |||
2013-08-14 | some Bx/Ox conversion; | Jason McIntyre | |
From: Jan Stary | |||
2013-07-16 | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2012-08-29 | Using the currently chosen (and in my opinion insane) abstraction, pass | Theo de Raadt | |
-nopie to the linker if needed; ok pascal | |||
2012-08-22 | Build crunched binaries with -fno-pie. | Pascal Stumpf | |
ok deraadt@ | |||
2012-05-30 | ansi | Theo de Raadt | |
2011-11-25 | missing header | Theo de Raadt | |
2010-08-08 | .Ek in the right place, or SYNOPSIS blows up; | Jason McIntyre | |
2010-07-20 | delete unused variable | Theo de Raadt | |
2009-12-08 | Fix overflow bug found by Holger Mikolon, thanks. | Dale Rahn | |
committed slightly different fix. | |||
2009-12-04 | Change crunchgen to mangle names in sequence instead of randomly, | Dale Rahn | |
save the sequence numbers between runs, currently uses file 'mangledata' this may be changed to be specified on the command line later. Requested by Theo. | |||
2009-11-02 | that is not a small hack, it is big and gruesome and has very bad effects | Theo de Raadt | |
2009-10-07 | under certain conditions (srcdir defined, no objdir defined) crunchgen | Felix Kronlage | |
would emit a false .mk file, which contains "(null)" for the Makefile name due to a null pointer. Make sure, p->mf_name is set in this case. ok deraadt@ | |||
2009-07-21 | stop gcc from whining | Theo de Raadt | |
2008-11-24 | zap trailing whitespace; | Jason McIntyre | |
2008-11-24 | Change mips detection in crunchgen from ifdef to command line flag | Dale Rahn | |
ok deraadt@, fkr@, rainer@. manpage cleanup thanks to jmc@ | |||
2008-09-08 | clean warnings on all architectures | Theo de Raadt | |
2008-08-23 | - document -h | Jason McIntyre | |
- (re)organise the page a little - zap second "usage:" string from usage() | |||
2008-08-22 | make it section 8 | Theo de Raadt | |
2008-08-22 | merge crunchide into crunchgen as the -h flag. this is not yet done the | Theo de Raadt | |
nicest way since there is lot of code that has to churn, but it works. | |||
2008-08-22 | Merge crunchgen & crunchhide (using name checking), and move to usr.sbin | Theo de Raadt | |
next step is to not install it as two programs, but be even more clever |