Commit Graph

28402 Commits

Author SHA1 Message Date
Andrey A. Chernov
b7574f89a4 Add commented out common INSTALL and FORCE_PKG_REGISTER knobs 1998-04-16 08:21:24 +00:00
Andrey A. Chernov
07b31e7d58 Add missing commented out MOTIF_STATIC example 1998-04-16 08:01:27 +00:00
Peter Wemm
efdc5523c0 When the softdep conversion took place, the periodic vfs_msync() from
update got lost.  This is responsible for ensuring that dirty mmap() pages
get periodically written to disk.  Without it, long time mmap's might not
have their dirty pages written out at all of the system crashes or isn't
cleanly shut down.  This could be nasty if you've got a long-running
writing via mmap(), dirty pages used to get written to disk within 30
seconds or so.
1998-04-16 03:31:26 +00:00
Andrey A. Chernov
3cfe146f65 Add some easy to implement XSI macros including attr_get 1998-04-15 23:13:36 +00:00
Poul-Henning Kamp
416aa49b70 If ping write fails with short packet count, the
error message prints the two numbers backwards.
PR:		6313
Reviewed by:	phk
Submitted by:	Archie Cobbs
1998-04-15 19:55:14 +00:00
Bruce Evans
1d37f051c1 Finish supporting compiling with gcc -ansi'. Fix missing volatile's
in __asm() statements while I'm here.
1998-04-15 18:58:09 +00:00
Tor Egge
71033a8c50 Unlock mountlist_slock if the mount point was busy (unmount in progress)
during the attempt at lazy fsync.
1998-04-15 18:37:49 +00:00
Mike Smith
0c9cba523a Allow the CVS modules from which the source, doc and ports collections are
checked out to be overridden.

PR:		misc/6309
Submitted by:	"Greg A. Woods" <woods@zeus.leitch.com>
1998-04-15 18:28:27 +00:00
Dima Ruban
d3b8e3673e Use 0440 root.kmem kermissions on kernel instead of
0555 root.wheel.

Reviewed by:	freebsd-security
1998-04-15 17:53:32 +00:00
Bruce Evans
c1087c1324 Support compiling with `gcc -ansi'. 1998-04-15 17:47:40 +00:00
Bruce Evans
7e07ce2225 Support compiling with gcc -ansi'. Fix missing volatile's in __asm()
statements while I'm here.
1998-04-15 17:26:17 +00:00
Poul-Henning Kamp
9c2fa4dbce In pre-devfs days, /dev/psm0 had always been a non-blocking
device. But with devfs, currently, /dev/psm0 is the blocking device
and /dev/npsm0 is the non-blocking one.

DEVFS must stay consistent with the older behaviour.

PR:		6260
Reviewed by:	phk
Submitted by:	Kapil Chowksey <kchowksey@hss.hns.com>
1998-04-15 17:06:52 +00:00
Poul-Henning Kamp
3d10253c7d Better RFC1918 network protection
PR:		6278
Reviewed by:	phk
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-15 16:41:14 +00:00
Poul-Henning Kamp
5a85f025f8 In light of the fact that several widespread sendmail alternatives exists
is reason enough to make the compilation & installation of sendmail an
make.conf option.  I know that you hate negative options Bruce.

PR:		6284
Reviewed by:	phk
Submitted by:	Adrian Colley <aecolley@world.std.com>
1998-04-15 16:37:42 +00:00
Bruce Evans
37223939f0 Fixed bitrot in the non-softdep case of ufs_dirremove():
- restored async mount support.  The first entry in a block is still
  always written synchronously, although it probably shouldn't be in
  the async case.
- restored use of BWRITE() instead of bowrite() for the DOWHITEOUT
  case, although bowrite() is probably better.

Broken by:	merge of softdep changes (rev.1.22).
Found by:	lmbench2 delete-file benchmarks.
1998-04-15 12:27:31 +00:00
Bruce Evans
dcfe005838 Fixed breakage of fork accounting in previous commit. A fork benchmark
reported about 15 times as much sys time as real time.  getmicroruntime()
is confusing name.
1998-04-15 11:10:28 +00:00
Dmitrij Tejblum
206faeeef7 Add a missing LK_RETRY.
Noticed by: Bruce (almost 2 monts ago)

Remove a debugging printf.
1998-04-15 11:04:53 +00:00
Jonathan M. Bresler
f647ad5d86 rotate sendmail statistics file weekly.
keep the last ten weeks of data.
Submitted by:	jmb
1998-04-14 23:08:29 +00:00
Daniel O'Callaghan
7e3662b819 PR: 4866
Submitted by:	fenner
Make man page reflect reality.
1998-04-14 22:08:48 +00:00
KATO Takenori
ecbb31cda2 Fix page fault panic by probing NE200 compatible PCI card.
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1998-04-14 13:51:19 +00:00
Peter Wemm
46fec6d189 Add mktemp directory 1998-04-14 07:40:47 +00:00
Peter Wemm
4ca332d5bf Bring in an old faithful tool I've been using for just over 4 years now
(originally on a different OS without mkstemp()), albeit somewhat
bashed and hacked into something that doesn't look too much like
the original any more.  It should be upwardly compatable with
OpenBSD's mktemp(1) but does a couple of extra things.

I've taken OpenBSD's mktemp.1 man page and adapted it to suit.
1998-04-14 07:39:57 +00:00
Peter Wemm
4fea76f539 Fix a nasty flaw as a result of using the arc4random() pre-seeding of
leading XXX's.  It could wrap an uppercase character through chars
like:  [ \ ] ^ _ `  in between Z and a.  The backslash and back tick
might be particularly nasty in a shell script context.  Also, since
we've been using upper-case generated values for a while now, go with
the flow and use them in the pathname search rotation.
1998-04-14 07:25:05 +00:00
Poul-Henning Kamp
acf1dcdc9c Better SYNOPSIS
PR:		6294
Reviewed by:	bde, phk
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 06:42:18 +00:00
Poul-Henning Kamp
651cabf8b3 add strings(1) to what(1) "SEE ALSO"
PR:		6289
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-04-14 06:31:23 +00:00
Poul-Henning Kamp
115facb29d Fix a minor mbuf leak created by the previous change.
Reviewed by:	phk
Submitted by:	pb@fasterix.freenix.org (Pierre Beyssac)
1998-04-14 06:24:43 +00:00
Jonathan M. Bresler
98a0fcc6e3 use extended error codes as noted in rfc1893.
retain additional message in check_relay ruleset,
	the message is written into the maillog.
	this is useful to a site's postmaster.
Reviewed by:	jmb
Submitted by:	Ruslan Ermilov ru@ucb.crimea.ua
1998-04-14 02:09:23 +00:00
Steve Price
2d5be945b8 Document the use of sendmail options on the commandline.
PR:		4778
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:59:29 +00:00
Steve Price
2a453c238f Don't let secs variable wrap if <= 2.
PR:		6290
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:23:54 +00:00
Wolfram Schneider
83898438e1 Add tutorials directories. 1998-04-13 21:44:46 +00:00
Søren Schmidt
0c7843d922 Added EIDRM & ENOMSG errno in translation table. 1998-04-13 17:52:41 +00:00
Søren Schmidt
958a082931 Added EIDRM & ENOMSG to errno translation table. 1998-04-13 17:49:51 +00:00
Mike Smith
a470e6686d Don't use INTR when only one device supports it.
Submitted by:	Satoh Junichi <junichi@astec.co.jp>
1998-04-13 17:45:56 +00:00
Søren Schmidt
add212bf7e Add EIDRM errno (PR 176), ENOMSG errno (myself) for prober sysv_ipc. 1998-04-13 17:45:00 +00:00
Poul-Henning Kamp
81aee63d19 Wrong header length used for certain reassembled IP packets.
PR:		6177
Reviewed by:	phk, wollman
Submitted by:	Eric Sprinkle <eric@ennovatenetworks.com>
1998-04-13 17:27:08 +00:00
Bruce Evans
ab9ddd8e8a Finished previous commit. Just revert to rev.1.9.
Bruce
1998-04-13 15:05:43 +00:00
Garrett Wollman
10ad031e1d Document the requirement for TCPMUX to also be enabled as an internal
service if any external TCPMUX servers are desired.

PR: 826
1998-04-13 15:05:14 +00:00
Semen Ustimenko
72a43c1b0a Fixed autonegotiation. Card registers are now accessed via memory
not i/o space.
1998-04-13 14:15:40 +00:00
Peter Wemm
4af3a821f1 -pg was causing a link with -lc_r... :-]
Submitted by:  Dmitry Khrustalev <dima@xyzzy.machaon.ru>
PR: 6287
1998-04-13 14:12:34 +00:00
Doug Rabson
593f0dec5d Fixes for using amd with non-NFSv3 servers and for choosing the right address
for a multihomed server.

PR:		bin/6231, bin/4678
Submitted by:	Mika Nystrom <mika@cs.caltech.edu
1998-04-13 12:11:24 +00:00
KATO Takenori
625c217460 Sync with sys/i386/isa/wd.c revision 1.156. 1998-04-13 08:35:37 +00:00
John Birrell
297263b079 Format changes in an attempt to address some of Bruce's comments
about spaces and tabs.

The externs in the static inline functions remain 'cause (a) they're
required; and (b) I can't find any gcc -W* cases where they generate
warnings.
1998-04-12 20:29:24 +00:00
Jordan K. Hubbard
90b14d4761 Fix dependent-package loading when pkg_adding with an FTP URL. I broke
this when I changed the playpen code to disallow recursion.  I know
this fixes a PR someplace but I can't seem to find it with the GNATs
search tool.
1998-04-12 16:01:10 +00:00
Jordan K. Hubbard
255f85322d Fix comment.
Scolded by:	bde
1998-04-12 14:02:33 +00:00
Søren Schmidt
e4a4c14ac4 omehow Jordan got 07.lpd in -current enabled again... 1998-04-12 12:33:59 +00:00
Poul-Henning Kamp
81aba7a19d Aic APM driver support for e.g. Toshiba T2400 notebook with internal
Adaptec SCSI (aic6360/aha152x) controller.

PR:		5382
Reviewed by:	phk
Submitted by:	Oliver Breuninger <ob@seicom.NET>
1998-04-12 12:11:31 +00:00
Poul-Henning Kamp
20ef883886 openlog() needs to have LOG_NDELAY added, or else the syslog() calls after
the chroot will not get sent to syslogd.

PR:		4910
Reviewed by:	phk
Submitted by:	Jim Mercer <jim@komodo.reptiles.org>
1998-04-12 11:15:54 +00:00
Poul-Henning Kamp
dfed2de6cc Remove these copies, they now live the right place. 1998-04-12 10:45:11 +00:00
Poul-Henning Kamp
707194943c Change noc-tun to nos-tun after Peter did the repository copy to cover
up the tracks of my blunder.
1998-04-12 10:44:24 +00:00
Mark Murray
c1d639d22f Enable the SecureRPC bits in rc.conf, if the Administrator wants them. 1998-04-12 09:47:43 +00:00