# $NetBSD: CHANGES-1.4.2,v 1.1.2.21 1999/09/10 23:38:06 he Exp $ A complete list of changes from NetBSD 1.4.1 to NetBSD 1.4.2: File Revision(s) ---- -------- bin/pax/tar.c 1.15 Add the ability to read V7 tar archives which use USTAR-style directories. Addresses PR#8220. (kleink) sbin/newfs_msdos/newfs_msdos.c 1.4 After determining the size of a file being used as an msdosfs image, seek back to its start so subsequent writes go to the right places. (cgd) lib/libkvm/kvm_file.c 1.14 Fix kvm_getfiles() so that it works properly on kernel core dumps. (cgd) usr.bin/netstat/unix.c 1.18 Report error returns from kvm_getfiles() more correctly. (cgd) sys/lib/libsa/ufs.c 1.26 Fix a problem that could cause files' seek pointers to be incorrect after being opened. (cgd) usr.sbin/mbrlabel/mbrlabel.c 1.4-1.5 Correct usage message and make the MBR examination code function properly on architectures which enforce strict alignment. (cgd) usr.bin/tail/extern.h 1.4 usr.bin/tail/forward.c 1.16 usr.bin/tail/read.c 1.7 usr.bin/tail/reverse.c 1.11 Avoid incorrectly-repeated error messages. (cgd) sys/msdosfs/denode.h 1.31 sys/msdosfs/fat.h 1.13 sys/msdosfs/msdosfs_fat.c 1.31 sys/msdosfs/msdosfs_vnops.c 1.83 Fix LP64 problems which made the MS-DOS file system unusable on NetBSD/alpha as reported in PR#8037 and several other problems encountered while researching it (NFS exporting and printf formats). (cgd) usr.bin/find/extern.h 1.12 usr.bin/find/find.h 1.12 usr.bin/find/find.1 1.22-1.23 usr.bin/find/function.c 1.31 usr.bin/find/option.c 1.13 Implement -regex and -iregex primaries which behave similarly (but not identically) to the GNU find primaries of the same names. (The differences are caused by differences in the Basic Regular Expression implementations.) (cgd) distrib/sets/lists/comp/md.arm32 1.25 Add "usr/include/machine/devmap.h" so that the X server can be built. (mrg) sys/dev/rnd.c patch A more consistent branch-specific fix for the data extraction locking bug previously fixed. (ross) lib/libc/sys/connect.2 1.14 Explain how to get status information for non-blocking connects, fixing PR#8208. (sommerfeld) sys/dev/eisa/eisadevs 1.16 sys/dev/eisa/eisadevs.h regen sys/dev/eisa/eisadevs_data.h regen sys/dev/eisa/if_ep_eisa.c 1.21 Recognize a 3Com 3c509 Combo configured in EISA mode, fixing PR#8234. (tron) usr.sbin/pkg_install/Makefile.inc 1.6-1.8 usr.sbin/pkg_install/add/extract.c 1.17-1.19 usr.sbin/pkg_install/add/main.c 1.10 usr.sbin/pkg_install/add/perform.c 1.30,1.32-1.36 usr.sbin/pkg_install/add/pkg_add.1 1.16 usr.sbin/pkg_install/admin/main.c 1.4-1.6 usr.sbin/pkg_install/create/perform.c 1.18 usr.sbin/pkg_install/create/pkg_create.1 1.17-1.18 usr.sbin/pkg_install/create/pl.c 1.12-1.15 usr.sbin/pkg_install/delete/delete.h 1.5 usr.sbin/pkg_install/delete/main.c 1.12 usr.sbin/pkg_install/delete/perform.c 1.24-1.25 usr.sbin/pkg_install/delete/pkg_delete.1 1.13-1.14 usr.sbin/pkg_install/info/info.h 1.10 usr.sbin/pkg_install/info/main.c 1.17 usr.sbin/pkg_install/info/perform.c 1.24-1.26 usr.sbin/pkg_install/info/show.c 1.13-1.15 usr.sbin/pkg_install/info/pkg_info.1 1.18 usr.sbin/pkg_install/lib/file.c 1.28-1.30 usr.sbin/pkg_install/lib/lib.h 1.22-1.23 usr.sbin/pkg_install/lib/plist.c 1.19-1.21 usr.sbin/pkg_install/lib/str.c 1.16 Update in-tree pkg tools: o Pass & use BINDIR instead of hardcoding /usr/sbin. o Adapt this to work better on Solaris. o Treat absolute paths in PLIST properly, i.e. do not allow them at all. o Clean up URL handling. o Fix conflict checking for package names with hyphens in their name by using "pkg-[0-9]*" instead of "pkg-*" for detecting conflicting packages. o Document PKG_TMPDIR environment variable. o De-linting and some code cleanup. o @srcdir was renamed to @src a long time ago (fixing PR#7555). o Message files in binary packages are not displayed with more(1). o Allow specifying a package name without a version. o Call deinstall-script again after files are removed, with POST-DEINSTALL argument. o Disable annoying "key not present" warning. o Fix error checking when creating directory for pkgdb. (hubertf) sys/net/if.c 1.51 Fix a problem in ifa_ifwithnet() for netatalk, making atalkd work in more configurations. (bouyer) sys/netinet/ip_proxy.c 1.18 Check the protocol before forwarding to proxy module. Fixes PR#7831. (bouyer) gnu/usr.bin/tar/gnu.c 1.5 gnu/usr.bin/tar/list.c 1.6 Cast off_t to size_t when passing arguments to functions expecting a size_t. This fixes errors due to memory corruption when extracting archives with gtar style long file names on big endian machines. Fixes PR#8229. (bad) doc/tmac/doc-common 1.32 Mark Ap as callable, fixes formatting of a few man pages. (ross) sys/dev/ata/ata_wdc.c 1.20 sys/dev/ic/wdc.c 1.69-1.70 sys/dev/scsipi/atapi_wdc.c 1.22+patch Add some debug printfs, change timeout handling to be more efficient and less error-prone, and fix the "lockup after lost interrupt" problem some users have been reporting. Also a mostly-stylistic change guarding tsleep() with a while() loop, and a retry if PIO mode < 3 fails. (bouyer) share/mk/bsd.man.mk 1.46 Use -Tascii for pre-generated man pages, avoiding nroff character set dependence on LESSCHARSET (!), fixing PR#4522. (bad) etc/mtree/special 1.23-1.24 Change to match the permissions set on install, and fix for nonexistent group name. (is) share/zoneinfo/africa 1.1.1.10 share/zoneinfo/antarctica 1.1.1.6 share/zoneinfo/asia 1.1.1.9 share/zoneinfo/australasia 1.1.1.9 share/zoneinfo/europe 1.1.1.9 share/zoneinfo/leapseconds 1.1.1.4 share/zoneinfo/northamerica 1.1.1.10 share/zoneinfo/southamerica 1.1.1.9 Update to tzdata1999e. (kleink) sys/miscfs/fdesc/fdesc_vnops.c 1.51-1.53 sys/miscfs/kernfs/kernfs_vnops.c 1.66-1.67 sys/miscfs/procfs/procfs_vnops.c 1.66-1.68 Protect {fdesc,kernfs,procfs}_readdir against directory seeks with bogus offsets. (sommerfeld) etc/rc 1.129 Fix denial-of-service attack involving vi preserve. (christos) usr.bin/su/su.c 1.35 Fix memory corruption problem. (christos) etc/etc.x68k/MAKEDEV 1.21 Since we now use Xwrapper to start the X server, we can restrict non-root access to grf, mouse and kbd, closing a security hole. (minoura) sys/dev/pci/pcidevs 1.137 sys/dev/pci/pcidevs.h regen sys/dev/pci/pcidevs_data.h regen sys/dev/pci/if_ex_pci.c 1.7 Recognize 3c905C-TX card. (bouyer) sys/msdosfs/msdosfs_vnops.c 1.86 Do not permit writing to read-only mounted msdosfs file system, fixing PR#7619. (jdolecek) sys/sys/fcntl.h 1.17 sys/kern/vfs_vnops.c 1.38 sys/kern/kern_sig.c 1.93 Don't allow coredump to follow symlinks, this has security implications. (bouyer) sys/ufs/lfs/lfs_alloc.c 1.23 sys/ufs/lfs/lfs_segment.c 1.28 Fix a printf format bug that gives compiler warnings/errors on 64-bit platforms, fixing PR#8241. (perseant) lib/libc/gen/__fts13.c 1.16-1.25 Fix various bug in fts(3), preventing a buffer overflow on a very deep tree, and a silent trucation of the path when fts_pathlen overflows. Also, make this compile on Linux. (bouyer) sbin/newfs_lfs/lfs.c 1.5 Refuse to create a file system with too few segments, which would prevent the cleaner from working, fixing PR#7623. (perseant) sbin/mount_ados/mount_ados.c 1.9 sbin/mount_cd9660/mount_cd9660.c 1.8 sbin/mount_fdesc/mount_fdesc.c 1.10 sbin/mount_filecore/mount_filecore.c 1.2 sbin/mount_kernfs/mount_kernfs.c 1.11 sbin/mount_lfs/mount_lfs.c 1.8 sbin/mount_msdos/mount_msdos.c 1.20 sbin/mount_nfs/mount_nfs.c 1.23 sbin/mount_null/mount_null.c 1.6 sbin/mount_procfs/mount_procfs.c 1.10 sbin/mount_umap/mount_umap.c 1.9 sbin/mount_union/mount_union.c 1.6 Regularize error reporting of mount_* commands for failure of mount(2) to the form "mount_xxx: dev on dir: reason for failure" (as opposed to the old "mount_xxx: : reason for failure"). This is related to PR#7592, but not a complete fix for that PR. (perseant) distrib/sets/lists/xbase/mi 1.14-1.16 distrib/sets/lists/xcomp/mi 1.7-1.8 distrib/sets/lists/xserver/md.arm32 1.5-1.7 distrib/sets/lists/xserver/md.atari 1.4-1.5 distrib/sets/lists/xserver/md.i386 1.10-1.11 distrib/sets/lists/xserver/md.vax 1.3 (resurrected) Various changes to sync these files with xsrc. Specifically: o Update for XFree86 3.3.4 o Update for XFree86 3.3.5 o Add Vax X11 server o RCS Id policy conformance (tron) distrib/sets/makeflist 1.16 Cope with #-comments in distrib set files. (he) etc/security 1.40 Don't try to grab disklabels from CDs. (perry) sys/nfs/nfs_subs.c 1.71 Don't truncate minor numbers > 255 on a NFS client. (is) sys/arch/i386/i386/locore.s 1.212 Make kernels configured without npx link again, fixing PR#8262. (kleink) sbin/disklabel/interact.c 1.10 'Label disk?' prompt should check for 'Y' as well as 'y'. (abs) sys/dev/isa/files.isa 1.89 The nca driver mistakenly detects an i82585tx as its hardware. Move the nca driver probe after the iy probe (which is more friendly to other hardware). (is) share/mk/bsd.doc.mk 1.43 share/mk/bsd.files.mk 1.10 share/mk/bsd.kmod.mk 1.32 share/mk/bsd.lib.mk 1.157 share/mk/bsd.man.mk 1.48 share/mk/bsd.nls.mk 1.19 share/mk/bsd.prog.mk 1.103 Allow natural use of multiple "make" targets within the main tree without setting BUILD in /etc/mk.conf, or anywhere else. Particularly, permit "make all install" and "make file install" (where file is installed by "make install"). Behavior with BUILD set is unchanged. Fixes PR#8313 and PR#3894. (fredb) sys/dev/ic/i82586.c 1.24 Remove a spurious printf() from the interrupt handler which got triggered when sharing the interrupt level with other devices. (pk) gnu/dist/gdb/config/arm/tm-armnbsd.h 1.5 Make single-stepping over conditional instructions work on the ARM32, fixing PR#7565 and possibly PR#8156. (is) sys/dev/ic/clmpccreg.h 1.2 sys/dev/ic/clmpccvar.h 1.3 sys/dev/ic/clmpcc.c 1.6 Fix panics seen by some people during mvme167 installation. (scw)