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?
Thomas Moestl [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.
David E. O'Brien [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.
Warner Losh [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.
Robert Watson [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)
Robert Watson [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.
Bruce A. Mah [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.
John Baldwin [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 Perlstein [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.
Bill Paul [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.
Robert Watson [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
Scott Long [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.
John Baldwin [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.
Orion Hodson [Wed, 21 Mar 2001 14:10:51 +0000 (14:10 +0000)]
Change type of channel speed variable from "int" to "u_int32_t" to
avoid overflow when scaling playback rate. Fixes 44.1k playback from
being 48k (I am deaf to this difference...).
Orion Hodson [Wed, 21 Mar 2001 12:51:37 +0000 (12:51 +0000)]
Change ordering of SPDIF register pokes. SPDIF enable needs to be the
last poke in sequence. Enabling SPDIF was coercing output rate to
48K, not good for 44.1K tracks.