Commit graph

64511 commits

Author SHA1 Message Date
Brian Somers b550f7176f Handle the absence of net.inet6.ip6.fw.verbose_limit better 2001-09-14 11:18:06 +00:00
Peter Wemm e433a4a84b Update this to compile on the Alpha. 2001-09-14 11:08:44 +00:00
Ruslan Ermilov c9842b5a55 Set BINOWN=root explicitly for setuid root binaries. 2001-09-14 11:03:34 +00:00
Jeroen Ruigrok van der Werven 84f67d92c7 For old gcc/gcc-based compilers and non gcc compilers make sure to
hide the __attribute__ gcc keyword.

Reviewed and helped by:	peter
2001-09-14 11:01:09 +00:00
Jeroen Ruigrok van der Werven b92238bcc4 style(9) correct #define's followed by a space to be followed by a tab
instead.

MFC after:	2 weeks
2001-09-14 10:50:11 +00:00
Peter Wemm 949224d60e Set thread0->td_pcb, this is probably why jake was getting a null deref. 2001-09-14 09:41:26 +00:00
Murray Stokely 716c312b94 Increase disk space estimate for installing the ports collection from
70MB to 100MB.

Submitted by: rpratt
2001-09-14 08:51:17 +00:00
Murray Stokely 417257575f Whitespace change only. Use the same indention level throughout this
file and add a blank line after variable declarations.

Submitted by:	jhb
2001-09-14 08:39:22 +00:00
Doug Rabson 28d7d2f0a0 Plug in ELF backend. 2001-09-14 08:28:17 +00:00
Doug Rabson 327b34100f Add ELF backend to the build. 2001-09-14 08:27:49 +00:00
Doug Rabson f19fa0b627 Make this do the right thing (mostly). We should still reserve the pages
that the kernel loads into using the EFI AllocatePages call.
2001-09-14 08:26:00 +00:00
Marcel Moolenaar b7a81e06aa Fix off by one error introduced by the use of the ifnet_byindex()
macro. The commit log clearly states that the index given to the
macro is one higher than previously used to index the array. This
wasn't represented in the code and resulted in kernel page faults.

Reported by: Andrew Atrens <atrens@nortelnetworks.com>
2001-09-14 08:04:25 +00:00
Warner Losh cfcb80526f Bump version to 500023 to reflect massive changes necessary for the
KSE Milestone 2 commit.
2001-09-14 05:24:50 +00:00
Warner Losh a9649ce6be Merge sys/isa/sio.c 1.343
KSE changes

Reviewed by: julian, bde, jhb
2001-09-14 05:05:08 +00:00
Warner Losh 5fb0e81d8b Merge from sys/dev/syscons/syscons.c 1.373
kse changes

# Note: There are a number of trivial and non-trivial diffs between this and
# sys/dev/syscons/syscons.c that I didn't try to account for.

Reviewed by: julian, bde, jhb
2001-09-14 05:02:12 +00:00
Warner Losh 06da1def0c Merge from sys/i386/isa/sprk.c 1.50, 1.51
KSE changes and acpi attachment

Reviewed by: julian, bde, jhb
2001-09-14 04:58:30 +00:00
Warner Losh 2895a1020c Merge KSE changes from sys/dev/syscons/scterm-sc.c 1.17
# there are more "trivial" diffs in this file that have accumulated over time
# and I didn't try to fix those.

Reviewed by: julian, bde, jhb
2001-09-14 04:54:38 +00:00
Warner Losh da4e3cd357 KSE changes for olpt driver
Reviewed by: julian, bde, jhb
2001-09-14 04:50:27 +00:00
Warner Losh 58be6f3ff5 Merged sys/i386/isa/npx.c 1.110, 1.111, 1.112 KSE
Reviewed by: julian, bde, jhb
2001-09-14 04:46:57 +00:00
Warner Losh 8b8a72ee71 s/thread'/thread's/ 2001-09-14 04:40:44 +00:00
Warner Losh 4417ce7d9e Changes necessary for KSE world
Reivewed by: julian, bde, jhb
2001-09-14 04:35:50 +00:00
Warner Losh e8b6d44e89 Merge changes from sys/i386/isa/mse.c 1.56 and other tweaks for KSE
Reviewed by: julian, kde, jhb
2001-09-14 04:34:54 +00:00
Bruce A. Mah e26dcaf81e The Books and Articles section was very choppy due to its cut-and-paste
origins and prior edits.  Polish it.
2001-09-14 04:33:37 +00:00
Warner Losh 8ed1ddc825 Merge from sys/isa/fd.c 1.221 and a few minor tweaks to make compile
with the post KSE world.

Reviewed by: julian, bde, jhb
2001-09-14 04:30:39 +00:00
Warner Losh 2fb670e0b5 Merge from sys/i386/i386/machdep.c 1.480 (Julian's KSE changes)
Reviewed by: julian, bde, jhb
2001-09-14 04:27:42 +00:00
David E. O'Brien 2af8d76dad Re-apply rev 1.178 -- style(9) the structure definitions.
I have to wonder how many other changes were lost in the KSE mildstone 2 merge.
2001-09-13 22:52:42 +00:00
John Baldwin bce9841972 Fix locking on td_flags for TDF_DEADLKTREAT. If the comments in the code
are true that curthread can change during this function, then this flag
needs to become a KSE flag, not a thread flag.
2001-09-13 22:33:37 +00:00
John Baldwin 1cb99346e1 Adjust some locking comments. 2001-09-13 22:29:23 +00:00
Julian Elischer bfd99d15e9 Fix typo.
noticed by: jhb
2001-09-13 22:02:48 +00:00
Julian Elischer 7405406837 fix typo
pointed out by: jhb
2001-09-13 21:59:40 +00:00
Julian Elischer 910bca5353 shift a few flags around.. (physically, not logically) 2001-09-13 21:55:15 +00:00
Andrew Gallatin c97e08fb94 fix savecore so that it works on the alpha after the size change
of dumpmag from an int to a u_long in rev 1.41 -- without this
change, savecore will always fail like this:

#savecore -v /var/crash
dumplo = 874356736 (1707728 * 512)
savecore: magic number mismatch (8fca0101 != 8fca0101)
savecore: no core dump
2001-09-13 21:19:13 +00:00
Michael Reifenberger d528be2bf3 PR: kern/29698 (part)
Reviewed by:	audit
Implement SEM_STAT (like IPC_STAT but treats semid as sema-index).
The linuxerator will need it.
2001-09-13 21:06:41 +00:00
Michael Reifenberger b3a4bc4247 PR: kern/29698 (part)
Reviewed by:	audit
Add tunables for the sem* and shm* syscontrols for tuning on boottime
until they become dynamic.
SAP R/3 doesn't like the compiled in defaults.
2001-09-13 20:20:09 +00:00
Ruslan Ermilov 8f9dacc2e6 Clean up, WARNSify, unbreak -v option handling. 2001-09-13 14:55:59 +00:00
Ruslan Ermilov 7b24b50458 Now that we have it, replace `afterinstall' target with SCRIPTS. 2001-09-13 14:26:31 +00:00
Doug Rabson f0f40e4c2a Update code which creates bootinfo. 2001-09-13 12:49:02 +00:00
Doug Rabson 0b02d706db * Enable dynamically linked kernel. This involves adding a self-relocator
to locore to process the @fptr relocations in the dynamic executable.
* Don't initialise the timer until *after* we install the timecounter to
  avoid a race between timecounter initialisation and hardclock.
* Tidy up bootinfo somewhat including adding sanity checks for when the
  kernel is loaded without a recognisable bootinfo.
2001-09-13 12:39:15 +00:00
Brian Somers ed1e8460bd sigpause() -> sigsuspend()
sigblock() -> sigprocmask()
2001-09-13 10:03:30 +00:00
Brian Somers d9dc3116bf Correct alignment issues
Obtained from: OpenBSD
2001-09-13 10:03:20 +00:00
Dag-Erling Smørgrav f28f539f3c Add a strcasecmp() call I forgot in my hurry to commit the previous fix.
Without this call, the hostname check would in some cases yield false
positives.

Pointed out by:	ru
2001-09-13 09:40:35 +00:00
Brian Somers ee52a08baa Spell syslog.conf correctly
Submitted by:	Tony Finch <dot@dotat.at>
PR:		30545
2001-09-13 09:06:51 +00:00
Michael Reifenberger 1956b8f9bf Add ext2fs module 2001-09-13 08:27:23 +00:00
Warner Losh 7cf44afd1a <jkh> "Hey Rocky, watch me eject this pccard outta my laptop!" "What,
again?  That NEVER works!"  "This time for sure!"

Minor overhaul of how we do interrupts for the pci interrupt routing
case to cope with card ejection better (read: make it not hand on so
many cards):
	o Reintroduce func_intr and func_arg and use the to store the
	  interrupt handler to call.
	o Create a pcic_pci_func_intr to call the real interrupt handler
	  iff the card hasn't been ejected.
	o Remove some checks in pcic_setup_intr now that it is used
	  exclusively for isa routed interrupts.
	o Defer the eject event until later too, but make sure we can't
	  do any client driver ISR calling in the interrum.
	o Add some simple code to make sure that we don't attach more
	  than one child.  This should fix pccardd starting twice
	  problem (ala single user -> multi-user when you started pccardd
	  by hand in SU).

MFC: after jkh thinks I've put the crack pipe away.
2001-09-13 08:26:55 +00:00
Ruslan Ermilov fa8baa7a9e Fixed the BINGRP handling mess.
EXEGRP and EXEMODE are used to install DOS (EXE format) binaries.
doscmd(1) can optionally be installed as ``setgid kmem''.
Hence the assignment operator for EXEGRP.

PR:		bin/30538
2001-09-13 07:20:51 +00:00
Ruslan Ermilov 99f469761e Don't override BINGRP -- this binary is not ``setgid bin''.
PR:		bin/30538
Submitted by:	Tony Finch <dot@dotat.at>
2001-09-13 06:52:42 +00:00
Dag-Erling Smørgrav db87d61acf The previous commit appeared to just shove the bug under the carpet rather
than really solve it.  This approach (inspired by Ruslan's patch) solves
the real problem by stripping the local domain off the host name in the
config line structure.

Also mark a bunch of code sections that either do not check the return value
of a strdup(), malloc() or calloc() call, or do not properly handle a NULL
return.
2001-09-13 06:48:41 +00:00
Ruslan Ermilov cda2a9b2f0 Set BINOWN=root explicitly for setuid root binaries.
This is not "useless", as one may have non-default
setting for BINOWN in make.conf, and we still want
these to be installed setuid root in this case.
2001-09-13 06:48:18 +00:00
Murray Stokely 9b8a07ff32 'make release' should install docproj ports with BATCH=yes so that your
release builds don't stop in the middle of the night asking for user
input about which Ghostscript drivers to install.
2001-09-13 06:44:36 +00:00
Warner Losh 8dac8c268d Due to a bug in the ed driver, which leads to hangs when using it with
dhclient and pccard_ether, introduce the concept of a "settle time" to
pccard_ether with the new pccard_ether_delay variable.  Defaults to 5
seconds, which is enough time for the ed driver to finish its
autoconfiguration for newer Linksys based cards.  This also can
eliminate the ed0: timeout messages that happen at startup as well.

MFC: after RE says OK.
2001-09-13 06:18:07 +00:00