| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
| |
Factor the ufs reading code out of the i386/boot2 loader so it can
be reused by for instance sparc64.
Sponsored by: DARPA and NAI Labs.
|
|
|
|
|
|
| |
Translators can ignore this commit.
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
| |
up the module_path string, we would walk one past the end of the buffer.
This hurting ia64 originally, but it was probably also happening on i386
occasionally as well. The effects were usually harmless, it would add
bogus "binary" search directories to the places it actually looked for
files.
|
|
|
|
|
| |
PR: 36308
Submitted by: dcs
|
|
|
|
| |
Elf_Hashelt.
|
|
|
|
|
| |
in the kernel side of things some time ago. The hash table entries are
always 32 bits wide, even on 64 bit machines.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
deep in <stand.h> to eventually include <time.h> to declare the user
version.
This is not quite the right place to declare it, but <stand.h> would
be worse because time() is very MD so it isn't in libstand.
Many places in the boot sources still get the user version using only
1 layer of pollution (#include <sys/time.h>. Some pollute themselves
directly (#include <time.h>). But the boot Makefiles are too broken
to enable warnings for redeclarations.
|
| |
|
|
|
|
| |
Reviewed by: alfred
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
|
|
| |
This allows obtaining crash dumps from the panics occured during late stages
of kernel initialisation before system enters into single-user mode.
MFC after: 2 weeks
|
|
|
|
| |
submit to Jonathan Mini.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Change the 'fopen' keyword to accept a mode parameter. Note that this
will break existing 4th scripts that use fopen. Thus, the loader
version has been bumped and loader.4th has been changed to check for a
sufficient version on i386 and alpha. Be sure that you either do a full
world build or install or full build and install of sys/boot after this
since loader.old won't work with the new 4th files and vice versa.
PR: kern/32389
Submitted by: Jonathan Mini <mini@haikugeek.com>
Sponsored by: ClickArray, Inc.
|
|
|
|
|
|
| |
PR: kern/32389
Submitted by: Jonathan Mini <mini@haikugeek.com>
Sponsored by: ClickArray, Inc.
|
|
|
|
| |
also don't use ANSI string concatenation.
|
|
|
|
|
|
| |
since other related tunables were also documented here. Add a cross
reference to tuning(7) for information on setting this value
appropriately.
|
|
|
|
|
|
| |
PR: 32454
Submitted by: Gary W. Swearingen <swear@blarg.net>
MFC after: 3 days
|
|
|
|
|
| |
PR: 32455
Submitted by: "Gary W. Swearingen" <swear@blarg.net>
|
|
|
|
|
|
| |
PR: kern/32351
Submitted by: Jonathan Mini <mini@haikugeek.com>
MFC after: 1 week
|
|
|
|
|
|
| |
On OFW based machines, it is just too confusing having the firmware and
OS loader giving the same prompt. This is a nice compromise that 99% of the
users on non-OFW platforms will probably not even notice.
|
|
|
|
|
|
|
| |
comments and function names.
PR: kern/8589
Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
|
|
|
|
|
|
|
|
| |
instead of looping until the disk is full. This kind of failure can
especially happen when a version of awk that doesn't support POSIX
character classes is used.
Submitted by: David Wolfskill <david@catwhisker.org>
|
| |
|
|
|
|
|
|
| |
devices in 'lsdev' output rather than printing out a pointer to the
print function since the user really could care less about the pointer
value. Perhaps this was intended to be a debugging printf?
|
|
|
|
| |
The community feels our base AWK must handle them.
|
|
|
|
|
|
|
| |
"character classes", basically). So change them to their character
representation.
Submitted by: David Wolfskill <david@catwhisker.org>
|
| |
|
|
|
|
|
|
|
| |
tool (kldxref(8)) keeps a cache of what modules and versions are inside
what .ko files. I have tested this on both Alpha and i386.
Submitted by: bp
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
information. The default limits only effect machines with > 1GB of ram
and can be overriden with two new kernel conf variables VM_SWZONE_SIZE_MAX
and VM_BCACHE_SIZE_MAX, or with loader variables kern.maxswzone and
kern.maxbcache. This has the effect of leaving more KVM available for
sizing NMBCLUSTERS and 'maxusers' and should avoid tripups where a sysad
adds memory to a machine and then sees the kernel panic on boot due to
running out of KVM.
Also change the default swap-meta auto-sizing calculation to allocate half
of what it was previously allocating. The prior defaults were way too high.
Note that we cannot afford to run out of swap-meta structures so we still
stay somewhat conservative here.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This should make dependencies at load time work like before. Oops.
Noticed by: markm
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: Adrian Steinmann <ast@marabu.ch>
MFC after: 2 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
file is processed by passing its name in argv[1]:
return(mod_loadobj(typestr, argv[1]));
however, it is not tested to see if argv[1] actually is defined.
At best, mod_loadobj() near line 244 returns an error like
"can't find 'garbage'" but if the "filename" entered is sufficiently
long, some buffer gets overrun. Of course, "load -t filename" is
actually a typo because we meant to type "load -t mfs_root filename";
nevertheless, a hung machine seems like too harsh a punishment for
such a small typo...
PR: i386/27693
Submitted by: Adrian Steinmann <ast@marabu.ch>
MFC after: 1 week
|
| |
|
|
|
|
| |
LC_ALL takes precedence over other LC_* envariables.
|
| |
|
|
|
|
|
|
| |
pager_output(), respect that choice.
PR: 15747
|
| |
|