Commit Graph

28257 Commits

Author SHA1 Message Date
Poul-Henning Kamp 3d65e4d1f8 Like most Unices FreeBSD should have a larger tty field at least
as large as UT_LINESIZE (/usr/include/utmp.h). If the tty name is logged
with this size why isn't the w command reporting it?

(We should probably report the tty/cua prefix then as well ? /phk)

PR:		4187
Reviewed by:	phk
Submitted by:	Jorge M. Goncalves <ee96199@tom.fe.up.pt>
1998-04-19 18:32:01 +00:00
Poul-Henning Kamp c5d1ef4169 The current version of netstat does not print the interface
name for AF_LINK routing entries. This makes debugging
network problems more difficult.
PR:		4182
Reviewed by:	phk
Submitted by:	Craig Leres <leres@ee.lbl.gov>
1998-04-19 18:18:25 +00:00
Poul-Henning Kamp d459926593 Ctags write to buffer beyond the end of it when the source file
doesn't end with '\n'. It brings segmentation fault.

PR:		4812
Reviewed by:	phk
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
1998-04-19 18:00:49 +00:00
Poul-Henning Kamp 0a61a2c2ce Problem whith "subnet=" statement in /etc/gateways.
routed discards the first character of the network address.
Example: "subnet=10.0.0.0/24,1"
The network address is interpreted as 0.0.0.0/24,1.
PR:		4825
Reviewed by:	phk
Submitted by:	Mike E. Matsnev <mike@azog.cs.msu.su>
1998-04-19 17:53:16 +00:00
Poul-Henning Kamp f934279d20 mt should report the compression status.
PR:		5276
Reviewed by:	phk
Submitted by:	Matt Dillon <dillon@best.net>
1998-04-19 17:28:14 +00:00
Poul-Henning Kamp 4565cbea29 According to:
ftp://ftp.isi.edu/in-notes/iana/assignments/port-numbers

port numbers are divided into three ranges:

	    0 -  1023 Well Known Ports
	 1024 - 49151 Registered Ports
	49152 - 65535 Dynamic and/or Private Ports

This patch changes the "local port range" from 40000-44999
to the range shown above (plus fix the comment in in_pcb.c).

WARNING: This may have an impact on firewall configurations!

PR:		5402
Reviewed by:	phk
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1998-04-19 17:22:30 +00:00
Bruce Evans 212b37ff18 Support compiling with `gcc -pedantic' (don't use hard newlines in
(asm) string constants).
1998-04-19 15:41:06 +00:00
Bruce Evans 1696756396 Support compiling with `gcc -pedantic' (don't use hard newlines in
(asm) string constants or hard long long constants).
1998-04-19 15:39:26 +00:00
Bruce Evans 721f74b7d3 Support compiling with `gcc-pedantic' (don't declare static arrays
with no size).
1998-04-19 15:36:12 +00:00
Bruce Evans 8c4a6d7452 Support compiling with `gcc-pedantic' (don't use hard newlines in
(asm) string constants or trailing commas in enum declarations).
1998-04-19 15:28:30 +00:00
Brian Somers 42c0f1c9e0 Remove duplicate decls
Not objected to by: freebsd-hackers
1998-04-19 15:28:08 +00:00
Bruce Evans 78a8182665 Support compiling with gcc -pedantic (don't use a bogus, null cast). 1998-04-19 15:22:48 +00:00
Eivind Eklund eb57f92476 Add an ".ifmake regress" to avoid warning during 'make world'.
Noticed by:	bde
1998-04-19 14:27:45 +00:00
Dmitrij Tejblum 878739de43 Cosmetic: put '@' in front of a very long command. 1998-04-19 13:44:52 +00:00
Bruce Evans 3b5ad50e7d Never generate neqn at install time (the previous fix for this was
incomplete).
1998-04-19 13:25:54 +00:00
Poul-Henning Kamp e6bb224e43 Allow specification of cache-size to pwd_mkdb
PR:		5193
Reviewed by:	phk
Submitted by:	Nick Hilliard <nick@foobar.org>
1998-04-19 07:15:34 +00:00
Poul-Henning Kamp 3f643d87bb ctime_r and asctime_r are not implemented.
prototypes in time.h do not match POSIX.

PR:		6345
Reviewed by:	phk
Submitted by:	Dmitry Khrustalev <dima@xyzzy.machaon.ru>
1998-04-19 06:47:25 +00:00
Peter Wemm 823833f19d Back out previous commit, obrien doesn't seem to be watching. The problem
is that the previous commit spammed a hacked 2.2-stable onto -current,
deleting the DMA support etc.  (I guess that's one way of minimizing diffs
between -current and -stable.. :-] )
1998-04-19 03:26:05 +00:00
Dag-Erling Smørgrav 25096724e8 Return EINVAL and do not change file pointer if resulting offset is negative.
PR:		kern/6184
1998-04-18 19:24:44 +00:00
Dag-Erling Smørgrav 9db4b478d6 Return EINVAL and do not changefile pointer if resulting offset is negative.
PR:		kern/6184
1998-04-18 19:24:22 +00:00
Gene Stark c8e50f41fe PR: misc/4679
Submitted by:	Glen Foster (gfoster@gfoster.com)
Fix missing "/" in dump file pathname.
1998-04-18 13:37:24 +00:00
David E. O'Brien cab9e31601 MFC (reduce diff w/-CUR, with hopes of getting DMA support into -STABLE)
1.128   (FUNCTIONAL: better sleep handling)
1.131   (STYLE: labels w/o stmt)
1.132   (STYLE: remove unused #includes)
1.141   (FUNCTIONAL: devfs bug, 2nd controler not showing)
1.144   (STYLE: dont shadow other vars)
1.150   (FUNCTIONAL: fix search bug)
1998-04-18 13:25:49 +00:00
Brian Somers 252ba33d3c Add natd support.
PR:		6339
Submitted by:	cdillon@wolves.k12.mo.us
1998-04-18 10:27:19 +00:00
Brian Somers 635225ca84 Fix incorrect flag spec
PR:		6339 (part of)
Submitted by:	Chris Dillon <cdillon@wolves.k12.mo.us>
1998-04-18 10:05:38 +00:00
Peter Wemm 37b8ccd37a In vfs_msync(), test to see if the vnode being examined is "interesting"
(ie: it has a vm_object attached and is marked as OBJ_MIGHTBEDIRTY) before
attempting to lock it.  This should reduce the cpu hit that is incurred
when doing a sync(2) and when the syncer process is doing the 30-second
writeback of dirty mmap() data to disk.  Skip this speedup if we are
doing an unmount() to be sure to get everything - we can afford to
occasionally miss a msync while the system is running, but not at unmount.

I'm not sure about the VXLOCK and MNT_WAIT case, it seems a bit odd to skip
doing a page_clean at unmount time just because a vnode is VXLOCKed, but
that's what was being done before...
1998-04-18 06:26:16 +00:00
KATO Takenori 141d52a900 Sync with sys/i386/conf/majors.i386 revision 1.37. 1998-04-18 05:09:50 +00:00
KATO Takenori 2cf9b07390 Sync with sys/i386/isa/syscons.c revision 1.260. 1998-04-18 05:09:07 +00:00
KATO Takenori bac806c18d Sync with sys/i386/conf/Makefile.i386 revision 1.109. 1998-04-18 05:07:43 +00:00
KATO Takenori c243867df2 Support compiling with `gcc -ansi'. 1998-04-18 05:01:24 +00:00
Amancio Hasty 9ff07e3256 Reviewed by: Amancio
Submitted by:	Roger Hardiman <roger@cs.strath.ac.uk>
Roger Hardiman <roger@cs.strath.ac.uk> :
	Revised autodetection code to correctly handle both
	old and new VideoLogic Captivator PCI cards.
	Added tsleep of 2 seconds to initialistion code for PAL users.
	Corrected clock selection code on format change.

--- Amancio
1998-04-18 04:58:33 +00:00
Dag-Erling Smørgrav 03d4e44189 Changed /usr/sbin/mailq to /usr/bin/mailq 1998-04-17 22:53:59 +00:00
Dag-Erling Smørgrav dc73342347 Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108. 1998-04-17 22:37:19 +00:00
Julian Elischer 2720a2efd6 Reserve a number for the ALTQ control devices (96) 1998-04-17 20:26:43 +00:00
David E. O'Brien 69d23ff062 Make ``-h'' follow the manpage, and suppress the burst page reguardless of
the number of ``-h'' given.
1998-04-17 17:25:49 +00:00
Dag-Erling Smørgrav cc88e287a6 Stop the screensaver before switching consoles. 1998-04-17 10:03:11 +00:00
John Birrell af139b98d4 Allow a thread dump to report the thread's sigmask when in the
PS_SIGWAIT state.
1998-04-17 09:39:37 +00:00
John Birrell 334fa8f215 When in PS_SIGWAIT state, still call signal handlers and set errno
to EINTR.
1998-04-17 09:37:41 +00:00
Poul-Henning Kamp 4fe6f197e0 Backup out the last commit, it was already there.
Noticed by:	bde
1998-04-17 08:31:07 +00:00
Dima Ruban 8b78465c27 Undo my last change. 1998-04-17 07:51:36 +00:00
Poul-Henning Kamp b881fb3d9c Manpages not installed
PR:		6327
Reviewed by:	phk
Submitted by:	Chia-liang Kao <clkao@cirx.org>
1998-04-17 07:26:51 +00:00
Bruce Evans ab36c3d3e7 Really finish supporting compiling with `gcc -ansi'. 1998-04-17 04:53:44 +00:00
Brian Somers 5c570787fc Typo police 1998-04-17 00:59:15 +00:00
KATO Takenori e86160672a Sync with sys/i386/isa/syscons.c revision 1.259. 1998-04-16 16:35:23 +00:00
KATO Takenori e6fb658c24 Sync with sys/i386/isa/npx.c revision 1.59. 1998-04-16 16:34:46 +00:00
KATO Takenori 3755fd6d2d Sync with sys/i386/conf/Makefile.i386 revision 1.108. 1998-04-16 16:34:09 +00:00
KATO Takenori 5b24b4a0a4 Sync with sys/i386/isa/pcaudio.c revision 1.40. 1998-04-16 16:33:21 +00:00
KATO Takenori 0739f338b1 Sync with sys/i386/isa/lpt.c revision 1.68. 1998-04-16 16:32:49 +00:00
KATO Takenori aff756e77f Sync with sys/i386/isa/if_ed.c revision 1.139. 1998-04-16 16:32:15 +00:00
KATO Takenori adf97e2edc Sync with sys/i386/i386/trap.c revision 1.126. 1998-04-16 16:31:36 +00:00
Joerg Wunsch a37834b277 Add `myname.my.domain' as another alias for `localhost'. We set this
as the initial generic hostname if the user didn't setup any NIC, but
failure to resolve this name results in XF86Setup not being able to
run.

Reported by:	Lutz Zienert <luzi@interface-business.de>
1998-04-16 14:37:19 +00:00