# $NetBSD: CHANGES-1.5.3,v 1.1.2.8 2001/11/12 23:56:02 he Exp $ A complete list of changes from NetBSD 1.5.2 to NetBSD 1.5.3: File Revision(s) ---- -------- sys/sys/param.h patch sys/conf/osrelease.sh patch share/tmac/doc-common patch Mark this with 1.5.3_ALPHA. etc/etc.pmax/Makefile.inc 1.7 Use ${KERNOBJDIR} to locate kernel build directory. sys/dev/usb/umass.c patch Minor coding fix in preprocessor directive. Fixes PR#13763. usr.bin/last/last.1 1.8 Include ``-T'' in the synopsis. sys/dev/pci/viaenv.c 1.4 Use PWAIT for the lock, not 0. sys/ufs/ffs/ffs_inode.c patch Make one call to uvm_vnp_uncache() conditional. Fixes a panic when removing an mmap'ing to an unlinked, closed file. sys/compat/vax1k/files.vax1k 1.2 sys/compat/vax1k/vax1k_exec.c 1.3-1.4 sys/compat/vax1k/vax1k_subr.c delete Once again make BSD 4.3 binaries run on the vax. usr.sbin/lpr/common_source/displayq.c 1.21 Fix buffer overflow reading from queue file. Also increase the size of buffers for file names. sys/arch/sun3/sun3/disksubr.c patch Make sure that an unlabeled device gets at least RAW_PART in the default in-core disklabel, so that applying a new disklabel can work. share/man/man9/microtime.9 1.5 Spelling fixes. share/man/man4/ddb.4 1.51 via patch Document fromconsole and DDB_FROMCONSOLE. sys/ddb/db_variables.c 1.21 Fix which variable is tweaked for ``fromconsole''. etc/rc.d/swap1 1.6 Check for and obey no_swap. gnu/dist/gcc/combine.c 1.4-1.5 Fix some optimization bugs related to comparison. gnu/dist/gcc/rtl.h 1.2 gnu/dist/gcc/jump.c 1.2-1.3 gnu/dist/gcc/rtlanal.c 1.2 Fix an optimization bug related to reordering of instructions. gnu/dist/gas/config/tc-sh.c 1.2-1.3 gnu/dist/gas/config/tc-sh.h 1.3 Fix a range check for 12-bit PC relative access. Also fix a big-endian/little-endian bug. gnu/dist/gcc/config/sh/sh.h 1.4-1.5 Fix REGISTER_MOVE_COST calculation bug. Fix GO_IF_LEGITIMATE_ADDRESS bug. gnu/dist/gcc/config/sh/sh.c 1.5-1.7 Fix output_ieee_ccmpeq() bug. Print true register for SUBREG cases. Fix prepare_scc_operand bug. gnu/dist/gcc/config/sh/sh.md 1.5-1.7 Fix expand_block_move() bug. Fix insv bug (big-endian mode only). Fix misunderstanding whether a register is used in an insn. share/mk/bsd.own.mk 1.157 NetBSD/sh3 does not yet support dynamic linking. sys/arch/sh3/dev/sci.c 1.11,1.15 sys/arch/sh3/dev/scif.c 1.14,1.18 Fix \n conversion from \n\r to \r\n, and some cleanup. gnu/dist/bfd/coff-sh.c 1.2 gnu/dist/bfd/elf32-sh.c 1.4 Fix 32-bit immediate reloc bug. sys/arch/sh3/include/bus.h 1.5 Add missing macros for 8-bit PCMCIA access. sys/arch/sh3/include/pmap.h 1.8 Fix a serious pmap problem with dummy PMAP_{MAP,UNMAP}_POOLPAGE(). sys/arch/sh3/sh3/vm_machdep.c 1.16 Fix two SH4 issues in cpu_fork(). sys/arch/sh3/sh3/trap.c 1.20,1.27 via patch Add missing SH4_PCMCIA cases. Fixes PR#11441. Fix KERNELMODE macro (check MD bits too). sys/arch/sh3/include/cpu.h 1.13 sys/arch/sh3/include/segments.h 1.2 Fix KERNELMODE macro (check MD bits too). sys/arch/evbsh3/evbsh3/machdep.c 1.20,1.22-1.24 Add missing shpcmcia_mem*() for SH4_PCMCIA. sys/arch/sh3/sh3/in_cksum.S 1.3 Add missing _C_LABEL(). sys/arch/evbsh3/evbsh3/locore.s 1.27,1.31-1.33 via patch Fix LDTLB handling bug, add missing _C_LABEL(), and a small optimization. sys/arch/mmeye/mmeye/locore.s 1.22 Fix LDTLB handling bug. sys/uvm/uvm_map.c 1.104 via patch sys/vm/vm_map.h patch (uvm_map.h 1.30) Create a new pool for map entries, allocated from kmem_map instead of kernel_map. Use this instead of the static map entries when allocating map entries for kernel_map. This greatly reduces the number of static map entries used, and should eliminate the problems with running out. usr.sbin/lpr/lpd/lpd.8 patch Add missing command name. sys/arch/mac68k/include/bus.h 1.18 Define __BUS_SPACE_HAS_STREAM_METHODS since that fits what we have. sys/kern/uipc_socket.c 1.57 In soreceive(): do not ignore uiomove() error. Fixes PR#11692. bin/sh/expand.c 1.52 Do not truncate expr > 10 digits. Fixes PR#13943. distrib/sun3/common/rd.services 1.2 Add missing NFS entries; required for mount_nfs. sys/dev/pci/bktr/bktr_os.c 1.21 Check unit count correctly (correct fencepost error) on device open. distrib/sets/lists/comp/mi patch distrib/sets/lists/man/mi patch distrib/sets/lists/man/obsolete.mi patch distrib/utils/sysinst/arch/alpha/md.h patch distrib/utils/sysinst/arch/i386/md.h patch etc/etc.alpha/MAKEDEV 1.68-1.69 etc/etc.i386/MAKEDEV 1.129,1.135 share/man/man4/Makefile patch share/man/man4/ca.4 deleted share/man/man4/cac.4 patch share/man/man4/iop.4 1.1-1.11 (new) share/man/man4/iopsp.4 1.1-1.4 (new) share/man/man4/ld.4 1.1-1.4 (new) share/man/man4/mlx.4 1.1-1.4,1.6 share/man/man4/twe.4 1.1-1.7 (new) sys/arch/alpha/alpha/conf.c patch sys/arch/alpha/conf/ALPHA patch sys/arch/alpha/conf/GENERIC patch sys/arch/alpha/conf/files.alpha 1.126 via patch sys/arch/arc/conf/files.arc 1.24 sys/arch/arm32/conf/files.arm32 1.83 sys/arch/atari/conf/files.atari 1.70 sys/arch/bebox/conf/files.bebox 1.21 sys/arch/cobalt/conf/files.cobalt 1.7 sys/arch/i386/conf/GENERIC patch sys/arch/i386/conf/INSTALL patch sys/arch/i386/conf/files.i386 patch sys/arch/i386/i386/autoconf.c patch sys/arch/i386/i386/conf.c patch sys/arch/macppc/conf/files.macppc 1.36 sys/arch/sparc64/conf/files.sparc64 patch sys/conf/files patch sys/dev/Makefile patch sys/dev/eisa/cac_eisa.c 1.1-1.2 (new) sys/dev/eisa/eisadevs 1.19-1.24 sys/dev/eisa/eisadevs.h regenerate sys/dev/eisa/eisadevs_data.h regenerate sys/dev/eisa/files.eisa 1.22 sys/dev/i2o/Makefile 1.1-1.4 (new) sys/dev/i2o/files.i2o 1.1-1.3 (new) sys/dev/i2o/i2o.h 1.1-1.8 (new) sys/dev/i2o/iop.c 1.1-1.16 (new, via patch) sys/dev/i2o/iopio.h 1.1 (new) sys/dev/i2o/iopreg.h 1.1 (new) sys/dev/i2o/iopsp.c 1.1-1.10 (new, via patch) sys/dev/i2o/iopspvar.h 1.1-1.5 (new, via patch) sys/dev/i2o/iopvar.h 1.1-1.8 (new) sys/dev/i2o/ld_iop.c 1.1-1.9 (new) sys/dev/ic/ca.c deleted sys/dev/ic/cac.c 1.10-1.18 via patch sys/dev/ic/cacreg.h 1.4-1.5 via patch sys/dev/ic/cacvar.h 1.6-1.8 sys/dev/ic/ld_cac.c 1.1-1.3 (new) sys/dev/ic/ld_mlx.c 1.1-1.2 (new) sys/dev/ic/mlx.c 1.1-1.13 (new, via patch) sys/dev/ic/mlxio.h 1.1 (new) sys/dev/ic/mlxreg.h 1.1-1.3 (new) sys/dev/ic/mlxvar.h 1.1-1.4 (new) sys/dev/ld.c 1.1-1.11 (new) sys/dev/ldvar.h 1.1-1.5 (new) sys/dev/pci/Makefile patch sys/dev/pci/cac_pci.c 1.5-1.10 via patch sys/dev/pci/files.pci patch sys/dev/pci/iop_pci.c 1.1-1.5 (new, via patch) sys/dev/pci/ld_twe.c 1.1-1.7 (new) sys/dev/pci/mlx_pci.c 1.1-1.5 (new, via patch) sys/dev/pci/pci_subr.c 1.39-1.40 sys/dev/pci/pcidevs 1.282,1.285,1.299 sys/dev/pci/pcidevs.h regenerate sys/dev/pci/pcidevs_data.h regenerate sys/dev/pci/pcireg.h 1.31-1.32 sys/dev/pci/twe.c 1.1-1.19 (new, via patch) sys/dev/pci/twereg.h 1.1-1.5 (new) sys/dev/pci/twevar.h 1.1-1.8 (new) sys/dev/scsipi/scsiconf.c 1.153 sys/sys/conf.h patch sys/sys/device.h 1.43 sys/sys/disklabel.h patch sys/sys/scsiio.h 1.9 Add Mylex DACC960, CAC-EISA, and I2O block/SCSI drivers. sys/dev/ic/Makefile patch sys/dev/pci/Makefile patch Move mlxio.h and mlxreg.h from dev/pci/Makefile to dev/ic/Makefile usr.sbin/lpr/lpd/lpd.c 1.29 Use DEFLP ("lp") for printer when printer is zero-length. lib/libc/gen/getcap.c 1.34 Avoid an underrun in "buf". Fixes PR#13292. gnu/libexec/uucp/uuxqt/uuxqt.c 1.4 Pay more attention to commandline parsing of long options. usr.sbin/vipw/vipw.8 1.8 Correct reference to user(8). sys/miscfs/specfs/spec_vnops.c 1.59 via patch Change spec_{read,write}() to specify block number in units of DEV_BSIZE instead of the device's sector size. With this, /dev/rcd0a and /dev/cd0a returns the same data. Fixes PR#3261 and PR#14026. etc/defaults/rc.conf 1.22 via patch By default issue Router Solicitation requests on all interfaces if someone sets rtsol=YES. sys/dev/pci/if_sip.c patch Adjust receive and transmit descriptor list structures, sip_start(), and sip_txintr() to be more similar to the current development version. Fixes periodic device timeouts. usr.bin/rpcgen/rpc_clntout.c 1.11 via patch Remove an extraneous opening brace from newstyle output. Fixes PR#14066. crypto/dist/ssh/key.c 1.8 Fix ssh v2 access control vulnerability. lib/libc/db/recno/rec_get.c 1.11 Use a ptrdiff_t instead of an indx_t to hold a difference between a pair of pointers, since the latter can be a 16 bit data type. The effects are that recno databases can now handle records larger than 64KB, and nvi can now handle files with lines longer than 64KB. lib/libc/gen/fstab.c 1.23 Two fixes to fstabscan(): o if fs_type is NULL, warn in stead of crashing o clear _fs_fstab before each use Fixes PR#13787 and PR#14117. gnu/usr.bin/send-pr/Makefile 1.26 via patch Get the information for the "Release" field via running "uname" on the host which is doing the filing. Fixes PR#14217, PR#13938, and PR#14104. share/man/man5/resolv.conf.5 1.21 via patch Typo correction. sys/dev/usb/uhci.c 1.127 Fix warnings about interrupts which were not for uhci. distrib/i386/floppies/Makefile 1.23 partial, via patch distrib/i386/floppies/fdset-com/Makefile 1.1 (new) distrib/i386/floppies/ramdisk-big/list 1.3 distrib/utils/sysinst/arch/i386/md.c 1.55 distrib/utils/sysinst/arch/i386/md.h 1.27 distrib/utils/sysinst/arch/i386/menus.md.en 1.35 distrib/utils/sysinst/arch/i386/menus.md.fr 1.28 distrib/utils/sysinst/arch/i386/msg.md.en 1.24 distrib/utils/sysinst/arch/i386/msg.md.fr 1.16 Create boot-com{1,2}.fs{,.gz} floppy images, for installing or upgrading NetBSD/i386 on a machine with no video console at all. usr.bin/sed/process.c 1.27-1.30 Don't attempt memmove() if pattern space length is zero. Fixes PR#14074. sys/dev/ic/rtl81x9.c 1.29-1.31,1.33-1.34,1.36 via patch sys/dev/ic/rtl81x9var.h 1.8-1.10 via patch Apply assorted stability fixes: o increase early TX threshold if underrun occurred o reworked transmit logic o fix bug in ring-buffer wrap calculation Should fix problems with hung network interfaces of this type. sys/arch/i386/pci/ali1543.c 1.1-1.2 (new) sys/arch/i386/pci/pci_intr_fixup.c 1.17 sys/arch/i386/pci/pci_intr_fixup.h 1.3 via patch sys/arch/i386/conf/files.i386 1.190 via patch Add support for ALi M1543 in pcibios as e.g. found in a Toshiba Portege 4000. sys/arch/vax/vax/pmap.c patch Handle remapping of pages entered by pmap_kenter_pa() properly. Fixes PR#12231. sys/arch/hp300/hp300/clock.c 1.22 via patch sys/arch/hp300/hp300/clockreg.h 1.6 via patch Fix two bugs, one Year 2000 bug, one Year 2001 bug, related to usage of two-digit BCD year in TOD clock. sys/kern/vfs_cache.c 1.31 Safely handle cleanup of namecache entries in the event of multiple threads ending up in the same section of code looking for the same entry, possible because vget() can sleep. Fixes PR#14042. usr.bin/ftp/fetch.c 1.127 If in a proxied environment and no_proxy is true, use fetch_ftp() to fetch FTP type URLs.