Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-06 | options(4), config(8): drop dst/timezone knobs; ok kettenis@ deraadt@ jca@ | cheloha | |
2019-08-13 | config -eu uses a second copy of the nlist array[], which should never | Theo de Raadt | |
become different or the #define's for the slots could diverge. To avoid this, make one a copy of the other at runtime. | |||
2019-08-11 | delete the bufcachepercent command (since this can be done at runtime), | Theo de Raadt | |
and leftovers from past commands shmseg/shmmaxpg/nmbclusters ok kettenis | |||
2019-07-19 | In the synopsis, put options that take no arguments before those that do. | Ingo Schwarze | |
This also makes it easier to find the crucial difference between the two synopses, which is the "-e". Suggested by kn@; OK jmc@. | |||
2019-06-28 | fputc/fputs return EOF on error | Theo de Raadt | |
2019-06-28 | When system calls indicate an error they return -1, not some arbitrary | Theo de Raadt | |
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | |||
2019-05-14 | allow specifying a cmdfile instead of trying to pipe in commands for -ef. | Ted Unangst | |
ok deraadt | |||
2019-04-01 | In the KARL relink case, the bsd.gdb built on the way (so that we get | Theo de Raadt | |
CTF) is not needed and can be removed. | |||
2019-02-05 | dev_t is signed to permit passing -1 as an invalid condition, but the | Theo de Raadt | |
decomposition into major and minor is unsigned, so we should print them with %u instead of %d. ok guenther | |||
2018-04-25 | remove the largely out of date examples related to kernel | Jason McIntyre | |
building: more accurate information can be found elsewhere; while here, replace Gt sequences; prompted by a diff from il ka; ok deraadt guenther | |||
2017-11-05 | Consolidate lib.so.*.a, ld.so.a and the kernel relink kit into | Robert Peichaer | |
one location under /usr/share/relink. Be more specific in src/etc/rc reorder_libs() what filesystems need r/w remount and ensure that their mount state is restored. Idea and positive feedback from deraadt@ OK aja@ tb@ | |||
2017-10-29 | Prefer <elf.h> to the non portable <sys/exec_elf.h>. | Martin Pieuchot | |
ok jca@, deraadt@ | |||
2017-10-07 | The 'dumps' option only accepts a single device | Philip Guenther | |
ok deraadt@ jmc@ | |||
2017-09-27 | config -e's adds new devices to an extra locator array, which is accounted | Theo de Raadt | |
using a variable which started at 0 and hence got planted in .bss. Refactor that variable to begin at the maximum and decrease, such that it lands in .data instead. ok jsg | |||
2017-07-18 | Stop automatically regenerating gap.o (and hence linking a new kernel) | Theo Buehler | |
whenever make is issued. Only do this when there are actual source changes below /sys. This restores the behavior prior to the KARL implementation. Problem noticed and patiently explained by mpi implementation with a lot of help from espie ok mpi, espie, deraadt | |||
2017-07-09 | have bsd.prog.mk/bsd.lib.mk generate .y -> .c/.h rules without intermediate | Marc Espie | |
files. This fixes up parallel builds in the default case. FreeBSD does something similar. okay millert@ | |||
2017-06-22 | Generate the newbsd: and install-update: targets here, rather than | Theo de Raadt | |
in the source Makefile.* files. ok tb rpe mlarkin | |||
2017-06-19 | delete accidental blank line | Theo de Raadt | |
2017-06-03 | config -e mode should match our other policies which ensure og-rwx /bsd. | Theo de Raadt | |
pointed out by brynet | |||
2017-05-04 | Document that -u wants to read from /dev/mem, so it needs kern.allowkmem=1. | Theo Buehler | |
Problem reported by jdd () cs ! toronto ! edu on bugs. ok brynet deraadt jmc | |||
2017-05-01 | Fewer kgdb(7) references and fix previous. | Martin Pieuchot | |
Pointed by jmc@ | |||
2017-04-30 | Remove KGDB references. | Martin Pieuchot | |
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 | |