Commit Graph

55274 Commits

Author SHA1 Message Date
David E. O'Brien
ab73432b72 The change in rev 1.8 makes the C version of killall behave the same as the
old perl one.
2000-12-25 20:44:05 +00:00
Paul Saab
88522a2e3a Use the real user ID so non-root users can kill setuid processes
they started.

PR:		23356
Submitted by:	Maxim Konovalov <maxim@macomnet.ru>
2000-12-25 19:26:07 +00:00
Toshihiko ARAI
6b91b72b72 Add support for PC-card router configuration. (MFPAO)
o Add the removable_interfaces variable for list of removable network
  interfaces (PC-card ethernet, wireless network and USB ethernet etc).
o ifconfig_<ifn>_alias0, static_routes_<ifn>, removable_route_flush,
  /etc/start_if.<ifn> and /etc/stop_if.<ifn> are support.
o removable_route_flush variable is set to "NO" if you want to use the
  machine as gateway using two or more removable network cards. If
  static routing is needed use static_routes_<ifn> instead of
  static_routes or defaultrouter.
o The optional static_routes_<ifn> variable is likely static_routes.
o /etc/start_if.<ifn> and /etc/stop_if.<ifn> are shell script to be
  specified that are called when a card is inserted or removed.
2000-12-25 09:21:18 +00:00
Ruslan Ermilov
b7b6d48965 mdoc(7) police: formatting fixes. 2000-12-25 09:08:44 +00:00
Cameron Grant
b87eb3b531 move parametric defines and structure definitions from .h to .c 2000-12-25 02:49:28 +00:00
Cameron Grant
a6b5683876 indent debugging printfs, change a couple of messages slightly 2000-12-25 02:21:16 +00:00
Cameron Grant
6a2e12e0dd update to return correct blocksize- these chips have a fixed irq rate, so
block size varies only with format and rate.
2000-12-25 01:42:13 +00:00
David E. O'Brien
175f26d6ed Don't abuse the SCCS `@(#)' for RCS.
Requested by:	bde
2000-12-25 01:16:12 +00:00
Mitsuru IWASAKI
917d44c856 Add ioctls to acpi_cmbat and acpi_acad. These use mike's acpi_register_ioctl().
Fix wrong AML method calling in acpi_cmbat.
2000-12-24 19:12:10 +00:00
David Malone
294a60d836 As far as I can tell, you have never been able to use 'ab' as a unit
name if 'a' and 'b' are unit names. You can use 'a b' though.
2000-12-24 16:15:28 +00:00
Toshihiko ARAI
86667ae749 o Almost all the config line changed to `auto', except for
multifunction cards and I recieved reports that the card does not
  workd by `config auto'. (MFPAO)
o Remove static assign of the IRQ number.
o Remove two duplicated entries.
o Join some entries using regex and fixed matching order problem.

These changes for boot.flp.

Suggested by: sanpei
2000-12-24 15:38:38 +00:00
Toshihiko ARAI
05546286ff Fix output of -v option. 2000-12-24 15:30:36 +00:00
KATO Takenori
3e530495b9 Removed pc98-hack of aout tools. 2000-12-24 14:58:34 +00:00
KATO Takenori
dfec8c70fa Disabled boot2 for the moment, because it needs aout tools. 2000-12-24 14:54:34 +00:00
David E. O'Brien
1bc9ef1684 Back out the modules `make obj' speedup.
I cannot find a way to do this with the more esoteric source dir schemes
I thought of.
2000-12-24 13:29:58 +00:00
Josef Karthauser
e3b7d1782a Clean up the source directory finding code, and in the process fix a
problem that occurs when a program's source isn't found.
2000-12-24 12:21:15 +00:00
Poul-Henning Kamp
442fad6798 Update the "icmp_admin_prohib_like_rst" code to check the tcp-window and
to be configurable with respect to acting only in SYN or in all TCP states.

PR:		23665
Submitted by:	Jesper Skriver <jesper@skriver.dk>
2000-12-24 10:57:21 +00:00
David E. O'Brien
d6e3a23dbc Clean up the -j/-y/--bzip entry in usage().
Add the -U and --unlink-first options which are the offical verions of our
--unlink localism.
Add support for the "TAR_OPTIONS" environmental variable.

Obtained from:	GNU tar 1.13.18
2000-12-24 10:52:23 +00:00
David E. O'Brien
3d0dea2a75 Add -j as the offical "pipe thru bzip2 compression program" option.
Make -I equivalent to -T for compatiblity with Solaris.

Obtained from:	GNU tar 1.13.18
2000-12-24 10:19:55 +00:00
Cameron Grant
f0fb042e84 fairly substantial rewrite- seperate out play/record code, implement
setblocksize, simplify resource allocation
2000-12-24 03:56:41 +00:00
Cameron Grant
6a6ee5bb35 compensate for broken codecs that return 0xffff on unimplemented registers
instead of 0.
2000-12-24 03:33:21 +00:00
Brian Somers
f02b264114 Handle multiple words in $daily_clean_disks_files
PR:			23805
Submitted mostly by:	Norbert Papke <npapke@telus.net>
2000-12-24 03:22:45 +00:00
Bosko Milekic
f73f120bec Change M_WAIT to M_TRYWAIT, the new name of the flag. 2000-12-24 03:08:17 +00:00
Cameron Grant
ac083c91f8 implement setblocksize properly 2000-12-23 22:24:43 +00:00
David E. O'Brien
b811816356 Add `gcov' to the mix.
Requested by:	David Malone <dwmalone@maths.tcd.ie>
PR:	18574
2000-12-23 19:49:28 +00:00
Jake Burkholder
98f03f9030 Protect proc.p_pptr and proc.p_children/p_sibling with the
proctree_lock.

linprocfs not locked pending response from informal maintainer.

Reviewed by:	jhb, -smp@
2000-12-23 19:43:10 +00:00
Josef Karthauser
1826f66757 Remove floppy.tree from the build directory. 2000-12-23 19:33:13 +00:00
Josef Karthauser
a9b625407d MF4: Update the bridge kernel config file to reflect the structure and
order that Luigi has just committed to RELENG_4.
2000-12-23 19:27:42 +00:00
Josef Karthauser
4050e5eb73 MF4: revision 1.3.2.1.
inetd is not always present, check before invoking it.
2000-12-23 19:11:53 +00:00
Josef Karthauser
04dbe0f9b9 Determine the names of the picobsd releases automatically.
Use the 'realclean' target in the crunch.mk file for cleaning the object
build tree.
2000-12-23 16:53:35 +00:00
MIHIRA Sanpei Yoshiro
88f811c937 use ``config auto'' for ACCTON EN2216-PCMCIA-ETHERNET
Submitted by:	taguchi@tohoku.iij.ad.jp
2000-12-23 16:11:50 +00:00
MIHIRA Sanpei Yoshiro
80e25880d4 use ``config auto'' for IBM PCMCIA Ethernet I/II
Submitted by:	WAKABAYAI Susumu <susumu@wakabaya.net>
2000-12-23 16:01:16 +00:00
MIHIRA Sanpei Yoshiro
945c0389f4 fix MELCO LPC3-TX config
use ``config auto''
	add ether line

Submitted by:   bsd-nomads mailing list
		14954: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
		14967: Yoichi Nakayama <yoichi@eken.phys.nagoya-u.ac.jp>
		14971: WAKABAYAI Susumu <susumu@wakabaya.net>
2000-12-23 15:27:54 +00:00
MIHIRA Sanpei Yoshiro
230cd61f4e use ``config auto "sio" ?'' for Xircom CreditCard Modem CM-56T
PR:	conf/23068
Submitted by:	Matt <kienow@infinet.com>
2000-12-23 13:07:48 +00:00
Matt Jacob
661f2768f4 Make sure we have a non-null proc pointer before referring to fields
off of it.
2000-12-23 07:33:32 +00:00
Cameron Grant
f4084c4526 fix a panic if the requested blocksize was greater than the data rate,
resulting in a divide by 0.
2000-12-23 06:09:43 +00:00
Cameron Grant
e246070f8a kill a warning 2000-12-23 05:19:32 +00:00
Cameron Grant
b4f8389d56 fix a typo 2000-12-23 05:16:39 +00:00
Cameron Grant
a906b37278 add sys/dev/sound/pcm/buffer.c, lefo out of last commit 2000-12-23 03:27:09 +00:00
Cameron Grant
350a5fafb1 update code dealing with snd_dbuf objects to do so using a functional interface
modify chn_setblocksize() to pick a default soft-blocksize appropriate to the
sample rate and format in use.  it will aim for a power of two size small
enough to generate block sizes of at most 20ms.  it will also set the
hard-blocksize taking into account rate/format conversions in use.

update drivers to implement setblocksize  correctly:
updated, tested: 	sb16, emu10k1, maestro, solo
updated, untested: 	ad1816, ess, mss, sb8, csa
not updated: 		ds1, es137x, fm801, neomagic, t4dwave, via82c686

i lack hardware to test: ad1816, csa, fm801, neomagic
others will be updated/tested in the next few days.
2000-12-23 03:16:13 +00:00
David E. O'Brien
45c27b729e *sigh* The `pecoff' module was added to all arches w/out testing a compile
on all arches.  This fixes the Alpha kernel build.
2000-12-22 22:33:15 +00:00
Mike Smith
29e79e51ee Probe generic i960 devices for the old AMI signature as well as the current
one, in order to support adapters with older firmware.

Submitted by:	"Prasanth S." <prasanths@ami.co.in>
2000-12-22 22:23:56 +00:00
Ian Dowse
4de932048c Ensure that received packets are at least as long as the rwho packet
header before trying to process them. Without this sanity check,
rwhod can attempt to byte-swap all of memory when a short packet
is received, and so dies with a SIGBUS.

While I'm here, change two other syslog messages to be more
informative: use dotted quad rather than hex notation for IP
addresses, and include the source IP in the 'bad from port' message.

PR:		bin/14844
Reviewed by:	dwmalone
2000-12-22 21:30:15 +00:00
Wilko Bulte
c0f2ef61df Note that the root filesystem better be on the first partition for it
to be bootable

Triggered by: questions on -alpha
2000-12-22 20:59:48 +00:00
Ruslan Ermilov
36fd98fad4 Teach man(1) how to look inside compressed manuals
for preprocessor directives.  Avoid use of cat(1).

PR:		bin/23585
2000-12-22 19:05:13 +00:00
David E. O'Brien
1ba16c630e Update the date of last change.
Submitted by:	ru
2000-12-22 18:56:41 +00:00
Dag-Erling Smørgrav
89a70fbeb3 Warn if the size of the remote file isn't known.
If the -R option was specified, don't truncate the local file even if its
mtime is incorrect.

PR:		bin/23719
2000-12-22 18:23:19 +00:00
Dag-Erling Smørgrav
659e0d5ef7 Document FTP_LOGIN. 2000-12-22 18:03:21 +00:00
Dag-Erling Smørgrav
e72f0de24e Check the FTP_LOGIN environment variable before falling back on
FTP_ANONYMOUS_USER.
2000-12-22 18:01:40 +00:00
Brian Somers
3b93c7437b Hostnames are case-insensitive 2000-12-22 15:21:06 +00:00