Commit Graph

49180 Commits

Author SHA1 Message Date
bde
873796b4f3 Always include the full symbol table (as specified by its start and
end values in bootinfo) in kernel space if it is loaded (i.e., if its
specified end address is nonzero), not just if it is loaded and DDB
is configured.  This may be used to fix kldsym(2) for booting without
/dev/loader; currently, in this case, it just fixes unused pointers
and wastes space consistently.  For booting in the normal way with
/boot/loader, the table is included and pointed to in a different way
and kldsym(2) works.
2000-06-08 17:53:43 +00:00
dan
9214e704a3 Add tcpoptions to ipfw. This works much in the same way as ipoptions do.
It also squashes 99% of packet kiddie synflood orgies.  For example, to
rate syn packets without MSS,

ipfw pipe 10 config 56Kbit/s queue 10Packets
ipfw add pipe 10 tcp from any to any in setup tcpoptions !mss

Submitted by:  Richard A. Steenbergen <ras@e-gerbil.net>
2000-06-08 15:34:51 +00:00
luigi
c5a16b5d15 Document new dummynet functionality, namely WF2Q+ and RED 2000-06-08 13:38:57 +00:00
asmodai
26de5e1214 Remove \n I overlooked in a previous commit.
PR:		19111
Submitted by:	R. Matthew Emerson <rme@nightfly.apk.net>
2000-06-08 13:29:41 +00:00
luigi
c87748ec4d userland side of WF2Q+ support in dummynet.
Manpage coming later...
2000-06-08 10:08:39 +00:00
luigi
f8b1590104 Implement WF2Q+ in dummynet. 2000-06-08 09:45:23 +00:00
brian
54cf143898 Add some comments and wrap the dial line nicely 2000-06-08 08:58:03 +00:00
brian
45960ab7fa Don't attempt to rm directories under /var/spool/lock. 2000-06-08 08:57:35 +00:00
brian
9d1512d686 Clean /tmp and /var/tmp if $clear_tmp_enable is set to YES in rc.conf
Clean /compat/linux/tmp if $linux_enable is also set to YES in rc.conf
2000-06-08 08:48:15 +00:00
grog
a83c85d14e Clarify which bit of the daemon config disables configuration saves.
This is still terrible.  I need to finally implement variables.

Reported-by:	jmg
2000-06-08 07:27:35 +00:00
kris
8f4c61bafe Prevent a non-exploitable remote buffer overflow.
Reported by:	twitch <twitch@vicar.org>
Submitted by:	Guido van Rooij <guido@gvr.org>
Reviewed by:	security-officer
2000-06-08 03:54:45 +00:00
jhb
44ff32eddf Enable USB in GENERIC on the Alpha.
Reviewed by:	deathly silence on -alpha
2000-06-08 01:17:51 +00:00
dcs
960e3736f7 Put some version checking. 2000-06-07 22:19:49 +00:00
dcs
e0a13c3db6 Bump loader version due to FICL (duh!) and copyin, copyout, setenv&cia. 2000-06-07 22:14:09 +00:00
dcs
b7e294d3d7 Bump loader version due to copyin, copyout, setenv&cia. 2000-06-07 22:12:21 +00:00
dcs
c59a0f04e8 Modify boot-conf so it can take a kernel or directory name as
a parameter and dtrt.

Also, make boot-conf always unload first. There wasn't really any
point in not doing this, as the kernel _has_ to be loaded before
any other modules.

Tested by: dwhite
2000-06-07 22:10:05 +00:00
jmg
26b5923f85 add a BUGS section on how we can only watch VNODE's on a UFS file system
right now...

I talked w/ phk last night and "fixing" this in a generic way is going
to require a lot of complex thought on stacking let alone the NFS problems..

add missing sys/time.h for struct timespec def...
2000-06-07 22:09:16 +00:00
dcs
3bb6c3500d Add setenv, getenv, setenv?, unsetenv, copyin and copyout to FICL. 2000-06-07 22:07:01 +00:00
dcs
1feeb6c84f Remove AGAIN definition, as FICL 2.04 provides it.
Add strlen, to help handling data generated by C code.

Add 2>r 2r>, because OO programming without them sucks.
2000-06-07 22:03:37 +00:00
dcs
79159a25e9 Remove a bug that caused local variables declarations in the format
{ | internal -- } to be rejected.
2000-06-07 22:00:10 +00:00
dcs
890b457137 Place original builtins in a vocabulary called "builtins". This
is intended mainly for debuging purposes, but it can be used by
other words if done carefully.
2000-06-07 21:57:23 +00:00
rwatson
7bd3451de2 Dammit.
Trimmed an extra sysctl when I moved kern.suser_permitted from kern_mib.c
to kern_prot.c.  This commit should restore it, as well as fix the
resulting build problems.

Submitted by:	asmodai
2000-06-07 18:54:41 +00:00
wilko
4c8ed49f7d [NoName]: provide ftp pointer to OEM guide instead of having people email
me for it.
Note no support for VESA VGA on alpha.

Submitted by:	Peter van Dijk <petervd@vuurwerk.nl>
2000-06-07 17:47:57 +00:00
mjacob
e74fdf67b1 Do an explicit getenv on boot_verbose. Now that we have a real FICL boot
loader for alpha (Yay!) we still need to explicitly look for boot_verbose-
I assume because the boothowto flags aren't passed to us at boot like x86.

Do some minor cosmetics as well.
2000-06-07 17:36:17 +00:00
wpaul
2780e3cc18 When I tweaked if_dc.c to alter the polling interval for non-MII
21143 chips, I accidentally removed the DC_MII_REDUCED_POLL flag
for all 21143 cards. This caused problems with timer-instigated
TCP retransmits, which happened to occur at the same time as an
MII poll tick on MII-based cards (e.g. D-Link DFE-570TX). Fixed this,
plus made some other cleanups. The autoneg fixes for the non-MII
cards still work. Also tested the PNIC II now that I have one again.
2000-06-07 17:07:44 +00:00
iwasaki
7f298d76a1 Fix gdt pointer for the current cpu on SMP.
This will support power-off only.  Fix for suspend/resume will come later.
Also, MFC on this is shceduled on next week.

Submitted by:	sumitani@bd2.hnes.nec.co.jp
Reviewed by:	jlemon
2000-06-07 17:01:52 +00:00
cg
d31f0cba49 handle duplex properly in the AIOGCAP ioctl - this may (partially?) fix rat 2000-06-07 11:51:30 +00:00
ru
df2eccbe25 Document /usr/lib/aout.
PR:		conf/18167
2000-06-07 07:41:09 +00:00
rwatson
461ff0c021 Introduce additional POSIX.1e-related stubs
o options CAPABILITIES
o kern/kern_cap.c -- syscall stubs returning ENOSYS

syscalls.master changes to follow

Obtained from:	TrustedBSD Project
2000-06-07 04:53:49 +00:00
grog
c0fc2e259b Update description of checkparity and rebuildparity commands. 2000-06-07 04:15:40 +00:00
grog
c5d893ab09 continue_revive: Set the revive blocksize correctly in the ioctl request. 2000-06-07 04:12:39 +00:00
grog
f24f4e9e3e vinum_start: Set the revive blocksize correctly.
checkparity: Allow the -v flag to display progress.
2000-06-07 04:09:55 +00:00
rwatson
d68a3ccc04 o Include file for POSIX.1e capabilities support
- Kernel and userland function calls
  - Struct describe capability set
  - Constants for individual capabilities (some POSIX.1e, some Linux,
    some BSD)

No supporting code to be committed yet, this commit allows dependent
development take place.

Reviewed by:	bde
Obtained from:	TrustedBSD Project
2000-06-07 03:40:55 +00:00
grog
9e313932fe start_object: Set the revive length correctly. 2000-06-07 03:34:18 +00:00
dcs
7d9d87e4b0 Remove residual printf.
Prodded by: msmith
2000-06-07 03:33:12 +00:00
grog
fe4fcd5ef4 revive_block:
Fix several instances of breakage in RAID-5 revive code.

   Tidy up code.

parityops:
   Don't attempt to do anything if the plex is degraded or worse.

parityrebuild:
   Add comments.
   Perform transfers in correct length.
2000-06-07 03:33:09 +00:00
cg
e5bd404831 enable ds1 driver 2000-06-06 23:34:19 +00:00
obrien
e3b254d993 Add links to "edit" to ease tech support's job. 2000-06-06 22:55:41 +00:00
cg
adfcec1b05 this driver does not support the cs4281 and probably never will, different code
will be required
2000-06-06 22:42:57 +00:00
cg
fe88ac53d7 support recording 2000-06-06 22:34:09 +00:00
cg
5277facfee improve recording 2000-06-06 22:30:22 +00:00
cg
37f5f22631 don't panic if we try to add a channel we said we wouldn't 2000-06-06 22:24:53 +00:00
wilko
1a9a581259 [Miata]: document SRM upgrade requirement when experiencing SRM
'scancode' errors after halting FreeBSD.
2000-06-06 19:32:11 +00:00
ache
e3ec0bab3d Null commit to fix commit log message.
Rev 1.30 incorrectly stated "spaces to TABs replace", when it should have been
"TABs to spaces replace"

Pointed-by: obrien
2000-06-06 16:39:24 +00:00
obrien
3daa465b23 Properly spell "OSF/1". 2000-06-06 16:18:53 +00:00
dillon
9adc558957 INTR_TYPE_FAST / FAST_INTR interrupts (currently just serial interrupts)
have their own lock and do not need the MP lock.  The SMP cleanup was
    a little too conservative in MP locking fast interrupts but at least
    it's trivial to fix.  MFC soon.

Submitted by: bde
2000-06-06 15:28:00 +00:00
ache
2c6f62e2ff Fix one conditionalization in my prev. commit 2000-06-06 13:02:52 +00:00
ache
08693c6a2b Greately simplify oxtabs fix by simple setting f_notabs for f_color 2000-06-06 12:44:29 +00:00
ache
810473589e Honor f_notabs flag even in COLORLS 2000-06-06 12:25:17 +00:00
bde
b349c7ffdb Removed bogus 'l' suffixes in FP register to register instructions. 2000-06-06 12:12:36 +00:00