sos [Fri, 23 Mar 2001 20:55:28 +0000 (20:55 +0000)]
Fix the problem with some drives not reporting back when the
are busy blanking and erasing CD-RW media.
This fixes burncd's premature returns from blanking/erasing
that caused trouble.
joerg [Fri, 23 Mar 2001 19:51:12 +0000 (19:51 +0000)]
(MFC candidate, see below).
When we get an Open event in stopped state, experience shows that this
is usually means we've somehow missed a previous Down event. This has
occasionally bitten people for the IPCP layer with ISDN, apparently a
previously aborted IPCP negotiation must have caused this. As a
bandaid, we quickly pretent a Down event by advancing to starting
state; this effectively implements the `restart' option mentioned in
RFC 1663.
While i'm not yet fully convinced this is the best thing to do (and is
fully compliant with RFC 1661), i've seen a number of reports here on
the German mailing lists where people have been bitten by the previous
behaviour which usually causes quickly looping ISDN reconnects (thus
loss of money...), and where just this patch fixes the problem.
For this, i'd even like to see it MFC'd if possible.
Submitted by: Helmut Kreft <kreft@zeus.ai-lab.fh-furtwangen.de>
assar [Fri, 23 Mar 2001 19:38:21 +0000 (19:38 +0000)]
disable SRA
this impacts negatively to POLA since once autologin is enabled,
telnet will prompt for a password using getpass() and thus not allow
the usual signal characters or C-]
sobomax [Fri, 23 Mar 2001 18:45:24 +0000 (18:45 +0000)]
- Add which(1)-like functionality into pkg_info;
- fix a harmless bug in match_installed() function introduced in my last
commit;
- uniformely reorder includes across files.
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>
Not objected by: jkh, -ports
alex [Fri, 23 Mar 2001 14:05:05 +0000 (14:05 +0000)]
- DECLARE_MODULE needs SYSINIT -> include sys/kernel.h
- modeventhand_t declares a pointer to a function, so it can't be
used as a forward declaration (d'oh!)
jkh [Fri, 23 Mar 2001 08:06:19 +0000 (08:06 +0000)]
Fix a bug with setting the soft updates option from a script.
Eliminate an old warning brought about by insufficient foresight when creating
the Menu structure. Have I ever mentioned that sysinstall really needs to
be rewritten?
tmm [Fri, 23 Mar 2001 03:58:25 +0000 (03:58 +0000)]
Get rid of setgid kmem for systat, and while being there, fix some bugs
and compiler warnings.
The data for network statistics are still obtained via the kvm interface
if systat was started with the needed privileges, otherwise sysctls are
used. The reason for this is that with really many open sockets, the
sysctl method is probably slower, but it systat -netstat is probably not
really usable in either mode under these conditions.
obrien [Thu, 22 Mar 2001 22:16:26 +0000 (22:16 +0000)]
Revert rev 1.7 which used "`console' rather than `ttyv0' so there will
always be a getty on the console reguardless of the type of console.
Instead always run a getty on ttyd0.
imp [Thu, 22 Mar 2001 06:00:07 +0000 (06:00 +0000)]
First step towards making loadable modules independent of having
pccard in the kernel for those drivers with pccard attachments. This
makes the compat layer a little larger by introducing some inlines,
but should almost make it possible to have independent attachments.
The pccard_match function are the only one left, which I will take
care of shortly.
rwatson [Thu, 22 Mar 2001 04:27:46 +0000 (04:27 +0000)]
o Remove BINMODE=0550 -- no need to restrict execution rights as the
authorization check is on /dev/{,k}mem.
o Update man page to reflect requirement that gid kmem privileges must
be held, not root. (submitted by: peter)
rwatson [Thu, 22 Mar 2001 04:10:51 +0000 (04:10 +0000)]
o Strip BINMODE from Makefile. Installing watch with 0500 provides no
added security benefit, as it doesn't provide extra privilege.
Protection against inappropriate snooping is done by protecting
/dev/snp* properly.
bmah [Thu, 22 Mar 2001 02:40:50 +0000 (02:40 +0000)]
New release notes: OpenSSH resistance to traffic analysis, make(1)
bugs fixed, fsck_ffs in background on mounted filesystems, TI-RPC,
portmap(8)->rpcbind(8), IPv6 support in NFS, lockd, rc(8) dependency
handling.
Synch up hardware devices with etc/defaults/pccard.conf 1.98.2.19
(yes, from RELENG_4). This change needs to be propagated to RELNOTESng.
jhb [Thu, 22 Mar 2001 01:47:02 +0000 (01:47 +0000)]
- XF86.patch is no longer needed as it is all checked into the XFree86
port conditional on the BUILD_XDIST variable.
- Define BUILD_XDIST=yes when compiling XFree86.
alfred [Wed, 21 Mar 2001 23:53:40 +0000 (23:53 +0000)]
This adds /etc/netconfig to the list of files that get copied to
/stand/etc on the mfsroot, and hence to /etc on the install target
disk for use during the install. It also links netconfig and services
into /etc on the mfsroot so that they are available to a fixit
shell.
wpaul [Wed, 21 Mar 2001 23:47:18 +0000 (23:47 +0000)]
ypserv has intimate knowledge of the server transport handle which is
needed to make the asynchronous DNS lookup mechanism work. (It needs to
be able to get/set the transaction ID in the trasport handle so it can
deliver a delayed UDP response when a reply is received from a DNS
server.) With TI-TPC, the transport handle has changed slightly (what
used to be an int is now a size_t) so we need to account for this.
rwatson [Wed, 21 Mar 2001 23:00:39 +0000 (23:00 +0000)]
o Remove an unnecessary debugging printf from ufs_extattr_lookup(),
which resulted in the output of warning messages at boot if
UFS_EXTATTR_AUTOSTART was enabled but ".attribute" and possible
sub-directories weren't in a mounted MFS or UFS file systems.
Pointed out by: dcs
Obtained from: TrustedBSD Project
scottl [Wed, 21 Mar 2001 21:53:09 +0000 (21:53 +0000)]
Back out rev 1.4. The advertised 64K limit on transfers only applies when
using 64bit S/G entries. With this reverted, we are seeing >92MB/sec reads
and >42MB/sec writes on a RAID-5 container.
jhb [Wed, 21 Mar 2001 20:08:07 +0000 (20:08 +0000)]
Always disable paging when exiting back to real mode after receiving a
fatal trap. Also, reload the GDT register to point to BTX's GDT before
playing around with the segment registers to return to real mode. This is
helpful if the kernel causes a fatal exception before it has setup its own
IDT and fault handlers. For example, if one happens to break mtx_init().
Without these changes BTX would recursively page fault (if paging was not
disabled) or triple fault and reset the CPU (without the GDT reload)
instead of providing a potentially useful register dump.