Commit Graph

70328 Commits

Author SHA1 Message Date
jdolecek
fd6eeb2e1d in regexp handling code, fix the format passed to asprintf() to be
actually in intended form - use "%.*s" and not incorrect "%*s"

Bug found by Launey Thomas <ljt@alum.mit.edu> and reported in private e-mail.
2000-09-29 17:49:21 +00:00
fvdl
989e0d2613 Build this on ELF as well. When on an ELF system, only look in
_PATH_EMUL_AOUT/etc/ld.so.conf.
2000-09-29 17:47:52 +00:00
eeh
8e5075103f This seems to fix the interrupt lossage of non-debug kernels. 2000-09-29 17:02:38 +00:00
tsutsui
cdb3d9df80 Add sip* at pci. 2000-09-29 14:45:59 +00:00
fvdl
2e6f523813 Bump CPU_MAXFAMILY to 7. 2000-09-29 14:17:17 +00:00
fvdl
3cb9873a8d Recognize Pentium 4. Treat everything with model > 6 as model 7 for now,
in the hope that Intel doesn't start number backwards now that they
picked 15 for the P4.
2000-09-29 14:16:23 +00:00
ad
50cf734d26 (*minphys)() musn't return zero. 2000-09-29 13:27:12 +00:00
fvdl
243ae4806b oops, typo in previous (|| -> &&) 2000-09-29 13:15:48 +00:00
fvdl
33234ff066 Don't print anything when the serial number is not supported. There are
a lot of other features that may not be supported either, no need to
print them.
2000-09-29 13:05:12 +00:00
wdk
caccbc2e21 Add kernel support for memory disks 2000-09-29 12:43:14 +00:00
wdk
ff795bd7a3 Add "MAKEDEV minimal" target for ramdisk builds
Tidy up a few comments at the same time.
2000-09-29 11:43:48 +00:00
agc
9da93f35c8 Add functionality for adding usernames to secondary groups via the
"usermod -G group user" command.

Fixes PR/11071.
2000-09-29 10:37:26 +00:00
tsubai
e256cfb9ec Fix a bug that prevents the kernel from detecting the root device. 2000-09-29 10:14:20 +00:00
explorer
62da00b60c clean up printing when serial number not supported or disabled. 2000-09-29 09:07:53 +00:00
explorer
be5f26e138 print CPU serial number at boot time. After all, we have a million other flags printed, what's one more interesting one. 2000-09-29 09:03:18 +00:00
msaitoh
3c5d2c7fac avoid SH7709A's serious bug (it fails to read IPR* registers under particular
circumstances)
2000-09-29 08:08:37 +00:00
deberg
623e319553 add support for 12-bit color displays, from Timm Wetzel w/ changes by
me.  closes 10741.
2000-09-29 06:35:57 +00:00
deberg
a295f43fb1 merge lines 2000-09-29 06:33:37 +00:00
deberg
b01c657c80 add RCONS_BPP16 for color display
also lose esp0 since i have no disc in this machine, and build symbols.
2000-09-29 06:33:17 +00:00
deberg
44c2ad4763 add RCONS_BPP16 for color display 2000-09-29 06:32:38 +00:00
deberg
9a37177d17 fix 16BPP support (for next68k), from Timm Wetzel. 2000-09-29 06:29:47 +00:00
simonb
01c5215d95 Fix typo in comment. 2000-09-29 00:53:41 +00:00
mjl
b1342ea8af Removed duplicate entry. Fixes FreeBSD PR/21629. 2000-09-29 00:40:40 +00:00
mellon
b58f5e5835 - Figure out how long if list buffer needs to be if it's too short (fixes
PR#10968).
2000-09-29 00:37:37 +00:00
mellon
a894c0a5ef Goto label was in slightly wrong place. 2000-09-29 00:30:56 +00:00
eeh
15eaba378c Only call pcons_dopoll() if there's a pcons device. 2000-09-29 00:27:13 +00:00
thorpej
a04669c405 Add ssh-related files. 2000-09-28 22:25:28 +00:00
thorpej
9f6ddd1801 Enable the ssh build framework. 2000-09-28 22:20:58 +00:00
thorpej
c949d8af3c Always install sshd. 2000-09-28 22:16:15 +00:00
thorpej
49a55a1d58 Import NetBSD Secure Shell. This is based on OpenSSH, but modified
somewhat.
2000-09-28 22:09:28 +00:00
thorpej
03aaa05985 Update for most recent ssh source files. 2000-09-28 22:06:44 +00:00
eeh
5c98160d2b Separate user and kernel address spaces and move the kernel down to
0x0000000001000000 -- 0x00000000f0000000, below the PROM where the
PROM thinks we should be.
2000-09-28 19:56:13 +00:00
eeh
d21456569e Fix INTR_SETUP() to properly distinguish kernel and user addresses.
Make microtime() return the correct time on %tick machines.

Re-enable debug stuff in dostart for now to detect kernel mapping issues.
2000-09-28 19:27:49 +00:00
eeh
1090c8a9cf probeget() actually handles 64-bit values so fix the prototype. 2000-09-28 19:16:35 +00:00
eeh
1ecf6779be Add support for variable end of user stacks needed to support COMPAT_NETBSD32:
`struct vmspace' has a new field `vm_minsaddr' which is the user TOS.

	PS_STRINGS is deprecated in favor of curproc->p_pstr which is derived
	from `vm_minsaddr'.

	Bump the kernel version number.
2000-09-28 19:05:06 +00:00
eeh
0ca74ba0d8 Fix the `trap type 0x10' problem. Apparently, something has changed and
now makes use of lockmgr().  Since we broke into the debugger from an interrupt,
we don't have a curproc, so when lockmgr() tries to find our PID it barfs,
causing another break into DDB which then calls the mysterious code that
calls lockmgr() again.....

So set doing_shutdown while we're in DDB so lockmgr ignores locks.
2000-09-28 18:54:39 +00:00
thorpej
59ef356b35 Reintroduce the ACPI memory map code. The bug that caused the
IDT to be scribbled over on some systems was found and fixed by
T.SHIOZAKI <tshiozak@netbsd.org>.
2000-09-28 18:31:36 +00:00
jdolecek
f8031c2d6d add code to recognize special ftpd utmp entries and match corresponding
process accordingly, so that w parses entries made by "ftpd -U" correctly

the new code is conditionalized upon define SUPPORT_FTPD_UTMP, turned
on by default in w(1)'s Makefile

This addresses bin/11095 by Daniel Hagerty.
2000-09-28 18:20:29 +00:00
jdolecek
ca98463029 call setlogin() before dropping root privileges, so that process
would have correct p_login value
2000-09-28 17:49:06 +00:00
hubertf
4ad90fabc3 Move description of /usr/mdec/biosboot*.sym from installboot.8 to boot.8,
pointed out by Jason Thorpe.^
2000-09-28 16:18:42 +00:00
uch
154f1e86b1 fix tx39clock_alarm_refill bug. 2000-09-28 16:18:26 +00:00
eeh
6776b270ae Remove unneeded cache flushes. 2000-09-28 15:47:27 +00:00
eeh
a6205d98a9 Poll pcons for input on softints in case someone want to break into the debugger. 2000-09-28 15:38:49 +00:00
eeh
abeb734bb9 Cannot distinguish kernel and user addresses any more. 2000-09-28 15:34:38 +00:00
eeh
5b577f0c8f Add a command that locates the page structure corresponding to a pa. 2000-09-28 15:32:36 +00:00
eeh
3a2599ebec Don't take ref/mod faults on DMA segments mapped in to the kernel. 2000-09-28 15:28:43 +00:00
eeh
a5a8082482 Use prom_printf() for debugging instead of printf() since the console may
not be functional.
2000-09-28 15:23:06 +00:00
eeh
25ce73d7b3 Fix bad path specifier for finding fpu sources. 2000-09-28 15:19:56 +00:00
sommerfeld
e970dc32cd Move cpu header right 3 spaces to match grouping in man page 2000-09-28 14:56:52 +00:00
sommerfeld
4d7c61e467 Synch with implementation (correct problem reported in misc/11086) 2000-09-28 14:51:15 +00:00