summaryrefslogtreecommitdiff
path: root/usr.sbin/config
AgeCommit message (Collapse)Author
2016-03-13one more un-vax, which i fixed but somehow didn;t commit;Jason McIntyre
Xr fix while here...
2015-12-14Remove unused macro that's just a clone of abs(3). ok tb@mmcc
2015-11-19lexer fixes to work with new flex. from Serguey ParkhomovskyTed Unangst
2015-10-16Implement real "flock" request and add it to userland programs thatTodd C. Miller
use pledge and file locking. OK deraadt@
2015-10-12pledge "stdio rpath wpath cpath"; all the path options are usedTheo de Raadt
until the bitter end.
2015-10-12does not need ioctl.hTheo de Raadt
2015-09-25exec.c provided indirection for multiple exec formats. ELF-only now, so...Philip Guenther
2015-09-21Make UKC handle device locators as longsPhilip Guenther
ok miod@
2015-09-11Change device locators type from int to long, for the sake of 64-bit portsMiod 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-23delete a NOTDEF of unused codeTheo de Raadt
2015-01-17document the <sys/param.h>Theo de Raadt
2015-01-16More 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-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo 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-04fix a fd leak in an error pathJonathan Gray
2014-05-29use calloc, from Benjamin BaierTed Unangst
2014-05-18use reallocarray and friends. okay miod@Marc Espie
2014-01-20Obvious markup fixes; ran into this while testing mandocdb(8).Ingo Schwarze
2013-11-23unsigned char casts for ctypeTheo de Raadt
ok jca
2013-10-29emit an extra "config" convenience target that allows oneMarc Espie
to rerun config without changing directories. Lots of inputs by deraadt@, who wanted it to work for movable relative directories.
2013-10-13remote bits for a.out and ecoffTheo de Raadt
ok guenther
2013-08-14some Bx/Ox conversion;Jason McIntyre
From: Jan Stary
2013-07-05More a.out files leave the party.Miod Vallat
2013-07-05ELF_TOOLCHAIN bye bye.Miod Vallat
2013-04-19sw_vp is now in struct nfs_diskless.Florian Obser
input/ok deraadt@, ok miod@
2013-03-28shuffle the KERNEL BUILDING text a little; from daniel dickmanJason McIntyre
2013-03-27some updates from daniel dickman;Jason McIntyre
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-09-17tedu lint tendrils through config internals.Marc Espie
also mark some known targets as .PHONY okay miod@
2012-06-22Improve error messages when removing/recreating symlinks in the build dirPhilip Guenthe
ok deraadt@
2011-10-02Fix 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-02When 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-16remove unused variableCharles Longeau
ok miod@ matthew@
2011-06-26remove mcd example here tooTed Unangst
2011-06-01Kill 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-15stop talking about make depend; ok guentherTheo de Raadt
2011-04-15do not need the run "make depend" reminder anymoreTheo de Raadt
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
for chars.
2010-06-02fix potential use of uninitialized value, and remove unused variables.Charles Longeau
ok deraadt@
2010-05-31Do not add the swap*.c to the CFILES as a dependency. The rest of theTheo de Raadt
Makefile.* file copes with swap*.c the same as vers.c; it is also much nicer to keep the whole CFILES as far-reaching absolute or relative paths rather than relative to . ok miod
2010-05-24automatically generate the _arch= and _mach= lines at the top of the kernelTheo de Raadt
Makefile, since we already know them. (Later on, we can remove the chunks from the Makefile.* files...) ok kettenis
2009-12-10Now that the old SysV SHM size limits global variables are gone, removeMark Kettenis
support for setting them from config(8).
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-19Correct a target name so that we don't rebuild vers.o (and thenPhilip Guenthe
bsd) unless some other object has changed. Rebuild and reinstall in /usr/src/usr.sbin/config/ after updating! "I like it" deraadt@
2009-06-03change "cachepct" to "bufcachepercent" so it is the sameBob Beck
as the variable and the similar sysctl ok deraadt@
2009-03-23correct example; from Sebastian RotherJason McIntyre
2009-01-19Do not forget to adjust offsets for the beginning of the data area for nonMiod Vallat
OMAGIC binaries. Found the hard way by jsg@
2008-11-22Make enable selected by attribute work.Mats O Jansson
Reported by John Lloyd j at bitminer dot ca. -moj
2008-10-03correct comment; a part of PR4184Theo de Raadt
2008-08-14simplify S definition to just srcdir, since it appears there's no specialMarc Espie
case anymore. Note that you can always override it from the command line if you need it. after discussion with deraadt@ and tedu@
2008-08-12basic bounds check on elf header info. avoid crashes on i.e.e truncatedOtto Moerbeek
kernels; noted by jasper@ ok miod@