Commit Graph

85734 Commits

Author SHA1 Message Date
wiz c2370c3f0a Add some \n to error messages. 2001-09-25 00:03:25 +00:00
wiz ae34c20bb1 Fix a typo and two white space nits. 2001-09-25 00:03:03 +00:00
eeh 766a9b8c9c Change bus_space_mmap() signature to the official one. 2001-09-24 23:49:31 +00:00
reinoud 78b6ed208e Change the caddr_t to uintptr_t and remove the cast ... it gave problems
compiling on an LP64 ... discussed with Gimpy, atatat and bleeh
2001-09-24 21:47:57 +00:00
is 36fb85f059 Put default command line into a fixed location with a known size.
This is intended to allow patching of the command line without a
compiler.
2001-09-24 20:27:08 +00:00
bouyer 92aaf348cf Ali M5229 IDE controllers: tweak the rigth 0x79 register (the one from the
pci/isa bridge, not the one from the IDE controller).
2001-09-24 20:03:47 +00:00
atatat 349f0e356b Rearrange the way syslog() is used. Some messages include %m which
syslog understands, but vsnprintf() does not.
2001-09-24 17:55:47 +00:00
rearnsha a5480e24b4 Hmm, on a.out platforms we have
size_t == unsigned int
on elf platforms we have
	size_t == unsigned long int

So use %ld when printing and cast md->md_size to long.
2001-09-24 17:00:52 +00:00
wiz 5554debffd Add a missing va_end. 2001-09-24 14:33:50 +00:00
takemura ca59965026 Renamed platid_search() to platid_search_data() and added new platid_search().
Platid_name() was re-implemented using platid_search().
2001-09-24 14:29:30 +00:00
itohy 0f210a885d Add simple boundary check on CIS parsing.
I have a weird PC-card-style appliance (I'm not sure I may call it a PC card)
whose ``CIS'' reads zeros forever, which caused kernel panic.

For your interest, it is a cooling fan to be inserted to a PC card slot.
2001-09-24 14:19:10 +00:00
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
jdc b6426dff1e Fix typo in !COMPAT_13 case. 2001-09-24 13:19:54 +00:00
wiz 2c42d544fe Fix typo in variable name. 2001-09-24 13:09:48 +00:00
wiz f6f3964e5e Remove formatted man pages. Ok'd by joda. 2001-09-24 12:37:41 +00:00
hubertf 9c540fd029 Fix some typos,
submitted in PR 14053 by Michael K. Sanders <msanders@confusion.net>
2001-09-24 12:15:11 +00:00
hubertf d8250777f4 Make rtsol_flags default to -a, to do Router Solicitation on all
interfaces when someone sets rtsol=YES.

OK'd by Itojun.
2001-09-24 11:34:11 +00:00
takemura ce2f39b63a Hacking code piece, dumping PCI configration register. 2001-09-24 10:42:02 +00:00
leo 1c35b74032 Enable ELF symbols in ddb. 2001-09-24 09:21:24 +00:00
lukem 13a5c8134c fix previous (hi thor!) - $OBJS and $CLEANFILES might be empty, and
rm needs some files to delete...
2001-09-24 09:18:05 +00:00
leo c0233c6e50 Add missing argument to pmap_update(). 2001-09-24 09:17:19 +00:00
lukem 058b690102 the change of calculation of inodes per group in rev 1.52 was far too
aggressive; rework to be a bit less susceptable to round-off error.
now it's likely that the density might not be obtained with a small
filesystem with a large number of inodes (e.g -s 4M -i 1k), but that's
an extremely unlikely corner case that can easily be rectified with
command-line arguments.
fixed provided in private email by Takao Shinohara <shin@sm.sony.co.jp>
should resolve PRs [bin/14049] and [bin/14046]
2001-09-24 08:21:44 +00:00
chs 7bb91a0959 resize the namecache hash table also when desiredvnodes changes. 2001-09-24 06:01:13 +00:00
chs 7173d0a3e8 use pmap_kenter_pa() instead of pmap_enter() in a few places. 2001-09-24 05:37:50 +00:00
eeh 1e7d8c3a11 Print out device details. 2001-09-24 04:39:40 +00:00
mhitch a52fa14deb Run vfs_shutdown() if NOSYNC is *not* set, rather than set. 2001-09-24 03:56:03 +00:00
lukem 5a212acf6e remove acd (non existant), add ld (for hw raid logical drives) 2001-09-24 03:19:43 +00:00
chs 3628675acf implement pmap_wired_count(). 2001-09-24 01:48:15 +00:00
chs fd3414abea fix typo in previous. 2001-09-24 01:29:06 +00:00
sommerfeld 98b0d5654c replace %ecx with %cl to silence new assembler warnings. 2001-09-24 01:09:33 +00:00
tls 5cb98b6cb9 Fix some lossage in previous commit: don't remove everything when cleaning
in a source directory, just the object files.  This is a _very temporary_
fix; I will untangle the meaning of UPDATE, etc. in this context presently.
2001-09-24 01:05:47 +00:00
tls 38809e7a94 Split "cleanprog" target apart: now you can zap only object files or
CLEANFILES (needed to fix crunchgen lossage).
2001-09-24 01:04:32 +00:00
tls 0b6a2936aa Changes to the emitted makefiles that actually build the objects:
1) Always do a make clean before building objects in any directory.  This
   is wasteful, but there's really no other simple way to cope with the
   fact that the compilation settings (e.g. CFLAGS) appropriate for the
   non-crunched build of a program may not be appropriate for the crunched
   build.  If the objdir magic in make didn't rely upon the presence of an
   "obj" or "obj.${MACHINE}" symlink, we could abuse it to handle this but
   unfortunately, it does.

2) Override $DBG to cause object files to be built with -Os.  We can't emit
   "DBG?=" into the generated makefile because of order-of-inclusion issues
   with the system Makefiles; the result would be that the default setting
   (currently -O2) would always be used instead of -Os.  If you're crunching,
   you almost certainly are doing it to get a smaller executable (!) so -Os
   is almost certainly appropriate for you.
2001-09-24 00:40:35 +00:00
sommerfeld b27c418d40 Deal with invokers who pass us environment variable settings as part
of the command they want us to run.

Fixes part 3A of PR#14046
2001-09-24 00:20:11 +00:00
tls 9b9300274d GCC 2.95 generates significantly larger code with -O2 than our old compiler did; this can cause the second-stage bootblock to exceed the number of blocks that fit in the list in the first-stage bootblock. I thought we used to explicitly set -Os in here; anyway, with this change, we do now! 2001-09-23 23:43:29 +00:00
tls aeb590fb1f GCC 2.95 generates significantly larger code with -O2 than our old compiler did; thus we overflow the floppies. I thought we used to explicitly set -Os in here; anyway, with this change, we do now! 2001-09-23 23:40:29 +00:00
jdolecek f5599abc0a fix typo 2001-09-23 19:59:19 +00:00
perry 5f93a646a5 add raid, remove cd drives and floppy drives from the nightly disk
permissions checks.

note: This whole thing needs to be rototilled. And yes, I'm
volunteering to do it.
2001-09-23 19:51:20 +00:00
manu 2d16421460 Moved COMPAT_LINUX config stuff from arch/sgimips to arch/mips, so that it's
available on all Mips ports.
2001-09-23 19:45:41 +00:00
jdolecek d08f6c6e2e pull <sys/exec.h> to get setregs prototype.
problem noted by Chuck Silvers
2001-09-23 19:32:10 +00:00
perry 247041e342 Update the password sanity checking thusly:
1) If a password entry is of the form \*[A-z-]+, do not complain that
   the account is off but has a valid password. Thus you can do
   passwords like *ssh to indicate ssh only logins.
   We should come up with a standard scheme for what various *keywords mean.
   Note that if the field length is 13, 20 or 34 you'll still get
   bitched at.
   This code should be cleaned up. (So should the password scheme.)
2) If the entry is for "toor", don't complain that the account is off
   but has a valid shell. We ship with toor:*:, there is no point in
   complaining about it.

Part of the campaign against spurious security warning output.
2001-09-23 19:10:25 +00:00
eeh c9a848a23c 32-bit kernels have 32-bit pointers. 2001-09-23 17:31:17 +00:00
fredb 43ff3eb524 Nit -- this kernel is called "INSTALLSBC", not "INSTALL". 2001-09-23 17:30:52 +00:00
fredb 780a06ff07 Sync with "GENERIC". 2001-09-23 17:18:00 +00:00
yamt eb8d48e92a enable checking limit of setid and msgid. 2001-09-23 16:32:35 +00:00
uch 6c1c0aff9c improve interrupt response. 2001-09-23 14:32:52 +00:00
simonb b77ae95a9e For ns32k-netbsd, don't add ns32k/xm-netbsd.h to $xm_file; it gets
included in tconfig.h anyway.
2001-09-23 13:55:13 +00:00
simonb 8e868c5d17 Don't define mem{cmp,cpy,set}; from gcc-current after the 2.95.3 release. 2001-09-23 13:42:39 +00:00
chs 59c12af6f5 implement pmap_wired_count(). 2001-09-23 09:01:13 +00:00
jdolecek 6f081befa2 set CC and DESTDIR for mkioctls accordingly
patch by Chris Jepeway via tech-userlevel.
2001-09-23 08:51:11 +00:00