Commit Graph

27000 Commits

Author SHA1 Message Date
Adam David
7f06341409 get default firewall type from rc.conf 1998-02-10 01:45:57 +00:00
Mike Smith
d3282c9763 Add entry for Eiger 33.6K modem
Submitted by:	John Goerzen <jgoerzen@alexanderwohl.complete.org>
1998-02-10 01:01:35 +00:00
Mike Smith
0c473d5219 Document the enhanced behaviour of the '-c' flag. 1998-02-10 00:17:44 +00:00
Mike Smith
f1353e56ee If the kernel was built with USERCONFIG_BOOT, and the '-c' (RB_CONFIG) flag
was supplied to the kernel when booting, ignore any 'quit' commands in the
userconfig script.

This provides an escape mechanism whereby a broken userconfig script may
be worked around.
1998-02-10 00:10:35 +00:00
Eivind Eklund
b5883d1eb4 All our options are new-style now - enable the warning if unrecognized
(that is, old-style) options are found.
1998-02-09 23:59:51 +00:00
Peter Wemm
4390eccf7a Un-staticize. 1998-02-09 16:20:42 +00:00
KATO Takenori
cf43dcc13b Sync with sys/i386/isa/clock.c and spker.c revision 1.109 and 1.32,
resplectivley.
1998-02-09 15:05:44 +00:00
KATO Takenori
db33b1d449 Sync with sys/i386/i386/machdep.c revision 1.289. 1998-02-09 15:04:39 +00:00
KATO Takenori
a5b88b0149 NULL and UMAP filesystems also unstable. 1998-02-09 15:03:38 +00:00
Daniel O'Callaghan
8e035c500f PR: 1708, 5448
Remove wtmp
1998-02-09 11:47:51 +00:00
Daniel O'Callaghan
8e525b0803 PR: 1708, 5448
Reviewed by:	Alex Nash, Steve Price
Enhance wtmp monthly handling
1998-02-09 11:36:43 +00:00
Wolfram Schneider
b2ba580390 Count _all_ rejects, not made by check_mail and check_relay only.
There can be private rules which produce rejects.
Pointed out by: áÎÄÒÅÊ þÅÒÎÏ×
1998-02-09 11:28:59 +00:00
Chris Timmons
c601e62cb3 Adjustments for ccd devices:
1) Resulting special files now in group operator.  (Reviewed by bde)
2) Use $disk_umask when creating ccd device specials.  (Suggested by
   bde)
3) No longer create rccd{n}.ctl; ccd's are not necessarily scsi.
   (Suggested by bde)
4) No need to split short lines.  (Suggested by bde)
1998-02-09 08:41:49 +00:00
Eivind Eklund
303b270b0a Staticize. 1998-02-09 06:11:36 +00:00
John Polstra
645c4be38a Move the trampolines for dlopen and related functions from crt0.o
into libc.  This reduces the size of every dynamically linked
executable by 248 bytes, and it reduces the size of static executables
by a lesser amount.  It also eliminates some global namespace
pollution.

With this change in place, the source for dlfcn.h should probably
be moved to "/usr/src/include".  I'll save that for another day.

Compatibility note:  Programs which use dlopen, if compiled on
systems with this change, will not run on systems with a libc from
prior to this change.  Very few programs use dlopen, so I think
that is OK.
1998-02-09 06:05:25 +00:00
Eivind Eklund
5589ae9dfd Remove warnings from f00f_hack. 1998-02-09 04:45:53 +00:00
Eivind Eklund
f4002e8278 Add #include "opt_devfs.h". 1998-02-09 02:31:47 +00:00
Steve Price
8583a41b1e Update to reflect the current Jewish calendar.
PR:		5683
Submitted by:	jgrosch@MooseRiver.com
1998-02-08 22:57:59 +00:00
Jordan K. Hubbard
4a7de9552b Remove some ancient cruft discovered during a recent code review. 1998-02-08 20:18:19 +00:00
John Dyson
157ac55f97 Fix an argument to vn_lock. It appears that alot of the vn_lock usage
is a bit undisciplined, and should be checked carefully.
1998-02-08 14:55:13 +00:00
Peter Wemm
8f3f2b2e9d Reduce the sleep(1) inbetween each diff, as suggested by bde some time
ago.  The real fix is rather large.
1998-02-08 06:48:37 +00:00
John Dyson
3217023e7c Fix a problem with vn_lock in fsync. 1998-02-08 01:41:33 +00:00
Tim Vanderhoek
83d04c760a Change documentation for `make package' (Thanks (indirectly) O'Brien!).
Document `make readmes'.  This is getting old, and the intent is to
stop questions regarding it; however, I have a suspicion documenting it
will work counter to ending questions about it and am mentally prepared
to see it go-ooooooooo.......
1998-02-07 21:07:51 +00:00
Nate Williams
9dda04f1e2 - Removed typo in Copyright and added Id. 1998-02-07 20:41:20 +00:00
Wolfgang Helbig
aa3be41e39 Postpone the test for non-emptiness of $PROG, $OBJS and $CLEANFILES
to ``shell time''. The previous version didn't work in
/usr/src7share/man/man4.
Reviewed by:	bde
1998-02-07 17:19:06 +00:00
KATO Takenori
16e3b0b67a When the vp is lcoked, vget() calls vfs_object_create() with
waslocked = TRUE.  This change may fix lockmgr panic in umapfs/nullfs.

PR:		5634
Reviewed by:	"John S. Dyson" <toor@dyson.iquest.net>
Suggested by:	Bruce Evans <bde@zeta.org.au>
1998-02-07 08:44:31 +00:00
Alexander Langer
c32bb532e4 locate(1) is no longer started by /etc/weekly. 1998-02-07 05:30:14 +00:00
Alexander Langer
0ce28c3a85 catman(1) is now invoked by /etc/periodic/weekly/330.catman. 1998-02-07 05:17:47 +00:00
Alexander Langer
ad4463e18b Don't assume that IP services are disabled just because firewall_enable
is not set to YES in rc.conf.

Noticed by:	Mikael Karpberg <karpen@ocean.campus.luth.se>
1998-02-07 04:56:56 +00:00
Mike Smith
dad3b88ae3 In the words of the submitter:
----
I've worked to enhance the connect() patches.

I've just tested this with the Linux JDK appletviewer on an applet
that does a lot of connects, and it works as well as during my
previous tests.

The connect() patch is now a merge between my older patch and the
OpenBSD stuff. It ensures that any async error is returned by
connect() instead of getsockopt(SOL_SOCKET, SO_ERROR) as reasonnable
systems do.

There are also minor patches to implement IPPROTO_TCP for
get/setsocktopt(). These are also tested (with Linux Apache).
----

I would appreciate any feedback regarding these changes, as they'd
be very useful in 2.2.6.

Submitted by:	pb@fasterix.freenix.org (Pierre Beyssac)
1998-02-07 02:13:27 +00:00
KATO Takenori
ca6f868824 Fixed pagefault when cred == NOCRED.
PR:		5632
1998-02-07 01:36:24 +00:00
KATO Takenori
39ca14f032 Fixed number of entries in gid-mapfile.
PR:		5640
1998-02-07 01:34:32 +00:00
Eivind Eklund
ccf5ba7483 Back out opt_diagnostic.h changes. 1998-02-06 23:54:27 +00:00
Martin Cracauer
8624242ab8 Back out my previous attempt to fix SIGINT/SIGTERM behaviour 1998-02-06 23:50:39 +00:00
John Hay
3142ca45f1 opt_diagnostic.h isn't needed anymore. 1998-02-06 22:31:14 +00:00
Martin Cracauer
9dee16dba6 Fix handling of SIGINT/SIGQUIT for foreground subprocesses. Most
urgent need is when you run sh around a program that intentionally
uses SIGQUIT/SIGINT for asynchronous events, i.e. $EDITOR started from
system(2), like many mailers do. This fixes PR bin/1206 and possibly
bin/4241.

The solution committed has been tested for a large number of possible
cases (see recent discussion on cvs-committers). I completed a make
world, made sure 'make world' is interruptable and used the changed
/bin/sh as a login shell all day, including job control and using
SIGQUIT-catching programs (to write this message :-).

PR:		bin/1206
Reviewed by:	discussion on cvs-commiters
1998-02-06 18:14:26 +00:00
John Polstra
663690b388 Implement dladdr. 1998-02-06 16:46:46 +00:00
Eivind Eklund
14834de441 Throw DEBUG and DIAGNOSTIC in opt_global.h 1998-02-06 12:41:39 +00:00
Eivind Eklund
0b08f5f737 Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
Adam David
dbf1ec592e -DNOTOOLS to not rebuild any tools during buildworld 1998-02-06 09:52:34 +00:00
Jordan K. Hubbard
fc60b54d95 MF22: reset root flags properly. 1998-02-06 04:35:21 +00:00
Alexander Langer
34c7729f52 Don't attempt to display information which we don't have: specifically,
TCP and UDP port numbers in fragmented packets when IP offset != 0.

2.2.6 candidate.

Discovered by:	Marc Slemko <marcs@znep.com>
Submitted by:	Archie Cobbs <archie@whistle.com> w/fix from me
1998-02-06 02:45:54 +00:00
KATO Takenori
87884aad6e Workarround for DIAGNOSTIC kernel's panic in union_lookup().
Union_removed_upper() clobbers cache when file is removed.
Upper vp will be removed by union_reclaim().
1998-02-06 02:42:21 +00:00
Julian Elischer
eb45f34378 slight cleanup in handling sockets and file descriptors.
Same fix already applied to other types of fds. This one was apparently missed.
1998-02-05 21:16:52 +00:00
Guido van Rooij
e28be89140 Reset SGINT and SIGQUIT handling to default when asking for passwords.
Otherwise, when pressing the INT ke at the password prompt, the password
will be displayed. Now login will be killed.

Probably the same will have to be done for the LOGIN_CAP_AUTH case.
I have not done that.
Reviewed by:	Joerg Wunsch
1998-02-05 18:37:02 +00:00
John Dyson
7d6c26d67e Add MNT_LAZY. 1998-02-05 17:27:42 +00:00
John Dyson
857fe6801a Fix an omission of a line from the previous commit to this file. The
problem appeared to be an NFS hang.
1998-02-05 16:40:57 +00:00
Wolfram Schneider
a4f897aa96 Count hosts and sort by score. 1998-02-05 15:38:17 +00:00
Wolfram Schneider
011e8ccf1f Replace sed(1) with perl(1). The 4.4BSD sed programm is
200 times slower than perl or SunOS 5.5.1 sed.
1998-02-05 15:33:54 +00:00
John Hay
1420147475 fsdb and fsck use the ffs code which needs opt_diagnostic.h. 1998-02-05 14:31:05 +00:00