Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-10-27 | Remove some code that was already disabled when it was committed | Theo Buehler | |
20 years ago. While there, eliminate two dead assignments. ok natano | |||
2016-10-27 | Remove OLDSCSIBUS conditional. Unused since it was imported 21 years ago. | Theo Buehler | |
ok natano | |||
2016-10-19 | There used to be disabled code that used /dev/tty to determine the | Theo Buehler | |
terminal size. That code was removed a while ago, and now there is no longer any reason to open /dev/tty right before exiting init(). ok natano | |||
2016-10-16 | Add a == EOF that was accidentally lost in previous commit. | Theo Buehler | |
2016-10-16 | Use the err(3) family of functions more consistently. | Theo Buehler | |
ok jca, improvements and ok millert, natano | |||
2016-10-16 | Remove the -g option. It is obsolete/undocumented since the initial | Martin Natano | |
import from NetBSD in '95 and does nothing except print an error. ok tb | |||
2016-10-16 | Add printf format attributes to the custom error functions. | Theo Buehler | |
ok natano | |||
2016-10-16 | Remove declarations for optarg and optind. They are declared in <unistd.h>. | Martin Natano | |
ok tb | |||
2016-10-16 | Stop complaining about changed kernel options when called for an empty | Martin Natano | |
directory. With the new kernel obj mechanism config always prints Kernel options have changed -- you must run "make clean" on the first run. The message is suppressed when the compile directory didn't exist before, but now the directory always exists when config is run, so we have to use something else to detect if this is a "fresh" run or an update of an existing directory. Use the options file instead, which is used to track the kernel options of the last config run. If the file doesn't exist, it is safe to assume, that this is a "fresh" directory. ok tb deraadt | |||
2016-10-14 | Change the default non -b behaviour of config(8) to operate with the | Theo de Raadt | |
new compile behaviour: - create a Makefile including ../Makefile.inc - run "make obj" to create the obj directory - run "make config", to use logic in ../Makefile.inc to re-run config with the correct -b options, thereby creating a layout in obj/ - exit 0. As a result, the old patterns our fingers are used to continue to work and there will be fewer curses. ok natano tb | |||
2016-09-12 | strlen + emalloc + snprintf = asprintf | Michal Mazurek | |
ok deraadt@ tb@ | |||
2016-09-07 | strlen + emalloc + snprintf = asprintf | Michal Mazurek | |
Written with and ok tb@ | |||
2016-09-07 | Get rid of the static nomem() function and replace it with err(1, NULL); | Michal Mazurek | |
Written with and ok tb@ | |||
2016-03-13 | one more un-vax, which i fixed but somehow didn;t commit; | Jason McIntyre | |
Xr fix while here... | |||
2015-12-14 | Remove unused macro that's just a clone of abs(3). ok tb@ | mmcc | |
2015-11-19 | lexer fixes to work with new flex. from Serguey Parkhomovsky | Ted Unangst | |
2015-10-16 | Implement real "flock" request and add it to userland programs that | Todd C. Miller | |
use pledge and file locking. OK deraadt@ | |||
2015-10-12 | pledge "stdio rpath wpath cpath"; all the path options are used | Theo de Raadt | |
until the bitter end. | |||
2015-10-12 | does not need ioctl.h | Theo de Raadt | |
2015-09-25 | exec.c provided indirection for multiple exec formats. ELF-only now, so... | Philip Guenther | |
2015-09-21 | Make UKC handle device locators as longs | Philip Guenther | |
ok miod@ | |||
2015-09-11 | Change device locators type from int to long, for the sake of 64-bit ports | Miod Vallat | |
without proper device trees. Be sure to build and install config(8) and rerun it before attempting to build a kernel. ok kettenis@ deraadt@ jasper@ visa@ | |||
2015-04-23 | delete a NOTDEF of unused code | Theo de Raadt | |
2015-01-17 | document the <sys/param.h> | Theo de Raadt | |
2015-01-16 | More evil bootstrap code. #ifndef ALIGNBYTES #define ALIGNBYTES 3. | Theo de Raadt | |
Which makes this code go all wrong depending on where a system has put their things like ALIGNBYTES. Delete with prejudice. When someone needs to compile this in another environment, they need to face this hurdle, and maybe change the embedded memory allocator... | |||
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-06-04 | fix a fd leak in an error path | Jonathan Gray | |
2014-05-29 | use calloc, from Benjamin Baier | Ted Unangst | |
2014-05-18 | use reallocarray and friends. okay miod@ | Marc Espie | |
2014-01-20 | Obvious markup fixes; ran into this while testing mandocdb(8). | Ingo Schwarze | |
2013-11-23 | unsigned char casts for ctype | Theo de Raadt | |
ok jca | |||
2013-10-29 | emit an extra "config" convenience target that allows one | Marc Espie | |
to rerun config without changing directories. Lots of inputs by deraadt@, who wanted it to work for movable relative directories. | |||
2013-10-13 | remote bits for a.out and ecoff | Theo de Raadt | |
ok guenther | |||
2013-08-14 | some Bx/Ox conversion; | Jason McIntyre | |
From: Jan Stary | |||
2013-07-05 | More a.out files leave the party. | Miod Vallat | |
2013-07-05 | ELF_TOOLCHAIN bye bye. | Miod Vallat | |
2013-04-19 | sw_vp is now in struct nfs_diskless. | Florian Obser | |
input/ok deraadt@, ok miod@ | |||
2013-03-28 | shuffle the KERNEL BUILDING text a little; from daniel dickman | Jason McIntyre | |
2013-03-27 | some updates from daniel dickman; | Jason McIntyre | |
2012-12-05 | Remove excessive sys/cdefs.h inclusion | Theo de Raadt | |
ok guenther millert kettenis | |||
2012-09-17 | tedu lint tendrils through config internals. | Marc Espie | |
also mark some known targets as .PHONY okay miod@ | |||
2012-06-22 | Improve error messages when removing/recreating symlinks in the build dir | Philip Guenthe | |
ok deraadt@ | |||
2011-10-02 | Fix some minor things in config(8): | Edd Barrett | |
* As haesbaert suggests, correctly order include files. * Found some old style function defs. Updated. * Found a prototype inside a function. Moved. OK nicm@ | |||
2011-10-02 | When using `config -e`: | Edd Barrett | |
* Don't print a NULL pointer if binary loaded is not a kernel. * Don't segfault of binary loaded is not a kernel. * Report non-existent kernel via a preliminary stat(). * Make a warning look like the rest. OK haesbaert@, nicm@ | |||
2011-07-16 | remove unused variable | Charles Longeau | |
ok miod@ matthew@ | |||
2011-06-26 | remove mcd example here too | Ted Unangst | |
2011-06-01 | Kill the nearly-15-years-dead cf_ivstubs field from struct cfdata. | Matthew Dempsky | |
ok miod@, deraadt@ N.B.: If you're following -current, you MUST recompile config(8) and re-config your kernel or else ioconf.c will fail to compile. | |||
2011-04-15 | stop talking about make depend; ok guenther | Theo de Raadt | |
2011-04-15 | do not need the run "make depend" reminder anymore | Theo de Raadt | |
2011-04-06 | Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0' | Miod Vallat | |
for chars. |