Age | Commit message (Collapse) | Author |
|
The latter two exposed a large block allocator on top of malloc() which
doesn't really make sense in this decade (the objects are never freed, so
not quite like the famous openssl allocator)
ok millert jsg
|
|
commands. This allows complex actions like changing device
parameters to be done with a command file.
|
|
OK deraadt
|
|
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past
have passed mode_t (0, 044, 0644, or such), which might lead future people
to copy this broken idiom, and perhaps even believe this parameter has some
meaning or implication or application. Delete them all.
This comes out of a conversation where tb@ noticed that a strange (but
intentional) pledge behaviour is to always knock-out high-bits from
mode_t on a number of system calls as a safety factor, and his bewilderment
that this appeared to be happening against valid modes (at least visually),
but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef.
ok millert
|
|
|
|
using config(8);
the contents of this configuration file will be fed to config(8) after
kernel relinking is done, so on the next boot the new kernel will have
all the configuration changes set by the user
this comes handy if you still want to use KARL while making changes
to the GENERIC kernel
diff from Paul de Weerd with input from several developers
|
|
and installing USD/SMM/PSD docs.
jmc@ agrees with the direction, ok millert@ on an earlier diff
|
|
indent_globs.h to indent.c, and (2) changing all the same decls in
indent_globs.h to be extern
ok mortimer
|
|
|
|
become different or the #define's for the slots could diverge. To avoid
this, make one a copy of the other at runtime.
|
|
and leftovers from past commands shmseg/shmmaxpg/nmbclusters
ok kettenis
|
|
This also makes it easier to find the crucial difference between the
two synopses, which is the "-e".
Suggested by kn@; OK jmc@.
|
|
|
|
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.
|
|
ok deraadt
|
|
CTF) is not needed and can be removed.
|
|
decomposition into major and minor is unsigned, so we should print them
with %u instead of %d.
ok guenther
|
|
building: more accurate information can be found elsewhere;
while here, replace Gt sequences;
prompted by a diff from il ka;
ok deraadt guenther
|
|
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@
|
|
ok jca@, deraadt@
|
|
ok deraadt@ jmc@
|
|
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
|
|
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
|
|
files. This fixes up parallel builds in the default case.
FreeBSD does something similar.
okay millert@
|
|
in the source Makefile.* files.
ok tb rpe mlarkin
|
|
|
|
pointed out by brynet
|
|
Problem reported by jdd () cs ! toronto ! edu on bugs.
ok brynet deraadt jmc
|
|
Pointed by jmc@
|
|
|
|
20 years ago. While there, eliminate two dead assignments.
ok natano
|
|
ok natano
|
|
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
|
|
|
|
ok jca, improvements and ok millert, natano
|
|
import from NetBSD in '95 and does nothing except print an error.
ok tb
|
|
ok natano
|
|
ok tb
|
|
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
|
|
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
|
|
ok deraadt@ tb@
|
|
Written with and ok tb@
|
|
Written with and ok tb@
|
|
Xr fix while here...
|
|
|
|
|
|
use pledge and file locking. OK deraadt@
|
|
until the bitter end.
|
|
|
|
|