LIST OF CHANGES FROM PREVIOUS RELEASES: <$Revision: 1.23 $> Changes from 386bsd 0.1 + patchkit 0.2.2 to NetBSD 0.8: fdescfs, kernfs included mt(1): added bsd mt ktrace(1): now works cron(8): crond, crontab cleaned, and install properly prompt for floppy root disk added kgmon, gprof many vm bug fixes ed(1): free ed fixes to /etc/*, particular /etc/{weekly,daily,monthly}, netstart yp: beginnings of yp support tmpnam(3): tmpnam fix some alpha patchkit 0.2.3 stuff (piecemeal, and in some cases improved) better sun rpc support rwall(1), rpc.rwalld(8): Added ETXTBUSY, returned properly on writes to files being executed, etc maxfdescs - fixes bash, sendmail, etc. behaviour when you use 'unlimit' larger default tcp windows (buffer space per socket) games brought in from bnr2 bpf fixes wdc vs wd, fdc vs fd fix; basically distinguish between controller and slave(s) attached to it. see sample configs scsi: incomplete wd7000 driver makesyscalls.sh, brought in from bnr2, works longer wd/fd probes, to catch more controller/drive combos (customize kernel config to look for devices that you know are there, to avoid delay). better fix in next release scsi: multiple open st(4) should get EBUSY updated elvis scsi: options SCSI, no more 'scbus' crap. see sample configs patch(1): patch patchlevel 12 integrated (non-GPLed) netiso, netcitt, netns: added and they even compile more stuff incorporated from bnr2 (some from patchkit 2.3, some not) kernel: probe printf improvements fnmatch fix fdisk(8): program pcfs config(8): hacked to be more rational, generate less broken garbage, added expression support, and "requires" swapinfo ps(1), w(1): fix for command line args mmap, et. al protection fixes nfs: nfs client, nfs server split. now individually configurable, see sample configs zillions of bug fixes for broken Makefiles poor error handling broken features enhancements for ease of use greater functionality fixing, and replacing some of Jolitz's cruftier hacks bringing some old BSD utilities into modern age Changes from NetBSD 0.8 to NetBSD 0.9: fixed PCFS so this it actually works now. (Jim Jegers, via patchkit) i386: got rid of bt0 driver in GENERICISA, as it was conflicting with aha0. (cgd) i386: make sure .../sys.386bsd/compile makes it into the distribution. (cgd) kernel: added support for BSDI's QMAGIC exec format to the kernel and related utilities; *NULL now core dumps. Also fixed several NULL pointer references caught by this. (mycroft and sef) fixed "/bin/sh: not found" problem when cleaning in libc (cgd) added the latest db lib from vangogh (v1.1 done by proven, 1.6 by cgd) db.h, ndbm.h, mpool.h updated. sys/syslimits.h has macro for SSIZE_MAX libc/getpwent and ttyname changed to use dbopen along with pwd_mkdb, kvm_mkdb, dev_mkdb, vacation, ps sped up console driver considerably by reducing the number of spl*() calls. (mycroft) games: fixed various bugs in the games. (mycroft) crypt(3): moved non-exportable crypt(3) software into /usr/src/lib/libcrypt, made crypt.c in libc a dummy, and made appropriate changes elsewhere to get things right. use "make EXPORTABLE_SYSTEM=true" to make binaries w/o libcrypt. (cgd) yp: added YP to libc, and yp programs to usr.sbin/yp. (deraadt) netstat(1): -s now prints out all of the udp statistics gathered (glass) login(1): brought in new login(1) from uunet. (cgd) test(1): brought in new test(1) from uunet, ditched bash version (glass) tr(1): brought in new tr(1) from uunet (glass) termios(4): added termios(4) man page from uunet (glass) syslog(3): updated syslog(3) from uunet for better error handling (glass) fixed syscall() with John Kohl's patch (proven) tcp_*space reduced to 4k, because of interactions with vm. (cgd) fixed: SLATTACH hangs up on connect to modem port -> raise DTR patch from: bugs@rafal.slip.uiuc.edu (cgd) kernel: can't exec a file people are writing to, any more... (cgd) ethernet: fixed the amazingly shitty ethernet performance with cheap Western Digital cards. (mycroft) i386: the /usr/src/sys/i386/boot/rmaouthdr script was not executable, which caused 0.8 to have a broken bootwd (deraadt) segregated GNU software in the standard dist. from the rest. it's now in /usr/src/gnu/* (cgd) various changes from Ralf Freidl to fix brokenness in pcfs (cgd) tail(1), join(1): replaced gnu tail(1), join(1) with bsd equivalents from uunet (glass) fixed kernel profiling, again. now it _works_. (cgd) touch(1), err(3): integrated CSRG-released touch(1), err(3) (glass) add process accounting & fix related utilities (cgd) networking: make generic kernels include slip interface so they don't die of stack overflow when using loopback w/no enet (cgd) rpc include files are now installed from /usr/src/include (deraadt) actually fix that loopback+no other interfaced->reboot problem (cgd) kernel: make serial ports be correctly-numbered (cgd) hp300, ethernet: added support for HP ethernet controllers. (mycroft) made the entire distribution compile and run with GCC 2. (mycroft) dd(1): replace GNU dd(1) with recently released Berkeley version (glass) update (f)lex to version 2.3.8 from prep.ai.mit.edu (cgd) bc(1): fix bc so that it uses the distributed files, not ones we yacc/lex ourself. makes it work, and not require extra newlines (cgd) ifconfig -a (deraadt) iostat and vmstat now understand wd/fd disks. Not scsi disks yet though.. (deraadt) Jim Wilson's sh changes (sef) uname(1), uname(3): add uname program and syscall, for POSIX. changes came from John Brezak (cgd) made num, caps, and scroll lock not repeat. (mycroft) fix from Pete Chown for appropriate mmap permissions checking (cgd) add assembly language version of index, rindex, strchr, and strrchr supplied by J.T. Conklin (cgd) update source tree with changes from patchkit-0.2.3 (cgd) update stdio buffering routines with replacements from Chris Torek (cgd) network loopback now supports multiple interfaces via, e.g. "pseudo-device loop 2". patch provided by David Burren (cgd) wd disks print their geometry if it can be determined via a READP command (deraadt) i386: fd drives print their geometry according to what the BIOS says (deraadt) npx changes from patchkit patch 10002. Original author of these patches is Bruce Evans. (deraadt) the ring buffer code now uses "rbchar"s rather than char's. An rbchar is actually a short. This patch allows "literal next" to work (ie. ^V^D) (deraadt) fixed kvm_getprocs() to work after kvm_getprocs() and kvm_freeprocs() have been called already (cgd) tip(1): fix from Bakul Shah to make tip not dump core when Courier acu routines are used with a non- USR Courier modem. (cgd) nfsd will no longer loop endlessly if it is invoked on a kernel in which NFSSERVER has not been included in. (glass) cron(8): crond will no longer directly open /var/cron/log, fail and complain. now uses syslog(3); cron.info can now be used to select the messages it logs. default syslog.conf has: cron.info /var/cron/log # for backwards compat. lockf patch from Paul Kranenburg (deraadt) the rpc library now has xdr_float and xdr_double. patches from J.T. Conklin (deraadt) fix tmac.andoc .TH directive handling. patch from J.T. Conklin (cgd) sendmail(8): make sendbug give a "To:" to sendmail. patch supplied by Gordon Burditt (cgd) fix kernel printf's "%b" (bits) format. patch supplied by Gordon Burditt (cgd) add TIOCSTAT ioctl to give load average stats if requested (for tcsh) from Luke Mewburn (cgd) hp300: integraged hp300 code from net/2 (cgd) fixed uninitialized field of struct proc which would occasionally cause "w" to panic the system (cgd) various 8-bit patches from Andrew Chernov tty_compat.c is cleaned up, as is STOP+TIOCSTI in tty.c (deraadt) fd error reporting cleanup. (deraadt) fixed bad man page & syscall definition for getpgrp(). (posix says it takes no args, and i don't argue...) (cgd) add change from Guido van Rooij so that io port access from user processes doesn't randomly work/fail. now must open /dev/mem to get access. (cgd) isofs: apply patch from Jagane D. Sundar to allow NFS-mounting of ISO 9660 (isofs) filesystems, and to fix a few small isofs bugs. (cgd) config(8): have config make kernel compilation directories in /sys/${MACHINE}/compile rather than /sys/compile (cgd) netstat(1): changes from David Burren so that netstat prints names for routes when not given -n, and so that it prints address family names (cgd) libc, tset(1): add new getcap routines to libc, adjust termcap build and tset(1) accordingly, and add cap_mkdb (cgd) move csu.${MACHINE} libraries into one subdir in /usr/src/lib (cgd) kernel: moved kernel architecture-dependent sub-directories into /sys/arch/${MACHINE}. great for more archs! (cgd) kernel: fixed "swap generic" support (cgd) kernel: improve kernel select mechanism further, by making setup done by a function. put protos into /sys/sys/select.h and clean up all of the messes it makes (cgd) file(1): now prints the targets of symbolic links, thanks to John Brezak (brezak@osf.org) for the patch. (cgd) ed(1): 8-bit clean; no line-length limit; regex support for NULs (alm) sed(1): fixed NULL indirection (alm) fix "cpu" declarations in kernel config files so that they work as originally intended. this means that only CPUs for which there is a CPU declaration (see kernel config files for examples) are supported by a kernel compiled with the config. also, if you want the math emulator in your kernel, you now need the "MATH_EMULATE" option in the kernel config file. (cgd) disklabel stuff in the kernel has been split up into arch indep & arch dep components. no more dos stuff in ufs_disksubr.c! (deraadt) add packet size check for raw IP provided by Paul Antonov , to fix the "traceroute foohost 2000 causes panic" problem. (cgd) Fixed packet counters in if_ec, as noted by Mike J. Fuller (davidb) Modified the SCSI disk startup so that DEC disks (for example) are told to spin up _before_ they are asked if they're ready. (davidb) mips, ns32k: Updated the rpc library to support MIPS and NS32k CPUs. (davidb) netiso, ethernet: applied various patches supplied by Havard Eidnes to generally fix ISO support, including: reception of ISO multicasts in with we ethernet driver, fixed CLNP Echo reponder, and netstat, ifconfig, and libc fixes (cgd) use the Athena "newsyslog" utility to rotate logs, rather than the old, cumbersome method in /etc/{daily,weekly,monthly} (cgd) replaced broken /usr/include/bitstring.h w/new version from Mike Murphy (cgd) added /usr/src/regress, for regression tests (cgd) add Yuval Yarom's changes (originally for BSD/386) for advisory record locking on NFS files. Note that this DOES NOT support network locking, only local advisory locks. (cgd) fix /bin/ls; is clobbered first env. var. if given no filename args given. patch from Bob Willcox . (deraadt) mail.local can now use username.lock files as well as flock(). Use the -l flag in your favorite sendmail.cf file. (deraadt) kernel: don't remake newvers and relink kernel if nothing has changed (cgd) sup(1): fix SUP to not need any version of crypt. Use "make MAKE_EXPORT=1" to build a SUP for export. (brezak) compress(1): add patch00144 - fixed compress bug with a small path[] array from . (deraadt) add patch00149: sd/cd drivers printed incorrect blocknumbers when they hit errors. From . (deraadt) /etc/localtime is now created from by "make distribution" (deraadt) more(1): fixed /usr/bin/more to not play with magic numbers from executables directly. It now uses the N_BADMAG() macro. (deraadt) lpr(1): fixed lpr's dealings with magic numbers. It now no longer accesses exec.a_magic directly, and it knows about modern "ar" files rather than the old ones (deraadt) use EXPORTABLE_SYSTEM instead of MAKE_EXPORT to build crypt-free SUP. Just like the rest of the system. (brezak) tty structures are allocated dynamically. The d_ttys field in cdevs[] now has an extra level of indirection. The pty and com drivers allocate pty's dynamically, the pccons driver does not. Check out the "ttys" field in vmstat -m. (deraadt) kernel: make sleeps during FIFO open interruptable (cgd) kernel: various patches to kernel files to make things compile with GCC-2.3.3 (proven) patch to signal .h for ANSI validation (proven) cron(8): update to version 3.0 of Paul Vixie's cron package (cgd) kernels without pc0 support can be built, and work (deraadt) yp: add yppoll command (brezak) update yacc to the latest version from Berkeley (1.9) (cgd) fixed kernfs security hole, where it wouldn't actually check perms before allowing users to write hostname (cgd) added chown/chmod/chgrp functionality to kernfs (cgd) telnet(1): sending simple telnet commands fixed. patch originally from Jonathan Stone (cgd) execve(2): replace execve with new one, based on work by Wolfgang Solfrank , but beaten up a good amount by cgd. (after several iterations of beating have gone on, this code is *really* differnt...) (cgd) update kvm library for the new exec, and add a kvm_getenv function, to get a process's environment var list. ps and w apply strvis() to args/environment before printing (cgd) ps(1): give ps an 'e' option, to print the environment variables of processes (cgd) add vt300 to termcap.src (brezak) stty(1): fixed stty so that setting "ispeed" works. (cgd) i386: move i386 signal trampoline code from the pcb to the top of the stack. at the same time, implement copying out of the signal trampoline code, on process creation. (cgd) libg++: shut up libg++ "make"'s whining (cgd) allow user to specity that programs depend on c++ sources (previously only could be done for libraries) (cgd) fix library "make depend" problem, in which it wasn't generating dependencies for profiled .o files (cgd) ps(1): fix to not show CPU/memory/swap usage if process is zombie (cgd) fix from Wolfgang Solfrank (ws@tools.de) to kill processes outright if they exceed their hard CPU-usage limit (cgd) fix for NFS's bogus use if va_flags and va_gen, and other minor NFS fixes, supplied by John Woods, jfw@ksr.com (cgd) fix /usr/include/rpcsvc/rnusers.x - versions were reversed (brezak) add /lib/rpcsvc for upcoming rusers/rup clients and daemons (brezak) revert the "syncing disks" message on reboot to it's original, more informative, form (cgd) fix /usr/include/rpcsvc/klm_prot.x so it compiles. (brezak) add /usr/libexec/rpc.rstatd, rpc.rusersd, rpc.rwalld. (brezak) add /usr/bin/rup, rusers, rwall(changes). (brezak) add LIBRPCSVC to bsd.prog.mk. (brezak) removed bugs and memory leaks from directory functions (proven) tip(1): make tip obey Taylor UUCP's locking conventions. Patch from Peter da Silva , patchkit patch #139. (cgd) tip(1), getty(8), kernel: patch from David Greenman and Rod Grimes (davidg@implode.rain.com and rgrimes@agora.rain.com) to support 57600 and 115200 baud in the kernel, tip, and getty. pk patch #150 (cgd) patch from so rlogin understands higher baud rates (deraadt) use Bruce Evans' pc3 termcap entry. pk patch #156 (cgd) kernel: add delay loop to lpa and lpt drivers to allow data port to stablize. make "lpflag" unique. patch from Rod Grimes , as pk patch #164 (cgd) change MCLSHIFT to 11, so mbuf cluster size is bigger than MTU of network interfaces, for performance. to use old size, use "options MCLSHIFT=10" in your kernel config. this is patchkit patch #166. (cgd) remove /usr/local and /usr/contrib from root's path, and also give root and operator "sane" group ids. (cgd) convert to Bruce Evans' new interrupt system, as hacked by Rod Grimes , and suppied in the patchkit (in patches 158 and 167). (cgd) get rid of the "as" (old SCSI) driver, finally. (cgd) rename kernel functions getc() and ungetc() to rbgetc() and rbungetc(), respectively. (cgd) chmod(1): dealings with symbolic links now un-hosed (deraadt) clean up miscfs and isofs filesystems. they now have their own vnode types and malloc types. (cgd) added Terry Lambert's loadable kernel modules code. (cgd) add man pages for rpc.rwalld, rpc.rusersd, cleaup rpc.rstatd (brezak) : fix alloca() definition for gcc2 and gcc1. (brezak) change host field width in rusers and rup. Also print idle time in days,hours,minutes,seconds in rusers. (brezak) rwall(1), rusers(1): add man pages for rwall, and rusers. (brezak) integrate changes from conklin@talisman.kaleida.com (J.T. Conklin) that incorporate changes from TIRPC to include/rpc and lib/librpc. I also added code to getrpcent.c for YP. (brezak) yp: delete lib/libc/yp/yppasswdxdr.c because it is now in librpcsvc. (brezak) updated file(1) and magic database to Ian Darwin's latest release. (jtc) patch from Yuval Yarom so implicit binds in in_pcbbind will assign used ports if the if the port is bound on specific interface, and not on INADDR_ANY. (deraadt) patch from Yavul Yarom. The loopback check for forwarded packets was wrong (deraadt) yp: fix pwd_mkdb to not accidentally grow a complete passwd file from the YP passwd map. Include a getpwent.o that -UYP. (brezak) leave hole for AFS in vfssw[]. Define MOUNT_AFS in mount.h. (brezak) install symlinks to rpc and xdr manpages for rpc library routines; convert rpcgen, rpcinfo, and librpc manpages to -mandoc macros (jtc) inetd(8): now can start RPC services. (brezak) /etc/rc: remove starting of rwalld from /etc/rc and netstart. (brezak) yp: chpass and passwd will use YP is available. (brezak) install(1): added -d option to install (jtc) tip(1): can now read ~/.tiprc even when this file is not world- accessible. (andrew) applied Yuval Yarom's closef() panic patch - the panic was caused by multiple calls to unp_discard() sometimes being made when closing a socket. (andrew) added Microsoft and Logitech busmouse drivers, originally by Erik Forsberg. (andrew) added fast symlinks. Add `options FASTLINKS' to your config file or frob the variable `ufs_write_fastlinks' to enable creating them. Note potential conflict with Pete Chown's ACLs (which is currently not in our tree). And don't blame me if (though it's unlikely) your existing symlinks all barf because they have dirty spare fields. (mycroft) scsi: changed aha scsi driver to reduce the card's bus-on time from the default 11ms to 9ms. Prevents floppy drive read/write problems during heavy scsi io. (andrew) expr(1): changed expr(1) to use POSIX regular expressions (jtc) add assembly language versions of bcmp, ffs, memchr, memcmp, memset, strcat, strcmp, strcpy, strlen, and strncmp; change bzero to word align before its wordwise set. (jtc) integrate fnmatch from keith bostic/bsd4.4-alpha; update sources that use fnmatch: find, locate, mtree (jtc) i386: move sys/arch/i386/isa/spkr.h to sys/arch/i386/include. (brezak) completely rewrote and replaced physio (cgd) silence complaints about can't read size during probe in cd.c (brezak) change assert.h to be ANSI compliant (jtc) change signal.c to use ANSI C macro SIG_ERR, instead of BADSIG. remove BADSIG from signal.h, it's not used elsewhere. (jtc) nuke silly printf in vm_swap.c. (brezak) Use NNPX instead of NPX from npx.h. (brezak) Correctly extract version number from version string for uname. (brezak) add new Julian Elischer's new floppy driver, with modifications, from the patchkit (deraadt) convert the a.out format's a_magic fields and a_mid fields into one field, which is kept in network byte order (deraadt) integrate Donn Seeley's (i.e. BSDI's & CSRG's) init, as posted to various newsgroups (cgd) m4(1): upgraded m4 to latest version retrieved from Ozan Yigit after some begging. adds support for 'm4 ', and works with sendmail r8's m4 usage (glass) sendmail(8): upgraded sendmail to sendmail 8.1B; will follow future releases. see sendmail/READ_ME for information about the degree of backward compatability provided. also sendmail/cf/README. fixed bug in ECHONL processing (andrew) date(1): date command ignored setting the seconds value. patch from (deraadt) Fixed othersrc/xntp to find NetBSD kernels. (davidb) getopt(1): Add getopt command to usr.bin from agate:.../public. (brezak) added ANSIfications to /sys/{sys,kern} and sundry other affected areas; removed the never-used second argument that was being passed to timeout functions. (andrew) applied Yuval Yarom's recv() socket fixes to prevent incorrect blocking with MSG_WAITALL. Fixes a sbdrop() panic during some MSG_WAITALL recv(2) sleeps. Access rights problem also fixed. (andrew) fixed bugs in vm_glue.c that allowed a process to access its user pages. Writing to one of these pages on an i[34]86 system tends to cause an instant reboot... (andrew) gzip(1), tar(1): brought in versions of Bmake'd versions of GNU gzip and tar off of freefall. These understand the .gz suffix for gzip'ed archives. (brezak) uucpd(8): from Net2. (brezak) slattach(8): Support high tty speeds in slattach. (brezak) applied Paul Kranenburg's VM deadlock patches from the patchkit [patch00147, parts 2-4 - part 1 was already applied] (andrew) i386: fixed new i386 interrupt code to only do verbose statistics- gathering when compiled with INTR_DEBUG. also, use local labels for internal branches, so profiling works better. (cgd) i386, ethernet: add support for David Greenman's if_ed wd80[01]3 and 3c503 i386 ethernet driver. modify it to allow the "iosiz" to override the probed shared memory size, to help compatibility with clone boards (cgd) i386: change i386 interrupt vectors names so that they being with "X" instead of "V", like every other BSD system... (cgd) fixed /sys/scsi/sd.c to reject non block-aligned transfers, which were causing scsi hangs (andrew) convince /usr/src/share/doc to make and use "obj" directories (cgd) bootblocks: make the boot blocks make & install in same way as the rest of /usr/src (cgd) uniq -c /dev/null now works properly, it was not checking the return value from an fgets(). fix from (deraadt) first part of merge of amiga code, sys/arch/amiga. Full merge will require some changes outside too, as well as some renameing in sys/arch/amiga to avoid conflicts with existing modules (mw) i386: wd controller driver - major rewrite of timeout code to use DELAY(). added code to reset controller if it times out. patches sent in by many people. (deraadt) make the rlist code go away. it wasn't useful in the place it was intended to be used, and it was incompatible. in addition, it caused a few bugs... replace it with rmap code written by Wolfgang Solfrank. (cgd) i386: pccons driver now malloc()'s it's "struct tty" (deraadt) i386, hp300: cons.c "struct tty *cn_tty" wasn't being used by anything, so it goes away (deraadt) fix problem of passwd local_passwd exiting instead of passing status so YP password can be tried. Also change NIS --> YP. (brezak) tar(1): remove usr.bin/gnu/tar. Use tar-1.11.2 instead. (brezak) grep(1): update grep, egrep, and fgrep to gnu grep 2.0. (jtc) awk(1): update awk to gawk 2.15.2. (jtc) diff(1): update diff, diff3, and sdiff to gnu diffutils 2.3. (jtc) rcs(1): update rcs to 5.6.0.1. (jtc) gzip(1): update gzip to 1.2.2. (jtc). w(1): 'w' no longer thinks the console is a special device. (deraadt) ignore the flags field in midmag in kern_exec.c from pk@cs.few.eur.nl. (brezak) passwd(1): nuke yppasswd. Use "passwd" to change YP password. (brezak) add Kermit 51(198) to othersrc. (brezak) libcurses: updated with Andrew Chernov's 8-bit clean patches (alm) patch from Paul Kranenburg so that if given a kernel name, kvm_mkdb will work properly. (cgd) patch from Paul Kranenburg to use symbols and line numbers in stack tracebacks. Also a fix to the stack traceback for syscalls. Did NOT include dynamic sym changes. (brezak) allow SYS_INCLUDE={copies,symlinks} in src/include/Makefile to be selected in bsd.own.mk. (brezak) gcc(1): upgrade gcc and cc to gcc-2.4.5 (paul) ddb(4): convince ddb to be quiet if it doesn't find any space for debugging symbols, and then don't ignore its output or exit code (cgd) i386: integrated Bruce Evans' bios boot-block modifications, which include read-ahead buffering, loading kernels at the 1MB mark, bad144 support and various other fixes (which enables the code to work with aha174x cards in enhanced mode). (andrew) ethernet: upgrade if_is.c to handle multiple cards and bpf (paul) ps(1): make ps with an odd number of "w" flags behave properly. (cgd) changed tty queue interface to be like old BSD clists, but with a (new) ring buffer implementation which is more memory efficient. (mycroft and deraadt) nice(1): fixed to not dump core when invoked with no arguments, and to understand negative niceness values. (jtc) dbsym(8): fixed to strip gcc2 related trash syms before stuffing them into the kernel. Added "-l" flag to strip local syms too. (brezak) gcc(1): replaced gcc1 with gcc2 as standard compiler, and removed gcc1 and the old version of g++ (cgd) libg++: upgraded to version 2.3.90 (cgd) changed env, head, nohup, wc, and xargs to be IEEE 1003.2 (D11.2) compliant. (jtc) groff(1): upgraded to version 1.08. (jtc) i386: if_ne.c bug fixes from (deraadt) ddb(4): ddb changes. Add -more- pager for output. Add 'ps' command. bring in ddb(4) man page. (brezak) netstat(1): added Havard Eidnes fixes to netstat (paul) gcc(1): fixed gcc2 for multiple archs and tidied up man pages in cpp (paul) libg++: updated to 2.4 (paul) telnet(1): make lib/libtelnet/enc_des.c optional for telnet. (brezak) copyin/out(), copyin/outstr(), s/fubyte() et al protection fixes, including COW support, using code based on that from Wolfgang Solfrank and Christoph Robitschko. (andrew) kernel: user segment descriptors fixed to disallow access to user area (andrew) bde's boot >= 1MB fixes (andrew) make NOPs in locore do something, by default. to make them faster (and doing so will break some systems), use 'options "DUMMY_NOPS"' in kernel config file (cgd) multiple beeps now generate a continuous tone. also, sysbeep() now takes a frequency as its first argument. (mycroft) added library dependencies to Makefiles where they were missing. (mycroft) changed dinode.di_un to a dev_t in preparation for making dev_t larger. (mycroft) moved asm.h from /usr/include/sys to /usr/include/machine. (mycroft) added CXX and CXXFLAGS and suffix rules for C++ files in /usr/share/mk/*, with attendent Makefile changes. (mycroft) whereis(1): fixed search paths. (mycroft) compress(1): fixed memory trashing bug. (mycroft) fixed various bugs in if_hp.c. (mycroft) changed implementation of scroll lock to use sleep() and wakeup() so it doesn't freeze all sessions. (mycroft) cat(1): fixed bug re: short (usually interrupted) writes. (mycroft) made pccons output in small chunks use ttrstrt() so it doesn't hog the CPU. (mycroft) made splimp() mask both spltty() and splnet(), and removed Bill's kluge for SLIP that made spltty() and splnet() include each other. (mycroft) fixed handling of bad syscall numbers on 386. (mycroft) changed `make depend' to work in two passes--one for C files and one for C++ files. for the latter, `-+' is passed to mkdep automatically; no need to specify it in the Makefile. (mycroft) moved struct definitions outside of function declarations in kernel, so GCC doesn't emit tons of warnings. (mycroft and cgd) added -T option to dbsym to specify load address of kernel. this is necessary for it to be able to find the blasted string it's supposed to insert into when the kernel is not loaded at the default address. Makefile.i386 now uses this. (mycroft) added a way to specify the kernel load address in the config file; add `at address' (e.g. `at 0xfe100000') to the `config' line. (mycroft) gdb(1): made GDB deal with stabs type info output by GCC 2. (mycroft) ps(1): fix from Brian Somers to make "ps -o command" work correctly (cgd) made kvm_procread() read the swap area in CLBYTES chunks. (mycroft) added ISOFS support for Rockridge filesystems, written by Atsushi Murai . (cgd) scsi bus probing sped up by remembering if there's actually a device at a particular unit number (deraadt) hp300: tty devs changed to do dynamic tty allocation (deraadt) the ifconfig aui/bnc keywords go away, use -llc0 to select bnc/other onboard tranceiver, llc0 to select aui (deraadt) cleaned up /etc/magic to grok new-style executables (deraadt) i386: removed bogus nop-like instructions put at the start of the i386 crt0.c by Bill (deraadt) i386: wd.c now has timeout debugging code useful for seeing how slow your controller's DIAG command really is. Enable WDCNDELAY_DEBUG in wd.c if interested... (deraadt) i386: if_ed.c call bpfattach() at the same place as other enet drivers (deraadt) bpf(4): man page error found by hpeyerl, ok'd by mccanne (deraadt) dbsym(8), ddb(4): added -g option to dbsym to include line number and function symbols for DDB; note that this generates REALLY LARGE symbol tables; you'll need to load the kernel at >=1MB to use it. (mycroft) replaced vfs__bio.c with better one derived from one from CMU. it works better, does the right thing with buffer_map, and, in general, is cleaner than the old one. (cgd) added man pages for all external mount types. (cgd) fix from J.T. Conklin to make nohup print the correct message re: the logging file on the user's console. (cgd) mount_msdos(8): mount_pcfs moved to mount_msdos; the latter is more appropriate (cgd) sendmail(8): sendmail upgraded to version 8.3 added statistics counters to if_is.c,ipackets etc (paul) scsi: ultrastore 14f driver should now work w/34f as well. (cgd) got rid of broken toupper() and tolower() macros (cgd) i386: wd.c change from to fix single drive systems (deraadt) i386: fd.c reliability fix from (deraadt) kern_sig.c used to wrap swtch() with splhardclock()/splnone() which isn't right. (cgd) i386: swtch() didn't save splx() value per-process. (deraadt) Changes from NetBSD 0.9 to NetBSD 1.0: delete share/man/man4/kadb.4. (brezak) ddb(4): cleanup for DDB: allow one to fault in DDB, cleanup pretty printers for maps and objects, and support for adding symbol tables at runtime. (brezak) use XIDLE extension in rpc.rusersd (if present). (brezak) changed kill, mkdir, mkfifo, rmdir, and umask (sh builtin) to be IEEE 1003.2 (D11.2) compliant. (jtc) config(8): add latent support to config to generate header files for options. (brezak) rewrote sun copyrighted header files (deraadt) yp: fixed yp-related bug in endpwent() found by (deraadt) othersrc/kermit add LOCKDIR for Taylor uucp, SETREUID, and STRINGPIDS. (brezak) fixed vm_object.c to remove an object from the hashtable when vm_object_collapse() starts fiddling with pagers. (pk) scsi: removed two bogus splx() calls in aha1742.c found by (deraadt) added RCS identifiers to many of the files which were missing them. (mycroft) mount(8): added support for the `noauto' option to mount. (mycroft) replaced much of the rtc code with code from Mach. Now handles resettodr(). (brezak) i386: added support for i486 instruction set extensions to gas. (jtc) implement play_msf variants for SCSI cd. Now for the player... (brezak) sup(1): changes from for gzip'ed sup file transfer. (brezak) add service port for WWW http to /etc/services. (brezak) uucp(1): upgraded to version 1.04. (jtc) upgraded manpages of many programs, and most of the games to use -mandoc macros. (jtc) : added __pure qualifier to many of the function declarations (jtc) : replaced volatile qualifier with __dead, for when we're not compiling with gcc. (jtc) fts(3), vis(3), glob(3): Updated to latest versions from Berkeley, with local bug fixes. (mycroft) libc: added sys_signame[] to libc, like 4.4, and changed some programs to use it. (mycroft) libutil: added getbsize() to libutil, like 4.4, but with a `force' flag to specify a particular block size. (mycroft) updated du and df to latest versions from Berkeley, but with `-k' flag readded. (mycroft) added a missing suser() to if_sl.c (deraadt) fixed the suser() call in if_tun.c (deraadt) fixed a few utilities to work with the new fts(3) routines (deraadt) m68k: new MID_M68K and MID_M68K4K executables, and associated changes to file command (deraadt) libc: add MI insque/remque (and man pages) to libc. (brezak) brought in fixed/renamed/matching MS-DOS FS code, from Jeff Polk . (cgd) ppp added thanks to , , and (deraadt) pppd(8): bugs/completeness - stty/print.c (recognize line disc), pppd/main.c (use LOG_INFO for informational stuff, correctly set line speeds), pppd/pppstats/Makefile,pppstats.c (install group and kernel name). (brezak) changed cut, date (via changes to strftime()), expand, nice, ln, time and wc to be IEEE 1003.2-92 compliant. (jtc) changed system(), popen(), and pclose() to be IEEE 1003.2-92 compliant. (jtc) fixes for some typos in the pc3 termcap entry from Thorsten Lockert (cgd) make(1): fix for make's handling of obj symlinks which point nowhere, from Christoph Robitschko (cgd) added proc filesystem (PROCFS) code (pk) libc: add SYSV shared memory library stubs to libc. From usenet posting. (brezak) added "ed1" to generic kernels for 3c503 support. (cgd) vop_setattr() aded to procfs, enables chmod's of processes and chmod/chown/chgrp on the procfs root dir. (pk) add bootpd to othersrc. Add bootp service nos to/etc/services. (brezak) add -x flag to strip. Removes local syms, stabs, and compiler idents symbols. (brezak) machine independant changes to VM to be able to handle machines with non-contiguous memory from Wolfgang Solfrank. Machines that need this use "option MACHINE_NONCONTIG". (brezak) i386: machine dependant changes for non-contiguous memory. WARNING- you will need a new config for this. (brezak) i386: boot program changes to load the symbols table from the image, be able to boot omagic executables, pass a few more arguments, and enable the kbd clock. [You will need this for the next changes having to do with DDB symbol loading] (brezak) update othersrc/bootpd to conform with RFC-1395. (brezak) changes to allow boot to load ddb symbols. define SYMTAB_SPACE=nnn if your boot program cannot do this. Otherwise build the new boot program for the i386 and don't define SYMTAB_SPACE. (brezak) kernel: kernel pagers are controlled as options, not as pseudo-devices (deraadt) tty device driver XXstart() routines return void (deraadt) kernel: make pagers options, not pseudo-devices (deraadt) sun3: port now in the tree. Doesn't actually work, but real close. Status info in sys/arch/sun3/STATUS. (glass) sun3, config(8): torek's 'config.new' integrated, including the kernel support for his autoconfig mechanisim. Currently used only by sun3. (glass) priority queueing for interactive traffic + bpf support added to the ppp driver. (paulus) fix from "James W. Dolter" so that exec deals properly with shell scripts with symlinks in their names. (cgd) use "posix" rather than "right" rules for time conversions. fixes a 14-second discrepancy with other systems and WWV (cgd) if_ppp.c: received IP packets now passed correctly to BPF. (paulus) i386: reduce max stack limit to 2M (cgd) clean up stack size and limit code (cgd) replace ptrace() implementation with a better one from Sean Fagan (cgd) fix LKM's loading of device driver modules so it actually does it. patch from Szabolcs Sziget (cgd) modified VFS readdir semantics to better support nfs cookies (ws) changed mountd/mount system call to allow exporting of filesystems other than UFS (ws) enhanced ISOFS filesystem with better Rockridge support, support for generation numbers, extended attributes and associated files (ws) strip filename records from symtab with "strip -x". (brezak) add .S.o rule to sys.mk. (brezak) sh(1): fixes from Jim Wilson to sh: don't core if given a pair of backquotes with no command in between. also, don't accept semicolon in for loop without 'in' keyword, and handle TEOF like TNL in command parsing. (cgd) allow for exporting whole directory trees with -alldir in /etc/exports, changes from Richard A Macklem > (ws) first fixes for the short/int mismatch in the system calls. (phil) pc532: imported the src/sys/arch/pc532 tree. (phil) pc532: added a number of necessary #ifdef pc532 cases (deraadt) yp: fixed bug in ypbind that caused it to not keep the binding file up-to-date (deraadt) pc532: fixed arch/pc532/include/param.h (phil) fixed up vm_object_print and vm_map_print so that they work as DIAGNOSTIC and DDB. (brezak) added MACHINE_NONCONTIG to *standard* configs. (brezak) i386: changes to config and sys/arch/i386/conf/Makefile.i386 to default kernel load address at 1M. Use "at 0xfe000000" in config to load kernel low. (brezak) eliminte syscframes, they are now the same as trap frames. (brezak) aculog owned by uucp.dialer after log rotation, not root.wheel. bug reported by Greg Tanaka (cgd) fix to the 'size' primary; -size c didn't work. from Thomas Eberhardt (cgd) fix for "touch -t CCYYMMDDhhmm[.SS]". the CC part didn't work. from Thomas Eberhardt (cgd) upgraded diff, diff3, and sdiff to version 2.4. (jtc) pc532: imported the src/lib/csu/pc532 and src/lib/libc/pc532 trees. (phil) added timezone rules for Moscow, Russia, as provided by Andrew A. Chernov (cgd) added fix from Theo for ypset. This should fix ypset through GW's. (brezak) i386: changes to support running of Windows executable via Wine. Changes to the kernel activated with "USER_LDT" option. New syscalls are in new architecure specific library - libarch/libi386. (brezak) i386: add clearing of direction flag back to i386 bcopy and memmove. The previous change to remove it was too aggresive and broke things like the Xserver. (brezak) libc: fixed isascii(3) man page (cgd) made biodone() work properly, from spec in daemon book and from what the various other parts of the system expect (cgd) fix resettodr() to be able to reset rtc even if it's time is invalid. (brezak) cron(8): fix crond so that it only stat()s the first 'word' of the command for root's crontab (cgd) incorporate GNU malloc into the src/gnu source tree (cgd) convert all GNU utilities to use GNU malloc (cgd) added keyboard typematic rate support to pccons and split off ioctl definitions to (andrew) i386: macros added to support PIC code generation lib/libc/i386/SYS.h in library assembler stubs. Changed a number of these stubs in files in lib/libc/i386/{sys,gen} that touch global data. (pk) buffer allocation is now static at startup, rather than allocated (via various means) by vfs_bio. (cgd) upgraded diff, diff3, and sdiff to version 2.5. (jtc) patch from Christoph Badura to fix credential use by read-ahead blocks. (cgd) put gamma.c into libm, at the prompting of Eliot Dresselhaus (cgd) i386, sparc: update of gas to version 1.92.3 to support PIC code (i386 and sparc ports only, as of this moment) (pk) : support for PIC relocation records in (pk) : defined EX_DYNAMIC flag (pk) gcc(1): configured gcc to generate mode complete link commands, output .size directives and generate a libgcc_pic.a archive (pk) update Australia's zoneinfo file with new data from Mark Davies (cgd) nfsd now reports fatal errors with syslog(), rather than err() per Vernon Schryver (cgd) added a cyclades cyclom-8y (and 4/16y) multiport async serial driver. (andrew) fixed vfs_bio so that it dynamically moves pages between buffers (cgd) don't try to display the resident text size with "ps -v". Fix from Thomas Eberhardt (cgd) libc: move architecture-specific directories in libc into an 'arch' subdir, in the same way that they're under 'arch' in the kernel (cgd) libc: move rpc library code into libc; it was being included in libc via makefile trickery, and there was no good reason to keep it out of the libc source tree proper (cgd) Rand48 routines from Martin Birgmeier . Sorry no man pages for this from the author. (brezak) finger fixes and enhancements from Luke Mewburn. (brezak) moved sources for rpc protocol definitions into src/lib/librpcsvc, and set it up so that include/rpcsvc is made from there (cgd) inetd(8): several extensions: group id specification, per service maximum invocation rate, a `/var/run/inetd.pid', AF_UNIX family support, several minor bug fixes. (pk) substantially modified ld in an effort to support shared libraries, including a run-time linker ld.so (in subdir rtld). (pk) i386, sparc: added src/lib/csu/sparc + contents, modified crt0 (sparc+i386) to support dynamic linking. (pk) fix pow() to handle x == 0 and x == infinity (cgd) tossed old accounting routines in favor of better ones by Mark Tinguely (cgd) db: upgraded db library routines to version 1.72, from ftp.cs.berkeley.edu (cgd) fix from Andrew Moore to correct test's handling of (non-negated) "-a" and "-o". (cgd) execve(2): exec fixed to return EACCES if trying to exec a program on a file system mounted MNT_NOEXEC. (cgd) execve(2): update execve man page to note EACCES return if trying to exec a program on a file system mounted MNT_NOEXEC, and fix a typo, with diffs. fixes from Garrett Wollman . (cgd) fstat(1): fixed multiple off-by-one bugs in fstat which caused open file printing to not print the last open file. patch from David Greenman . (cgd) cleanup dup'ed defines for GDT/LDT entries in machdep.c/sys_machdep.c. call resettodr() in boot() like other ports. (brezak) return EINVAL if trying to send negative amounts of data, and a couple of minor TCP bugs. (from bsdi-users) (cgd) fix panic that can occur when two renames are moving the same source at the same time, and check that the rootfs pointer is non-null before using it in sync(). (from bsdi-users) (cgd) units(1): add a free 'units' command, written by Adrian Mariano ( or ) (cgd) i386: apply fix in i386/isa/spkr.c for PIT_MODE from Keith White . (brezak) ISOFS: better handling of empty files (fix the symlink bug). Let filenames alone, if mounted with -gen. Change filename of associated files to start with `=' and not end in `@'. (ws) m4(1): m4 upgraded to Ozan Yigit's latest and greatest version. (glass) Fixes bug that broke > 8.3 sendmail config files sendmail(8): sendmail upgraded from version 8.3 to 8.6.3 (glass) See sendmail/RELEASE_NOTES for a detailed list of changes. tablet line discipline ported to net/2 tty system. (glass) cksum(1): Update to the latest sources on uunet. (cgd) mtree(8): Update to the latest sources on uunet. (cgd) added a64l(), l64a(), lfind(), lsearch(), , etc. (jtc) rm(1): changed to be 1003.2-1992 compliant. (jtc) find(1): added -print0 option. (jtc) gas(1): changed write.h to compile with PIC not defined (phil) gas(1), ns32k: added patch to config/tc-ns32k.c to make "movd x(pc),y(pc)" work correctly. (phil) file(1): updated to do sign-extension correctly for signed comparisons, and also allow explicitly unsigned comparisons (by prepending `u' to the type). (mycroft) chown(8), chgrp(1): moved into usr (where they were in net/2) (cgd) broke link from 'acctoff' to accton; the former is no longer used (cgd) fixed elvis so it returns exit code 0 if file unmodified (cgd) updated timezone files with new revisions supplied by Arthur David Olson (cgd) timed(8): Update to the latest version, as supplied and ported by vjs@calcite.rhyolite.com. (cgd) sup(1): updated README.sup to reflect changes to collections. (brezak) incorporate new dev pager from Mike Hibler (cgd) sed(1): altered to exit when the n)ext command reaches EOF. (andrew) changed printf(3), et. al. to be ANSI compliant. (jtc) printf(1): changed to be 1003.2-1992 compliant. (jtc) add Mitsumi (non-SCSI) CD-ROM driver, written by Holger Veit and Brian Moore (cgd) bcd(6): fixed bad bcd(6) punch codes Dyane Bruce . (jtc) sendmail(8): sendmail upgraded from version 8.6.3 to 8.6.4 (glass) See sendmail/RELEASE_NOTES for a detailed list of changes. fix from David Greenman to improve socket performance by keeping sosend from attempting to reserve space in an mbuf cluster for datagram headers. It was unnecessary because the mbuf allocation routines do the right then when prepending to mbuf clusters. (cgd) fix from David Greenman to keep large amounts of unidirectional UDP traffic from filling up interface output queues with fragments. (cgd) i386: fix bogus uses of splnone() in the i386 port. (cgd) err(3), fnmatch(3), glob(3), fts(3): update err(3), fnmatch(3), glob(3), and fts(3) from uunet. (cgd) define BSDSRCDIR and BSDOBJDIR to have make think of the src and obj trees as being rooted someplace other than /usr/src and /usr/obj. (cgd) update /etc/services and /etc/protocols with more (official) data Garrett Wollman did the leg-work (cgd) update /etc/namedb/root.cache with current data. Garrett Wollman did the leg-work. (cgd) clean up /etc/rc and /etc/netstart, add entry in netstart for sysads to define flags passed to sendmail and possibly turn it off (cgd) sendmail(8): disable sendmail by default in future distributions; bad things could happen if config files aren't properly customized (cgd) compat/sunos: some sunos compatibility code in struct sigacts (deraadt) pmax: add pmax architecture support to config program, done by rick &/| ralph (deraadt) move __LDPGSZ from sys/exec.h to machine/exec.h, because there's too many "#ifdef ${ARCH}" things in there. (deraadt) set up make templates so that the contents of the LDSTATIC variable control static linking (cgd) use ./yearistype.sh rather than yearistype.sh when making /usr/share/zoneinfo (cgd) mount(2): fix mount(2) man page to use the right names for mount flags (cgd) csh(1): make csh be rational w.r.t. forground process groups (cgd) link(5): add link(5) manual page, update of a.out(5) (pk) curses(3): update curses(3) with latest version from CSRG (cgd) more(1): update more(1) with the latest version for uunet and added regex(3) support (alm) pppd(8): update to version 2.0, fixes to chat (paulus) 'T_LINEP' member of 'struct tty' is now 't_sc' which is how it is being used currently. (glass) pppd(8): add RCS IDs, minor enhancements (default local address to first IP address of host), bugfix (paulus) lpr(1), lpd(8): fix some uninitialized variables in lpr and lpd (cgd) crontab(1): do the right thing with EDITOR and PATH. reported (with fix) by Roland McGrath (cgd) rup(1), rusers(1): make prettier (deraadt) vmstat(8): add some useful memory summing stuff to vmstat (cgd & deraadt) libc: replace -lgnuregex and the regexp(3) functions in libc with Henry Spencer's new POSIX.2 compliant regex(3) functions. (jtc) upgraded diff, diff3, and sdiff to version 2.6. (jtc) moved fifo.h and specdev.h to /sys/miscfs, along with the various file system ops they defined. (cgd) add regex(3) support to elvis (alm) ed(1): fixed line addressing to be consistent with SunOS ed (alm) i386: change bootcode to not skip the 256 bytes of BIOS variables if load address isn't 0 (ws) stdio: more fixes from from torek with help from cgd. (cgd) termcap(3): Fix man page to have the correct definition of tgetstr(). fix supplied by gordon@sneaky.lonestar.org (Gordon Burditt). (cgd) Add the System V message queue and semaphore facilities. Implemented by Daniel Boulet . (cgd) Add an initial implementation of the POSIX 1003.4a Draft 7 thread standard. (proven) join(1): fixes to join to fix a seg fault and a mixed up buffer, from Dave Matthews , modded by cgd. (cgd) strings(1): Add -t (radix) flag to strings to conform to POSIX.2. (jtc) changes for othersrc/mh-6.8 to use a libmh.so. Also fix vmh for new curses. (brezak) slstats(8): add usr.sbin/slstats command from CSLIP-2.6 distr. (brezak) quiz(6): fix uninitialized variable bug that caused quiz to dump core. from Szabolcs Szigeti (cgd) change fnmatch(3) and getopt(3) to be POSIX.2 compliant. (jtc) add POSIX.2's confstr(3). (jtc) do the right thing when lookup()-ing for creation. (cgd) change libg++ to not install "compatibility" header files --- our header files are allready C++ compatible. (jtc) add -m and -n options to swapinfo. (cgd) patch from Ukai Fumitoshi to do the right thing with NFS fsid's and getnewfsid(). (cgd) size(1), strip(1): patches from Thomas Eberhardt to make size(1) and strip(1) more robust, and to strip trailing zeroes in the data segment of an executable. Further modifications to strip(1) by me. (mycroft) fix function prototypes in shm.h to comply with the SVID. (brezak) use fread(), not read(), pending Vern Paxson's decision of what to do in the next version of flex. (cgd) printf(1): merged with latest version from uunet. (jtc) gas(1): changes to handle the `.type' directive and symbolic expressions in `.size' directives (pk) remove rusers version 1 interface support (/etc/inetd.conf). Redo version2 interface to use hand-crafted xdr routines to make it interoperable with Sun's. Rpcgen cannot generate this. Also add support for the version 3 interface in the rpc.rusersd daemon. Add rusers.x (version 3 only) to librpcsvc. (brezak) m68k: shared-library support for the m68k architecture in gcc2, gas and ld; create m68k/ directories for this stuff rather than having separate directories for each m68k-based machine (paulus) isofs: bug fixes - memory corruption on RR-CD with name longer than 255 chars fix handling of associated files' names on RR-CDs incomplete directory on nfs-mounted CD hack to make find work on non-RR-CD the last two reported by mycroft (ws) m68k: shared-library support for m68k machines in src/lib/csu/m68k and src/lib/libc/arch/m68k (paulus) pppd(8): fixes to ppp stuff - pppstats.c uses ; enhance pppd security (paulus) sendmail(8): don't start sendmail if there's no /etc/sendmail.cf (cgd) rcs(1): deal properly with EINVAL when fsync()'ing a pipe (cgd) tsort(1): shouldn't be so thorough when finding nodes in a cycle. fix provided by Jarle.F.Greipsland@idt.unit.no. (cgd) more fixes to MS-DOS filesystem code, from Jeff Polk. (cgd) fix uninitialized variable in ptrace() system call, from Andy Heffernan . (cgd) tsort(1): fix behaviour when given a filename argument on the command line, from Frank van der Linden . (cgd) rarpd(8): replaced `#ifdef's i386' with `#ifdef's NetBSD' in `libexec/rarpd.c' so it will compile on other BSD ports as well (pk) sparc, pppd(8): replaced `#ifdef sparc' with `#ifdef sun' in `usr.sbin/pppd/auth.c', (`sparc' is an architecture, not an environment) (pk) lex(1): upgraded lex to version 2.4.2. (jtc) yp: change YP /var/yp/binding/ files to match Sun's files (deraadt) make(1): add MACHINE_ARCH to the set of variables defined by make(1). (cgd) libc, libkern: make libc and libkern use MACHINE_ARCH. (cgd) dump cores as "progname.core" rather than "core.progname" (cgd) at(1), atrun(8): Add at(1) and atrun(8), written by Thomas Koenig and seriously hacked by me. (cgd) atrun(8): put atrun into root's crontab, to run every 10 minutes. (cgd) actually delete the GNU regex library (cgd) cron(8): make sure that crond records the commands that it runs. fix supplied by thomas@mathematik.uni-Bremen.de. (cgd) sup(1): instructions updated. see ~ftp/pub/sup/README.sup. (glass) i386: don't have gcc define __386BSD__ on the i386. (cgd) replace all .s files in libraries with .S equivalents. (cgd) fix ifdef 386BSD -> NetBSD in othersrc/{sup,kermit,mh-6.8}. (brezak) lex(1): upgraded lex to version 2.4.3. (jtc) i386: several bug fixes in libc i386 assembler stubs supplied by thomas@mathematik.uni-Bremen.de. (pk) nfs: allow NFS mount parameters to be set by using `mount -u'. (pk) use credentials in physio(). (pk) make setpriority() actually return the correct error. (cgd) sparc: add sparc machine dependent sources to libc Makefiles. (pk) fix from Piero Serini to get "id " to get the primary group name correct. (cgd) lex(1): upgraded lex to version 2.4.4. (jtc) fix the Makefile in ed/test to not demand that . be in PATH. (cgd) fix to stty from Piero Serini so that you can undef tty control characters. (cgd) change interface IFF_LLC* flags to be IFF_LINK*. (cgd) slip: convert SLIP to use IFF_LINK* flags for compression/icmp enable, and update associated utilities. kill 2 SLIP ioctls. (cgd) routed(8): fix from Brad Parker to curb routed inflation when using MULTICAST. it wasn't properly ignoring the new interface flags. (cgd) yp: speedup getpwnam/getpwuid if YP is enabled (deraadt) fix tty subsystem to echo ^V^? correctly as ^?. From Edward Wang (deraadt) various programs and libraries were not bzero'ing their automatic sockaddr_in's before passing them into the kernel. (deraadt) rusers and rup are now quite SunOS compatible (jtc & deraadt) tcpdump(1): must be linked -ll because of new lex (deraadt) teach the mod* programs to love ansi (deraadt) config(8): config generates a 4.4-like pdevinit[] arrays for pseudo-device initialization (deraadt) initialize pseudo-devices by calling their XXattach() routines based on the pdevinuit[] array in ioconf.c rather than the previous #ifdef hell in init_main.c (deraadt) create various XXattach routines so that the pdevinit[] stuff works as it should (deraadt) config(8): make both config and config.new deal properly with \" and \n inside a "'d string, ie. option XX="\"something\"". (deraadt) config's yacc grammer no longer redefines `MACHINE' (deraadt) compat/sunos, m68k, sparc: move sunos emulation code code to /sys/compat/sunos, for use by all m68k and sparc ports. significantly cleaned and extended up from Torek's base, with help at implimenting various system calls and ioctl's from mw & pk. (deraadt) don't permit TIOCSCTTY on /dev/tty, or kernel recursion happens. from Lars Fredriksen (deraadt) ypset should only be permitted from a reserved port. from Tor Egge (deraadt) tcpdump(1): move into src/usr.sbin, and cleanup (deraadt) execve(2): ensure shm's are deleted by an execve() (deraadt) per-process emulation variable keeps track of how signals/syscalls should be handled. this is set/reset by execve, based on what the cpu_exec* functions ask for (deraadt) sparc: must flush register windows before doing a vm_deallocate in execve(), or the registers might get dumped on someone else's stack... (deraadt) execve(2): keep execve arg buffer around for later use (deraadt & cgd) STACKGAP: a small optional buffer located near the top of the stack where binary compatibility functions can copyout/copyin argument buffers that are copyin/copyout'd at low levels by various system calls (deraadt) support OMAGIC/NMAGIC a.out's (deraadt & mycroft) execve(2): in execve(), don't assume VM_MIN_ADDRESS is 0. (deraadt) in syscalls.master, make syscall#0 "syscall", like in 4.4, and thus cause SYS_syscall to be defined (deraadt) compat/sunos, sparc, m68k: pull COMPAT_SUNOS code for sparc/m68k machines down from magnum branch. Original code by Chris Torek , Much improved by Markus Wild , Paul Kranenburg and myself. (deraadt) tunnel driver cleanup done by Brad Parker and myself (deraadt) upgraded lex to version 2.4.5. (jtc) tty subsystem VMIN/VTIME implimentation from Marc Teitelbaum (deraadt) multicast patches added. Original code by Steve Mccanne and LBL. Netbsd patches from Chris Maeda (hpeyerl) add files I'd forgotten earlier. reminders from Brad Parker and Havard Eidnes . (hpeyerl) ethernet: patch to if_ed.c to make multicasts work with bpf. . (hpeyerl) add 3c509 (Etherlink-III) driver. (hpeyerl) patch ping for multicast. Original by Steve Mccanne and LBL (hpeyerl) ethers(3): sunos-like ethers(3) functions and man pages in libc, from Roland McGrath . YP code fixed by myself. (deraadt) rarpd(8): LBL rarpd cleanup - moved from libexec to usr.sbin. SIOCGIFCONF cleanup by Roland McGrath (deraadt) in /etc/rc, startup the rpc services in the proper order (deraadt) fix from Daniel Harris makes tty.c untimeout() a VTIME timeout(). Saves us from a panic, which is always nice. (deraadt) crontab(1): plug a security hole in "crontab -r". fix from Todd C. Miller . (cgd) i386: add regress tests for sys/arch/i386/ldt. (brezak) add vnode device from mike@cs.utah.edu. See vnconfig.8. (brezak) replace man with new version from bostic@vangogh. (cgd) : added, from bostic@vangogh. (cgd) fixes to kermit for UUCP file locking and high speeds from Mike Long . (brezak) make(1): add .OBJDIR variable to make for readable Makefiles. (pk) netstat(1): fix to 'netstat -w' from James Jegers . (cgd) update to latest fgetline() from berkeley, and attendent changes. (cgd) rshd(8): add -L options to rshd, which logs all incoming 'rsh' commands. (cgd) add new filesystems from Jan-Simon Pendry (cgd) add new flag, 'union', to mount options. (cgd) correct tab expansion code in tty.c (when encountering a full output queue) (deraadt) find(1): changed so it doesn't try to interpret unknown primaries as file names. Not only is this behavior required for POSIX.2, it avoids a situation where a destructive primrary (like -exec rm {} ;) is applied to files it is not intended to do so. (jtc) find(1): merged in changes from 4.4BSD version to our find(1). (jtc) fixed wc -c when reading from stdin. (andrew) changed to in othersrc/sup. (brezak) vnconfig(8): changed /dev name in vnconfig.8 man page. (brezak) ranlib(1): changed to use temporary directory specified by TMPDIR, as is done with ar(1). fix, with slight changes from me, by Ed Hudson . (jtc) strtoq(3), strtouq(3): integrated strtoq(3) & strtouq(3) from bsd-sources on uunet. (jtc) rename fgetline() to fgetln(). (cgd) chmod(1): fix chmod so that "chmod o= foo" works right. (cgd) calendar(1): fix from Fen Labalme to calendar, and more from myself. (cgd) installed C++ shared library run-time support (/usr/lib/c++rt0.o), every (GNU g++) C++ shared library should be linked with it to get their global contructors called (pk) cron(8), crontab(1): upgraded cron/crontab to vixie cron 3.0. (jtc) lex(1): upgraded lex to version 2.4.6. (jtc) execve(2): reorganize execve() sub-functons, and streamline them. (cgd) ptrace: reorganize ptrace code, so that it's more easily shareable. (cgd) m68k: started collecting common m68k code. (cgd) have /usr/src/include/Makefile make a symlink/dir in /usr/include for ${MACHINE_ARCH}. (cgd) config(8): added code to 'config' and 'config.new' to pull in ${MACHINE_ARCH}'s 'files' file and to create a symlink for MACHINE_ARCH. (cgd) put SHM_LOCK and SHM_UNLOCK in .../sys/shm.h, where they belong, and modify sysv_shm.c so that they're usable. (cgd) fix sup Makefile. (brezak) implement PT_ATTACH and PT_DETACH. (cgd) audio: add LBL soundblaster and /dev/audio drivers, as ported by brad@fcr.com. (cgd) rbootd(8): add rbootd for booting hp workstations diskless. From Mike Hibler . (brezak) i386: check user's selectors in sigreturn(). (brezak) netstat(1): add IP mcast and IGMP support to netstat from LBL via cmaeda@cs.washington.edu. (brezak) mrouted(8): add mrouted from LBL via cmaeda@cs.washington.edu. (brezak) sendmail(8): sendmail is now configured to be YP capable, and MIME-style MAILER-DAEMON messages disabled on suggestion from sendmail author. (glass) MAXBSIZE is now 16k. (cgd) plug an `arp -f' security hole (deraadt) amd(8): now works correctly with YP, and will be started by /etc/rc if /etc/netstat says so. (deraadt) /etc/rc: portmap(8), yp, mountd(8), and nfs mounts are now started in /etc/rc in a better order (deraadt) fixup various gunk in passwd including YP (deraadt) fix more tty.c tab problems relating to ring buffers (deraadt) rpc.bootparamd(8): by Klas Heggemann (deraadt) bpf: make bpf's BIO* ioctl's print nicely. sent in by (deraadt) rpc.bootparamd(8): improvements by and me (deraadt) bpf write's now allocate a packet header for the mbuf (deraadt) i386: cleanup ldt regress test. (brezak) update disklabel.h with new filesystem types from 4.4 . (brezak) patch for ip-multicast bugs from mccanne@ee.lbl.gov (Steven McCanne). (brezak) hp300: fix uninitialized variable in swapgeneric.c. (brezak) fix "off by one" bug in group_from_gid() -- messed up "ls -l" output with eight character group names. (jtc) fix rpcgen so that generated files are written to the current working directory (instead of the same directory as the source files) and that #includes in those files do not contain the path to the source file. (jtc) clean up libterm substantially (cgd) incorporage fix from Christos Zoulas which makes tput do the right thing with termcap string arguments. (cgd) hp300: add basic disklabel support to sd.c. (brezak) hp300: set text start address at 0 for kernel. (brezak) bring in CMU/4.4 standalone library. (brezak) hp300: standalone bootstrap for use with CMU libsa. This also includes support for loading the symbol table. (brezak) hp300: add support to locore.s for dealing with DDB symbols from bootstrap. This requires a new bootstrap. (brezak) hp300: fix silly type for rd disks: NSD --> NRD. (brezak) rarpd(8): fix byte order bug (deraadt) pmax: Terry Friedrichsen is helping with the pmax port. numberous fixes from him and myself (deraadt) initialize network protocols without lowering the spl level on leveled-spl systems (deraadt) compat/sunos: move my SUNOS_COMPAT changes down from the magnum branch (deraadt) i386: fix a number of if_ep.c bugs (deraadt) ethernet: change ether_input() and ether_output() to take a network-byte-order ether_type field in the ethernet header. Note: All network device drivers have to be fixed. (deraadt) delete RMP code in kernel, we have a bpf-based solution now (deraadt) new bpf.c from Steve Mccanne, with our own hacks. (deraadt) sh(1): make /bin/sh . (source) command search $PATH as it should. from dkionka@Cadence.COM (Daniel P. Kionka), fixed by me (deraadt) from & mail now will use $MAIL as default mailbox. from Christos Zoulas (deraadt) i386: correct printing of disk sizes for sd drives. from (deraadt) patch to ttyname() from Steven M. Schultz to kill a memory leak. (cgd) libutil: reorganize; move most of its contents into libc. create a libkvm to handle kvm stuff. (it'll be needed in the future for the LBL kvm code.) (cgd) fix getloadavg() so it no longer uses the kvm routines. add a new getkerninfo() subroutine to facilitate this. (cgd) remove dbsym. (cgd) i386, m68k, sparc: upgrade gdb to version 4.11, support for i386, m68k and sparc. Sparc port needs more work on reading core files; m68k port needs testing (pk) fix a panic in ip multicast code. (brezak) sendmail(8): sendmail upgraded to version 8.6.5. (glass) update linker sources to convey gcc's .type directives into shared objects. (pk) sed(1): update sed with a new version from Diomidis Spinellis (cgd) update the 'leapseconds' file, from Arthur David Olson (cgd) tsort(1): update tsort with a version from Christos Zoulas, and convert it to use new err() and warn() functions. (cgd) identd(8): added pidentd (written by Peter Eriksson ) as /usr/libexec/identd. (cgd) uname(1): fix to uname(1) from Matthieu Herrb to handle multiple arguments. (cgd) libc: fix sigismember() in libc (proven) add more stuff for the implementation of the POSIX 1003.4a Draft 7 thread standard. This is version 1.18 from my tree. (proven) fix bug that prevented unmounting of read-only MS-DOS fs's. (cgd) got rid of some cruft from 'othersrc' -- an old version of tcsh, and ttcp. also, cleaned up the Makefile. (cgd) fixed "cat /kern -> panic" bug (cgd) remove bogus 'install -d's from system makefiles and from other places in /usr/src. (cgd) add quot utility as /usr/sbin/quot (ws) integrated new math library based on Sun's FDLIBM 5.1 (jtc) fixed find(1)'s -nouser and -nogroup options. (andrew) update awk to gawk 2.15.4. (jtc) m68k: add da30 port (yet another m68k machine). (paulus) change hardclock() to take a "clockframe *" instead of a "clockframe". simplifies things for some ports (deraadt) very strange hack in vnode.h to ensure that inodes are double aligned in struct vnode. Various new processors, including sparc, require structures to be double-word aligned (deraadt) panic() is now a varargs function (deraadt) sparc: sparc port works! Ported from 4.4 to NetBSD by myself. Much thanks to Chris Torek for the original code from 4.4, and Paul Kranenburg for helping with the userland code. (deraadt) in tty.c, undo a flow control bug introduced months ago. (deraadt) modload & friends mistakenly were compiled with a -DKERNEL. Please don't do this. (deraadt) i386: MAKEDEV no longer creates symbolic links in /dev. (deraadt) i386: more if_ep.c bugs fixed (deraadt) sparc: don't cache DMA memory. fix from Chris Torek (deraadt) sparc: NetBSD/sparc is capable of compiling it's own kernel, so the support for cross-compiling the kernel goes away (deraadt) sparc: proper /dev/MAKEDEV. derived from hp300. (pk & deraadt) amiga: proper /dev/MAKEDEV. cleaned up from original by Markus and Ty Sarna apparently (deraadt) split /etc/ttys per architecture, mostly because /dev/console is done in different ways (deraadt) sparc: use normally ordered pty major numbers (deraadt) tty.c's VMIN/VTIME code was missing an untimeout(). fix from freebsd. (deraadt) support for the "lookup" keyword in resolv.conf. See the man page for more details (deraadt) sun3: sun3 port boots and runs init, spawns a shell and will even run ls upon request. needs drivers and some stability work.. (glass) telnet(1), telnetd(8): update telnet and telnetd from latest sources on ftp.cray.com. (cgd) libc: slightly disambiguate setuid() man page. (cgd) fix the way apropos et al. deal with underscores in names. (cgd) fix reset's tabset file problems, based on a fix sent in by Frank van der Linden (cgd) fix bsd.dep.make to clean .depend files only only on cleandir. Pointed out by michaelv@iastate.edu. (cgd) add 3Com 3c501 driver by Matt Kimmel . (hpeyerl) restore(8): when restoring from multi-volume dump, check the correct tape header volume number, from thomas@mathematik.uni-Bremen.de. (cgd) primes(6): fix to 'primes' to deal properly with large numbers, from Arne Juul . (cgd) rarpd(8): fix rarpd to put necessary fields in network byte order, from Christos Zoulas . (cgd) sed(1): fix sed to do the right thing with empty regex matches. (cgd) tftpd(8): fix from Christos Zoulas to keep tftpd from dumping core when invoked with no arguments. (cgd) vi: fix from Christos Zoulas to keep vi from trying to use its controlling tty when it doesn't really have one. (cgd) mods to msdos filesystem code so it works on big-endian machines. (paulus) i386: fix disklabel routines so that when creating a new label, they fill in the info for the appropriate partition. (cgd) make(1): various fixes and improvements to make(1) supplied by Christos Zoulas . (cgd) sparc: support lkm/tun/vn, SYSVSHM, SYSVMSG (deraadt) yp: fix serious YP bug in gethostbyname() functions (deraadt) ar had a file descriptor leak, fix from Robert Crowe (deraadt) i386: integrate new Bustek driver which works on many more models of the card. Fixed by Michael VanLoon (deraadt) sparc: various fixes and changes torek sent me ages ago (deraadt) compat/sunos: fairly simple SUNOS_COMPAT sysconf() function (deraadt) netstat(1): core dump fix from Chuck Cranor (deraadt) fix from Arne Juul for bug where extra null chars would get appended to mailbox by mail(1). (cgd) fix to keep the getcap(3) routines from accessing freed memory. from Thomas Eberhardt (cgd) lpr(1): fix for symlink-related security hole in lpr. From comp.security.unix. (cgd) rdist(1): update to latest version of rdist(1) from UCB (via uunet). No new security fixes, but general cleanup. (cgd) hp300, sparc: MAKEDEV cleanup for hp300 and sparc (deraadt) yp: fix small YP bug, and bogus initialization of gr_mem in getgrent() and friends. (deraadt) lpd shouldn't clobber the page width specified in the printcap file. fix from John F. Woods . (cgd) pr(1): pr shouldn't croak if -w specified without multi-column mode. fix from John F. Woods . (cgd) at(1): fix two bugs in at(1)'s date/time parsing. One of the fixes was from Javier Martin Rueda . (cgd) gprof, ns32k: added ns32k support files (phil) getty(8): converted to use the getcap(3) routines. (cgd) hp300: fix standalone disk and tape drivers to allow units > 0. (brezak) make FFS optional. (ws) integrated diff, diff3, & sdiff manpages by Larry Jones . (jtc) gcc(1), ns32k: added arch/ns32k directory with gcc2 files (phil) sendmail(8): sendmail upgraded to version 8.6.7. This fixes a major security hole in v8. Our distribution has also been cleaned up. (glass) sendmail(8): sendmail upgraded to version 8.6.8. This fixes a security hole in v8. (glass) Lets not make this three in a row... fix from mark@aggregate.com (Mark P. Gooderum) to convince diff -l to invoke 'pr' correctly. (cgd) in tput, don't assume that only valid thing starting with 'l' is longname. Fix from Eric J. Haug (cgd) manpages: various manual page fixes from Luke Mewburn and myself. (cgd) ipcrm(1): rewritten (glass) getty(8): fix a couple of typos in getty's headers. from Andras Olah . (cgd) fixes from Thomas Eberhardt to get 'swapinfo' to do the right thing with blocksizes. (cgd) lastcomm(1): convince lastcomm to use stdio rather than it's own (broken) buffering scheme. (cgd) a few routing ref-count fixes. (cgd) i386: allow mmap()ing of /dev/mem and /dev/kmem, the former for people with buff video boards, the latter for fun. (cgd) mmap() defaults to MAP_FILE as apposed to failing when neither MAP_FILE or MAP_ANON flags are present. (chopps) sa(8): add a 'sa' command, written by me. (cgd) change uid_t and gid_t to 32-bit quantities, and off_t to a 64-bit quantity. Lots of associated changes. (cgd) __initdb() should only warn about spwd.db errors once, fix from (deraadt) i386: attempt to get the cursor correct on MDA/Hercules cards. If this still doesn't work, use FAT_CURSOR in your kernel config file. (deraadt) repair host map alias in ypmatch (deraadt) sparc: various sparc fixes (deraadt) take disklib.c out of libkern, put it back in the kernel proper (deraadt) fix sh/mkinit.c to not generate garbage in init.c (deraadt) fix hang in rcmd.c if either socket was >= 32 (deraadt) reorganize mmap() flags, and squish MAP_FILE. (cgd) vi(1): upgrade 'vi' to the latest version of nvi (1.11) by Keith Bostic, available from ftp.cs.berkeley.edu. (cgd) ac(8): add an 'ac' command, by Simon J. Gerraty and myself. (cgd) add 'ttyflags' to set device-specific tty flags. (cgd) i386: add -r flag to boot block, to select RB_DFLTROOT. (cgd) manpages: lots of man page fixes from Mark Weaver. (cgd) fix tn3270's idea of where map3270 lives, and fix the map3270 defaults to work with vt200's and xterms. from Mark Weaver. (cgd) change the way syscalls with quad arguments are implemented. (cgd) change stdio's fpos_t to an off_t. (cgd) hp300: added hilinfo and grfinfo, from Utah, for the hp300. (cgd) ftpd(8): modify ftpd to support non-anonymous chrooted users. patches from Jarle.F.Greipsland@idt.unit.no. (cgd) updated our set*id() syscalls to match the POSIX security model, with _POSIX_SAVED_IDS. fixed a few bugs, in the process, and obsoleted (i.e. moved into libc/compat-43) several functions and (former) syscalls. (cgd) add a MNT_USER flag, for mounts made by users. (cgd) modify mount_msdos so that the uid, gid, and permissions masks for files in the FS are inherited from the mounted-on dir, and are user-settable. Also, allow users to mount MS-DOS file systems. (cgd) ns32k: support for ld (thanks to Matthias Pfaller). (pk) fix various doc bugs in tunefs and newfs, and severely clean tunefs. (cgd) kill MOUNT_AFS vfs table slot. (cgd) gettytab(5): add information about "np" to gettytab(5). (cgd) fix procfs to be smarter about names found by lookup, also, don't display a 'regs' or 'fpregs' file for system processes. (cgd) fix console hanging problem once and for all (hopefully). (cgd) bump NetBSD0_9 symbol in to 2 (i.e. 0.9a). (cgd) fix stty's notion of where MDMBUF resides. (cgd) i386: 3c509 driver now works on the 3c579 EISA card too (deraadt) sparc: keyboard repeat code, cleanup sunos cgthree compatibility, repair MAKEDEV (deraadt) fsck(8): support "fsck /dir" and "fsck /dev/sd0a", plus fix a coredump bug, by (deraadt) repair bogus roff macro use in termcap(5) (deraadt) repair paths in various utilities, report by (deraadt) new optimized and enhanced BIND resolver code by me (some changes based on 4.9.2 by Vixie). Note: the `search' keyword in resolv.conf is now quite important! (deraadt) strftime bugfix for "%R" from (deraadt) TIOCGWINSZ support in rain & snake (deraadt) sparc: support 64 bit system calls (deraadt) libc: add a setproctitle() call to libc, to frob the process title. (cgd) change mount()'s type to be a string. backward compatible with COMPAT_09. Various associated changes, including better VFS LKM support. (cgd) convert the vm system to use (cgd) gettytab(5): add a 'mb' flag to gettytab, to specify MDMBUF. (cgd) fix more(1) to use termios rather than sgtty (andrew) kill symorder(1); kvm_mkdb makes it obsolete. (cgd) fix gethostname() to set h_errno for non-BIND transactions too (deraadt) fix m_adj() in uipc_mbuf.c to adjust m_pkthdr.len in the correct mbuf (deraadt) implement better locking in mbuf.h, and fix cltom() macro (deraadt) i386: 3c509 driver support for promiscious and multicast, and a few other misc fixes (deraadt) sparc: make swap work, make keyboard repeat work for ^@ (deraadt) fix talk(1) to not trounce it arguments (deraadt) nfs diskless support revised. uses bootp+rpc to gather appropriate parameters. see diskless(8). (glass) bootpd(8) moved from othersrc to libexec/bootpd. bootptab added to etc. (glass) amiga: many fd (floppy) fixes from Michael Hitch makes it work (chopps) amiga: changed internal serial port driver to use much smaller buffers (16k -> 256 and 24k ->3k) (chopps) amiga: added 2 non-copyright fonts for console- default to using them and not a possibly non-existant (c) user supplied one (chopps) sendmail(8): sendmail upgraded to version 8.6.9. (glass) allow TIOCSETD on ptys. (cgd) obsolete quad and u_quad types. (cgd) convert inodes, etc., to use quad_t and u_quad_t. (cgd) convert vnode.h, mount.h, buf.h and associated files to use rather than their own queues. (cgd) added POSIX.2 compliant getconf utility. (jtc) ns32k: added support to gdb. (phil) getty(8) now uses termios. (pk) pig(6): add pig(6) to the games suite. (cgd) libc: add getgrouplist() function to libc. (cgd) update id, groups, and whoami. (cgd) mrouted(8): update to VJ's 2.2 version. (brezak) add network standalone support to sys/lib/libsa for netboot. (brezak) amiga: moved to config.new many devices modified and names fixed. (chopps) amiga: now uses system standard scsi code (/sys/scsi) (chopps) amiga: disklabel support re-written to be more functional also added a machine/disklabel.h (chopps) amiga: added delay() an accurate useq delay uses last two free 16 bit countdown timers (chopps) amiga: added SYSCALL_DEBUG support (chopps) incorporate new version of lpd. (cgd) libc: incorporate new version of libc's rcmd() and related functions. (cgd) pstat(8): add new pstat(8) program, which obsoletes swapinfo. (cgd) roll in a new sysv shared-memory module. (hpeyerl) introduce new core dump format. (pk) kernel debugging support in gdb. (pk) pc532: added the boot from ufs program. (phil) adosfs added (ro version) along with mount_ados (chopps) amiga: added new floppy, much cleaner (chopps) rlogind(8), rshd(8), telnetd(8): update to 4.4-Lite versions. (cgd) make(1): fixes from Christos Zoulas which eliminate memory leaks and improper memory accesses (jtc) sh(1): fix from Christos Zoulas which elimintes core dump when compiled w/out history support (for install floppies). (jtc) ip multicast mrouting fixes. Bring in previous version of mrouting code. Apply bug fix for igmp.c cksum errors from Steve McCanne. Fix mrouted (and friends) to fill in ip hdr fields that 4.4 no longer does for you. (brezak) chown(8), chgrp(1): updated to 4.4-Lite versions. (cgd) replaced ipcs with version written by Thorsten Lockert . (cgd) updated src/share/doc tree to work like 4.4-Lite's. (cgd) added bm(3) functions from Keith Bostic. (cgd) fixed share/mk files to be not so agressive w/_SUBDIRUSE. (cgd) test(1): replaced test with version from pdksh, with enhancements and cleanup by me. (jtc) ccd(4): rename cd.c to ccd.c and update to 4.4Lite version in /sys/dev. (concatenated disk driver). (hpeyerl) i386: fix disklabel clobbering MBR on disks shared with DOS. (brezak) add kerberos5 (k5login.c) authentication for login. (brezak) build mount_nfs with kerberos iff kerberos environment. (brezak) build sys/lib/libsa with the rest of the kernel/sa libs. (brezak) add conditional kerberosIV and kerberos5 support to passwd. (brezak) vax: initial uploads of VAX architecture code. (ragge) i386: boot block fixed to run on 386s (mycroft) i386: disklabel no longer munges device number (mycroft) i386: autoconf detects SCSI card IRQ/DRQ for aha/ahb/bt/uha (mycroft) vi(1): update nvi to version 1.34 from Berkeley, DB to version 1.79, and curses to the latest version. (cgd) libsa: make sys/lib/libsa build. (brezak) hp300: use installboot.sh in stand - no more installboot.c. (brezak) sparc: bootblocks - integration with disklabel needed (pk) rtld: issue warning if required minor revision can't be found (pk) hp300: do echo in tgets() instead of prf.c like libsa:gets(). (brezak) ftp(1): update 'ftp' to 4.4-Lite version, and add support for the 'PASV' command, supplied by David Carrel . (cgd) make src/distrib part of the tree, for distribution tools. (cgd) add 'crunch' by James da Silva, in src/distrib/crunch. (cgd) add distribution set lists in src/distrib/sets. (cgd) i386: add floppy build tools to src/distrib/i386. (cgd) passwd(1): fix building passwd with kerberos4 support. From Michael Graff . (brezak) zcat(1): make zcat be the gzip(1) version, so that it can uncompress .gz's (cgd) sigvec(3): fixed cross-refs in libc, as suggested by Lennart Augustsson (cgd) mac68k: Initial import of mac68k port [briggs 19930929] sparc: Initial import of Chris Torek's sparc port [deraadt 19931002] Changes from NetBSD 1.0 to NetBSD 1.1: Added "float" versions of math functions (sinf, cosf, etc.) to libm. From Ian Taylor (ian@cygnus.com), with some work by me. (jtc) added __weak_reference() macro to . (jtc) added constants required by XPG3 to and . (jtc) vax: Numerous changes and fixes; now runs single-user (ragge) Renamed sys_siglist[], sys_errlist[], and sys_nerr by prepending a double underscore. The traditional variable names are provided by weak references (or by copies, if they aren't supported yet). (jtc) Changed __strerror() and __strsignal() to use new __sys_erlist[], __sys_nerr, and __sys_siglist[] variables. (jtc) moved machine-dependencies in into and cleaned up some. (cgd) make a symlink, and clean up ports' varargs.h and stdarg.h files. (cgd) tar(1): fixed rmt support in tar. (andrew) rmt(8): added some undocumented rmt(8) options to its man page. (andrew) libc: cleaned up a bunch of bogus pointer casts, etc., in libc. (cgd) fdisk(8): Enabled `partitioning' of regular files. [mycroft 19941019] add a register_t type for every port. (cgd) ufs: make UFS safe for use on machines with wider types. (cgd) change syscall argument access & definition convention, so that it's easier to deal with machines with new/different calling conventions. (cgd) Modified disk drivers to handle labels more correctly, and rewrote part of wd.c. [mycroft 19941020] i386: Made the i386 boot program work when there is no NetBSD partition in the MBR. [mycroft 19941020] adventure(6), boggle(6), phantasia(6), random(6): Added from 4.4lite. (jtc) larn(6): Fixed several bugs. [mycroft 19941021] scsi: Made user-level SCSI commands (SCIOCCOMMAND) work. [mycroft 19941023] ethernet: Made the `ed' driver deal with buggy chips better, and sped it up a bit. [mycroft 19941023] got rid of the Xchess sources. (cgd) send-pr(1): made send-pr a bit smarter about the 'Release' field. (cgd) added COMPAT_10 option, for NetBSD 1.0 binary compatibility. (cgd) uucp(1): upgraded to version 1.05. From John Kohl. (jtc) i386: Implemented a different (faster) way of entering the kernel for system calls, on the i386. [mycroft 19941025] fts(3): Speed up significantly on file systems which don't support link counts (e.g. isofs). [mycroft 19941026] Reworked part of the `mcd' driver to make it more reliable. [mycroft 19941026] Made fork(2)ing with a user-defined LDT work (and not panic). [mycroft 19941031] upgraded diff, diff3, and sdiff to version 2.7. (jtc) lorder(1): Fixed lorder manpage. From Brad Parker. (jtc) Fixed at, atrun, badsect and cal manpages. From Saitoh Masanobu. (jtc) Corrected Professor Falken's name in the example passwd file. [mycroft 19941103] Added a driver for ST0[12] and FD8[05]0 SCSI controllers. [mycroft 19941103] i386: Updated the i386 port to use config.new. [mycroft 19941103] i386: Reworked most of the i386 context switching code to make it much faster, especially when the FPU is used. [mycroft 19941106] comm(1): Changed to write a diagnostic message to stderr and abort with a non zero exit status on write errors. (jtc) sh(1): Added a munged version of pdksh's ulimit builtin to sh. (jtc) rm(1): Changed so that trailing newlines are removed in accordance with POSIX.2. (jtc) skey(1): Fixed manpage. From Matthew Green (mrg@splode.mame.mu.oz.au). (jtc) Merged install, uudecode, uuencode, vacation, vgrind, vis, wall, what, who, whois, xargs, xstr, and yes with 4.4lite. (jtc) Added chflags, jot, and lam from 4.4lite. (jtc) Changed time code to behave as if tzset() is called by localtime() and mktime() to conform to POSIX.1. (jtc) lfs: Fixed structure padding in LFS, so that it's more likely to work. [mycroft 19941117] Changed catclose() to have int return value to conform to XPG3. (jtc) Fixed race conditions on open in the SCSI and IDE disk drivers. [mycroft 19941120] Added -xpg3 and -xpg4 to man macro's .St directive. (jtc) Implemented EIDE multi-sector PIO, DMA, and LBA modes. [mycroft 19941122] i386: Fixed memchr(?, ?, 0) return the correct thing (0) on the i386. [mycroft 19941124] xstr(1): Added -l option, like in SunOS, that allows user to specify the name of the array. From Jason Thorpe. (jtc). mail(1): Changed to not use fixed length arrays for temporary file names. (jtc) scsi: Rewrote most of the SCSI state machine in the `aic' driver to make it more reliable. (mycroft) Merged machine independent manpages from share/man with 4.4lite. (jtc) Merged pppstats(8) and slstats(8). Changed the behavior and options of the merged utility to be more consistent with similar programs. (glass) pppstats(8), slstats(8): Added a merged man page. (glass) bc(1), dc(1): Imported GNU bc-1.03 and GNU dc from bc-1.03. (phil) Made /kern/loadavg give a reasonable `scale' number. [mycroft 19941201] Made `pccons' more finicky about modifying the cursor. [mycroft 19941201] newfs(8): Changed default parameters to be more appropriate for modern disks. [mycroft 19941201] i386: Fixed a couple of problems in the i386 startup code that could cause the machine to reset. [mycroft 19941203] Fixed an error in SysV IPC permissions checking that caused spurious EPERM errors in many cases. [mycroft 19941205] i386: Made `gdb -k' work for i386. [mycroft 19941205] Fixed device handling on cd9660 to not panic. [mycroft 19941205] Modified nosys() to return ENOSYS. (cgd) Merged touch, tput, tr, tset, tsort, tty, ul, unifdef, uniq, unvis, and users with 4.4lite. (jtc) users(1): Changed to allocate array containing names of users dynamically. (jtc) who(1): Changed to be POSIX.2 compliant. (jtc) Changed type of struct rlimit fields from quad_t to rlim_t, and added rlim_t to . (jtc) Made the `le' driver work for PCnet-32 chips, and made the diagnostic messages less cryptic. [mycroft 19941211] Imported the current union file system from CSRG, along with many related changes. [mycroft 19941214] Added a path through the VM system to allow influence of the machine MMU architecture on virtual address mappings. (pk) audio: Made reading from `sb' work again. [mycroft 19941217] Allow mfs file systems to be mounted on 'swap', so that diskless machines can easily use them. (cgd) Implement new cpp predefine strategy: define __NetBSD__, __${MACHINE_ARCH}__, and whatever machine-dependent symbols is necessary. Leave old (namespace-polluting) predefines in, until after next release. (cgd) Change the way man pages are specified in Makefiles. use MAN= now, with section numbers. (cgd) ld(1): Support for "weak" symbols in as and ld. (pk) . removed from path in the default root .cshrc and .profile. (cgd) Implement and use a common access checking routine: vaccess. (ws) Fixed link(2) on msdosfs to not panic, and added ability to toggle the `archive' bit using cflags(2). [mycroft 19941227] scsi: Fixed many bugs in the SCSI code, and rewrote the autoconfiguration mechanism. [mycroft 19941228] window(1), ypbind(8), named(8): Changed to not use getdtablesize(3), with the intent of deprecating it. [mycroft 19941229] pc532: Added the lpt driver for the pc532 port. (phil) ethernet: Changed `ed' and `ie' drivers to use soft configuration. [mycroft 19950102] Added the `boca' driver for BOCA multi-port serial boards. [mycroft 19950103] traceroute(8): Added `-g' option to, to do loose source routing. [mycroft 19950103] hp300: Enabled LKMs on the hp300. [mycroft 19950105] Fixed a race condition when trying to open two IDE disks at the same time. [mycroft 19950105] m68k: Fixed m68k swab(3) function to not swap twice as much data as specified. [mycroft 19950106] Fixed the `pms' probe to work better on many machines. [mycroft 19950107] ps(1): Fixed error that sometimes caused a bogus argument list to be printed. [mycroft 19950107] kvm_uread(3): Rewrote to use the machine-independent VM structures, which also fixes a bug that sometimes caused a bogus argument list to be printed. [mycroft 19950109] Fixed a mbuf leak when socket options were set. [mycroft 19950111] Made the RPC daemons work both when run from inetd and when not. [mycroft 19950113] i386: Enabled user-mode alignment checking on the i486, if the user wants it. [mycroft 19950114] sum(1), cksum(1): Added a sum(1) alias for cksum(1), which by default generates the historic BSD output. [mycroft 19950114] ypbind(8): Fixed to only daemonize itself after binding to a server the first time. [mycroft 19950115] Removed the gratuitous `. in PATH' warnings from sh(1) and csh(1). [mycroft 19950115] i386: Added support for serial consoles in the i386 boot, if compiled with `-DSERIAL'. [mycroft 19950115] Dealt with SCSI disks that report a block size of 0 by assuming they meant 512. [mycroft 19950116] ncr: Updated the `ncr' driver from the author. Should improve reliability. [mycroft 19950116] dump(8): Fixed to use `/etc/rmt', as all other versions do, and not `rmt'. [mycroft 19950120] Removed `.' from the default PATHs in sh(1) and csh(1). [mycroft 19950120] vipw(8): Fixed to suspend correctly when it gets a stop signal. [mycroft 19950120] vnconfig(8): Fixed to not require a bogus extra argument when using the `-u' option. [mycroft 19950121] ethernet: Fixed the problem with 3c509 cards not being found on a warm boot. [mycroft 19950121] ethernet: Improved performance of the `ie' driver significantly. [mycroft 19950122] netinet: Fixed a bug in TCP where we might send a FIN too early (often causing files to be truncated by FTP). [mycroft 19950123] sparc: Add sig{set,long}jmp() for sparc to libc. (pk) config(8): change config.new to allow swapping on pseudo-devices. (cgd) vnd(4): change the name of the 'vnode disk' driver to be 'vnd' consistently, everywhere. (cgd) Made the `lpt' probe err on the side of finding a device, rather than not. [mycroft 19950125] gdb(1): Fixed the source file searching commands in GDB. [mycroft 19950126] scsi: Made the SCSI disk drivers wait for the disc to spin up on open. [mycroft 19950126] add sysctl() variable kern.maxpartitions, so one can easily get the value of MAXPARITIONS w/o compiling it in. (cgd) remove ability to export null and umap file systems, by having their fhtovp and vptofh functions return EOPNOTSUPP. (cgd) config(8): fix config.new to handle differing values of MAXPARTITIONS. (cgd) gdb(1): Made GDB use PT_GET*REGS and PT_SET*REGS, and removed PT_READ_U and PT_WRITE_U from the kernel. [mycroft 19950126] 4.4lite: Merged last, lastcomm, leave, locate, lock, logger, login, logname, look, lorder, mesg, mkdep, mkfifo, script, shar, showmount, size, soelim, split, strings, tftp, time and tip with 4.4lite. (jtc) realpath(3): Added prototype to . (jtc) Replaced directives in scanf() present for backwards compatibility that conflicted with ANSI. (jtc) Merged libm with fdlibm 5.2. (jtc) libc: upgrade the libc/regex code to the 4.4-Lite version. no real changes, just cruft removal. (cgd) umount(8): Fixed to not treat union mounts as NFS mounts. [mycroft 19950130] umount(8), df(1): Made the `-t' option handling the same as in mount(8), and cleaned that up a little. [mycroft 19950130] scanf(3): Changed scanf() so it handles long doubles. (jtc) worms(6): Changed manpage and usage string to match the code, from Hubert Feyrer . (jtc) Changed etc/security to so that .emacs, not .emacsrc, is checked to make sure it is not owned by someone else or is writable. From Mike Long . (jtc) Increased symlink loop detection count to 32. [mycroft 19950131] scsi: Fixed problems in `esp' driver when a device attempts sync or wide negotiation. [mycroft 19950201] scsi: Implemented a first cut at sync negotiation in the `aic' driver. [mycroft 19950201] i386: Fixed startup problem on i386 when the BIOS `steals' from the top of convential memory, by rounding down to a page. [mycroft 19950202] m68k: Made stepping into the signal trampoline in GDB work correctl on the m68k. [mycroft 19950202] kernel: Fixed several problems in PT_ATTACH and PT_DETACH, most noticably that PT_DETACH would usually cause the child to core dump. [mycroft 19950203] i386: Made it safe for user processes to change %gs on the i386. [mycroft 19950204] toolchain: Added the `cpuid' instruction to gas, and the canonical names for the debugging registers (`dr[0-7]'). Also added missing opcodes to GDB, and fixed an error in the DDB disassembler. [mycroft 19950205] fstat(1): Now deals better with getting bogus data, rather than core dumping. [mycroft 19950214] sparc: driver for sun4c floppy device. [pk 19950217] ethernet: Fixed a problem where the `ep' driver would stop getting interrupts under high load. [mycroft 19950218] hp300: Added experimental netboot code for the hp300, and cleaned up libsa somewhat. [mycroft 19950219] dump(8): Now accepts getopt(3)-style options, like restore(8), in addition to the old option syntax. [mycroft 19950220] libsa: Added a machine-independent `twiddler' to libsa. Also made the libsa exec() more useful. [mycroft 19950220] yppasswd(1): Added yppasswd as a link to passwd. (phil) audio: Added new machine independant audio subsystem. Drivers for i386 SoundBlaster (SB, SB16 and SBPRO), PAS (In SB emulation), and Windows Sound System. Thanx to John Kohl, Jeff Chilton, George Michaelson, and Havard Eidnes. (brezak) arcnet: Added preliminary ARCnet support from Ignatios Souvatzis with some local cleanup. (glass) rcs(1): Updated RCS to version 5.6.7.4. [mycroft 19950223] alpha: Added the machine-dependent code for the NetBSD/Alpha port. (cgd) libc: Upgraded large parts of libc (gen, quad, sys, net, regex) to 4.4-Lite, and made their RCS Id's conform to our standard. Also made nsl, rpc, db, gmon, include, and yp conform. (cgd) tcpdump(1): Updated tcpdump to version 3.0, and imported libpcap 0.0. [mycroft 19950306] vnd(4): convert the vnd driver to not use b_pfcent. (cgd) getcwd(3): incorporate version from bostic that's faster for the common case. (cgd) ccd(4): convert the ccd driver to not use b_pfcent, and incorporate a bunch of changes to ccd from Jason Thorpe which allow it to work with the MI SCSI code. (cgd) remove b_pfcent from the buf structure. (cgd) Fixed raw IP input code so that it handles bound and/or connected sockets correctly. Fix posted by Dan McDonald . (glass) newfs(8): make newfs output superblock backup numbers after each one is done. (cgd) rpcgen(1): convert to use memset() rather than bzero(). From Luke Mewburn, in PR #841. (cgd) mtree(8): update to the 4.4-Lite code. Add patch by Ed Symanzik to add support for an "optional" keyword, to keep mtree from complaining about files which aren't necessarily present. (cgd) convert sbin to the new RCS Id format. (cgd) Made the types used by trap() routines, ktr_sys*(), and scdebug_*() consistent. [mycroft 19950308] sed(1): Reworked the parser somewhat so it doesn't throw away commands on a script line after an end of group character. [mycroft 19950309] Made the copy*(), bcopy(), and bzero() functions consistently use size_t where appropriate, rather than u_int or u_long. [mycroft 19950309] reboot(8): Update to the 4.4-Lite code, which integrates it with halt(8). Man pages need a lot of work, but that's up to the port owners, not me. (cgd) sed(1): Fixed the sed `P' and `D' commands. [mycroft 19950315] sort(1): Updated to GNU sort from textutils-1.11, fixes ispell config. From Kenneth Stailey (jtc). reboot(8), rcp(1), rlogin(1): incorporated from Lite (cgd) telnet(1): Fixed to not exit until the remote host closes the read side of the connection. [mycroft 19950317] kernel: Added a `%p' format for kernel printf()s. [mycroft 19950319] fsck(8): Fixed to recreate the `..' entry in the root directory if it is missing. [mycroft 19950319] libc: Added qabs(), quad_t version of abs() and labs() to libc. (jtc) libc: Added qdiv(), quad_t version of div() and ldiv() to libc. (jtc) libc: Changed *printf() and *scanf() to handle %ll{d,i,o,x} format specificantion for "long long" arguments. (jtc) grog(1): Now install grog(1) from groff distribution. It suggests what groff options to use to process a given troff document. (glass) Added general timeval addition/subtraction macros in sys/time.h, and made a bunch of code use them. [mycroft 19950321] gas(1): Enabled the `.bss' directive in gas. [mycroft 19950321] Changed many programs to use POSIX signal functions rather than the old BSD functions. [mycroft 19950321] games: upgraded src/games/[a-p]* to Lite versions where necessary, and cleaned up RCS ids, except for 'banner' which glass did. (cgd) systat(1): Fixed to not core dump when an illegal display type is specified. [mycroft 19950322] kernel: Fixed panic when a BPF user turns off promiscuous mode after the interface is down. [mycroft 19950322] ftpd(8): Fixed ftpd to to IPTOS_THROUGHPUT for passive mode data connections. [mycroft 19950322] amd(8): Enabled the `noconn' and `resvport' mount options in AMD. [mycroft 19950322] kernel: fixed things so that kernel stacks no longer need to be double-mapped. (cgd) alpha: kill the double-mapping of the kernel stack (cgd) kernel: add an "INSECURE" option to the kernel, which sets the default security level to -1, so that the kernel is never put into "secure mode" by init(8). (cgd) Updated banner, biff, cal, checknr, chpass, cksum, col, colcrt, colrm, column, comm, ctags, and cut to Lite versions. (glass) Converted apply, apropos, ar, asa, at, basename, cap_mkdb, chflags, and compress to new RCS Id format. (glass) bdes(1): Added bsed(1) from Lite. Domestic distribution only. (glass) msdosfs: Lightened the sanity checks when mounting a msdosfs file system, to be more compatible. [mycroft 19950327] mcd: Rewrote most of the `mcd' driver, to be much simpler and faster, and implement most of the CDIOC* ioctls. [mycroft 19950327] atari: added initial sources (leo) Fixed problems in BPF with running off the end of mbufs when a value being tested is split across a mbuf boundary. [mycroft 19950331] cp(1): Made `cp -R' work correctly with FIFOs. [mycroft 19950401] ethernet: Speed up the `ie' driver more. [mycroft 19950403] Fixed return types of some functions in struct ifnet. Also added an arp_ifinit() function to initialize ARP-related variables for an interface, removing an old #ifdef. [mycroft 19950407] Added a /usr/bin/banner clone, written by Simon J. Gerraty. (cgd) rmt(8): Added a reasonable set of permissions to the open() in rmt(8), in case it's creating a file. [mycroft 19950409] i386, m68k, sparc, pmax: Added __flt_rounds(), fpgetround(), fpgetmask(), fpgetsticky(), fpsetround(), fpsetmask(), fpsetsticky() and to the i386, m68k, sparc, and pmax ports. (jtc) Added a `d_type' field to the device switch tables, used to differentiate block, character, and tty type devices in various places. Removed the old `b_type' entry in bdevsw. Centralized the location of the macros used to construct the device and console switch tables in conf.h and cons.h, respectively. Updated all of the ports to conform to this. [mycroft 19950409] kernel: Replaced usages of `kernel_pmap' with `pmap_kernel()', which is closer to right for MP systems. For now, it just always expands to `&kernel_pmap_store', which is a statically allocated struct pmap. [mycroft 19950410] i386, hp300: Added a vfs_unmountall() function, used to unmount file systems at shutdown time, and enabled its use on i386 and hp300. [mycroft 19950410] Centralized z8530 register definitions, and updated drivers to use the new file. XXX Not complete. [mycroft 19950410] Removed most of the remaining explicit uses of `loif', by testing the IFF_LOOPBACK bit instead. [mycroft 19950411] Centralized dp8390 register definitions. [mycroft 19950411] ufs, fsck(8): Added support for a `clean' bit in UFS file systems, which is cleared on mounting, and restored on unmounting. When preening, fsck(8) will skip file systems already marked as `clean'. [mycroft 19950412] netinet: made the netinet code more type size-safe, by using explictly-sized types where appropriate. (cgd) lpd(8): Fixed to reset the group list before exec(2)ing a filter program. [mycroft 19950414] cron(8): Fixed to use the `-t' option to sendmail, rather than trying to pass the destination address as an argument. [mycroft 19950414] m4(1): Rewrote part of the m4 expression processor to make it conform better to the original specification. [mycroft 19950414] Fixed fifo_open() to allow opening a FIFO with O_RDWR. [mycroft 19950414] atari: make Atari loader correctly identify missing TT-RAM (leo) vmstat(8): Took away VAX machine-related definitions from vmstat. (ragge) config(8): made config.new understand the 'include' directive from device specification ("files") files. (cgd) alpha: Add Alpha support to gprof. (cgd) kernel: Removed d_reset from cdevsw, and replace d_ttys array with a d_tty callback to get the struct tty pointer. [mycroft 19950419] route(8): Implemented the documented `-llinfo' flag, and fixed the `-interface' flag, to route(8). [mycroft 19950420] i386: Removed the bogus relocation hack for the i386 console buffer from locore, and instead have it done in the console driver. [mycroft 19950421] i386: Made the i386 reset routine more robust. [mycroft 19950421] kernel: Moved the reboot time unmount/sync logic into a machine-independent routine, vfs_shutdown(). [mycroft 19950421] Imported quiz, rain, robots, rogue, sail, snake, trek, wargames, worm, worms, and wump from Lite. (that's the last of the games.) [cgd 19950422] banner(6): shouldn't print a "Message:" prompt if input isn't stdin. From Masanobu Saitoh in PR #982. Also, fix usage strings to note that "width" argument to "-w" flag isn't really optional. [cgd 19950422] Make sure that zoneinfo files are installed with correct perms (read-only, by everyone). (fixes PR #984.) [cgd 19950422] alpha: Merged many more changes in from the alpha port; made sys/lib more type-size safe, made the new BPF more type-size safe, track my local alpha changes. [cgd 19950422] ping(8): exit with non-zero status if no packets received, as suggested by Rens Troost. [cgd 19950422] alpha: incorporate changes to src/gnu to make the parts of it used on the alpha work properly. [cgd 19950423] Removed the emulation flag in struct proc and made the p_emul member be a pointer to a new 'struct emul' that describes the os emulation. This is not in its final form yet, but eventually I hope to be able to lkm emulations. Turned the process argument copying code into a function (copyargs). [christos 19950422] lorder(1), alpha: version of the 'lorder' script that works with GNU nm added, for the alpha port. [cgd 19950424] alpha: don't build the a.out tool chain in the source tree on the alpha port. [cgd 19950424] alpha: lots of #includes and/or bogus extern declarations fixed, from the alpha port. The programs probably don't all work properly on the alpha, but they compile out of the master NetBSD source tree now. (i.e. everything except src/sys has been merged.) [cgd 19950424] atari: fixed write-protect checking on open in the floppy driver. [leo 19950425] sparc, audio: use MI audio interface for on-board amd9730 chip; contributed by Rolf Grossmann. [pk 19950425] sparc: fast in_cksum() routine from Matthew Green. [pk 19950426] audio: applied fix for audio nits from Mike Long (PR #996). [brezak 19950426] i386: When using the isa com.c as a serial console, pressing gets you into ddb. [hpeyerl 19950427] config(8): rename "config" to be "config.old", and rename "config.new" to be "config". Update "files"-file search routines to reflect appropriate names, and also update manual pages. Move "files" files as necessary to fix things up. [cgd 19950428] alpha: added functions to set floating point rounding modes, and added stubs for functions to set FP exception masks. (right now, those stubs abort().) [cgd 19950429] libc: added xdr_{,u_}int{16,32}_t() functions to libc's RPC code (for internal use only, at this point). made various "on-the-wire" RPC structures use explicitly-sized types, and use the new functions to move them in and out of XDR form. [cgd 19950429] user_from_uid() and group_from_gid() prototypes now provided by pwd.h and grp.h, respectively, if _POSIX_SOURCE and _XOPEN_SOURCE aren't defined. [cgd 19950429] mac68k: updated nubus code and video/ethernet drivers to match. Improves recognition of more oddball cards and provides better frame for later work. [briggs 19950429] m68k: Added sig{set,long}jmp from Henric Jungheim (uhenric@mcl.ucsb.edu) as an outgrowth from PR #1009. [briggs 19950502] i386: added a machine-independent for MC146818A RTC chips (and compatibles). Made the i386 use it. [cgd 19950504] updated flex to version 2.5.2. [jtc 19950504] allow ports to enable swapping individually. define a cpu_swapout() function to handle CPU-specific swapout needs. [cgd 19950505] audio: have audio device auto-select mode when in half-duplex when opened. from John Kohl - PR #1006. [brezak 19950505] audio: add fixes for sbdsp.c mixer device from John Kohl - PR #1028. Add mixer arg for ioctl PR #1027. Don't call hardware close in mixer_close() from Rolf Grossmann. [brezak 19950508] fixed group quota checking, allow anyone to sync quotas. From Mike Karels. [cgd 19950510] amiga: removed double mapping of kernel stack (kstack). Now use (new) cpu_set_kpc() and not cpu_set_init_frame() [chopps 19950512] syslogd(8): fixed to report correct priorities when sending to remote loghosts. From Jarle Greipsland in PR #1039. [cgd 19950514] net, netstat(1): drop malformed IP fragments, and have netstat print out the number of malformed IP fragments dropped. [cgd 19950514] atari: - Fixed TT-HIGH video mode, so 19'' screens are supported. - removed double mapping of kstack. - change the shutdown procedure to call vfs_shutdown(), so the fsclean mechanism is working properly. - Fix colormap handling, so this time the 'right' screen changes color. [leo 19950531] atari, amiga: Added '-f ' flag to iteconfig, you can now also change alternate consoles. [leo 19950531] add a way for drivers, etc., to register hooks to be run immediately before shutdown. [cgd 19950531] Split egid out of supplemental group list because POSIX.1 requires that sgid executables and the setgid() sycall *not* change the group list. Changed getgrouplist(3) to not duplicate the primary group. [jtc 19950531] i386: integrate patch from Lon Willett for pcvt. This is part of the the 3.20 release. It "welds" the cursor in DDB, fixes some keymappings, doesn't clear the startup screen and when screen sizes are changed. [brezak 19950601] change bsd.man.mk so that if 'make MANZ= install' is done, installed man pages will be gzipped. [brezak 19950601] ethernet: add the if_de.c driver by Matt Thomas for DECchip 21[01]40-based PCI ethernet boards. [cgd 19950604] arcnet: update ARCnet code and Amiga if_bah, with new versions from Ignatios Souvatzis. [cgd 19950606] pc532: replace polled NCR scsi driver with Leo's interrupt driven NCR scsi driver. [Phil 19950608] sun3: Added native boot blocks for disk and net [gwr 19950609] update for rip version 2. Support rip version 2 in routed, and fix tcpdump for the new header. [christos 19950620] mac68k: Lots of changes from hp300 port, cleanup, and ether. * Rewrote memory mapping to be in C instead of assembly. * Removed double mapping of kstack. * Took out non-MACHINE_NONCONTIG support and other cruft. * Raised several VM limits. * Replaced Amiga 040 support with hp300 040 support. * Cleaned up nubus code and internal video "probe." [briggs 19950620] rpcgen(1): import and adapt new version from Sun Microsystems TIRPC release [pk 19950622] libcompat: create new libcompat for the kernel that contains routines shared by the compatibility modules. Move the compat code from the kern directory to libcompat. Fix the libkern and libcompat Makefiles to build their targets inside the kernel compilation directory using the kernel's CC and CFLAGS. [christos 19950624] atari: - Definitely use MACHINE_NONCONTIG - Added mouse driver [leo 19950625] i386, SCSI: change calling conventions of the bdevsw dump() routine, and update MI SCSI and i386 port to use them. create a flag so that ports won't use new dump routines until they're converted. [cgd 19950626] i386: make kernel crash dumps work. [cgd 19950626] cleaned up units conversion macros in all ports' headers. [cgd 19950626] i386: actually use the time stored in the file system, if the clock's time isn't sane. [cgd 19950626] i386: fill in missing functionality in i386 kvm code. [cgd 19950626] sys_lib/libsa: Make libsa/rpc.c more general and add the ability to determine the address from whence an RPC reply has come. Updated libsa/nfs.c to use the new interface (caller provides header space). Added bootparams support in libsa/bootparams.c sun3: stand/netboot works using new libsa [gwr 19950626] pc532: Added shar/man/man4.pc532 and files lpt.4 and plip.4 to man4.pc532. [phil 19950622] upgraded termcap database to version 9.7.0. [jtc 19950626] renamed the contents of sys/dev/ic to reflect the fact that they're register descriptions. [cgd 19950628] ethernet: added Charles Hannum's mostly-machine-independent am7990 (LANCE) driver to sys/dev/ic. [cgd 19950628] removed unused cpu_exec() macro from machine/cpu.h. [cgd 19950628] updated getfsstat(2) and statfs(2) manual pages to match current reality. [cgd 19950629] changed the shmat() syscall so that the address picked for mapping if no address is given is consistent from process to process. SysV apparently does this, and some programs depend on it. (Suggested by John Birrell ). [cgd 19950629] added a lint(1) implementation by Jochen Pohl . [cgd 19950703] audio: updated audio with changes inspired from latest PR's. The audio driver now uses mode flags to allow full-duplex operation as suggested by John Kohl. It also includes other full duplex related changes. The ad1848 driver includes support for the cs4231 codec and probe changes from Mike Long. The other sound drivers had a round of cleanup. [brezak 19950706] fix bug in load average calculation that prevented processes which were uninterruptibly sleeping for a short period from being counted. [cgd 19950707] sparc: move MMU dependent crash dump routines to pmap.c and use MACHINE_NONCONTIG permanently. [pk 19950708] sparc: implement KIOC_LAYOUT ioctl for Sun keyboards. [pk 19950708] upgraded zoneinfo database to tzdata95e. [jtc 19950710] sun3, sparc: move the MI bits of the `si' scsi driver for sun3 & sun4 to src/sys/dev/ic, where they are known as ncr5380*.[ch]. [pk 19950708] sun3, sparc: added `screenblank', a screen saver daemon for Sun 3 and SPARC machines. [thorpej 19950711] removed FFS mounting code from mount(8), and seperated it into its own program (mount_ffs(8)). mount_ufs is a link to mount_ffs, for now, for compatibility. [cgd 19950712] changed 'mount -a' to _not_ remount mount file systems, if it looks like they're already mounted. added '-A' flag to mount, to implement the old (somewhat quirky) '-a' behaviour. [cgd 19950712] added an SDEV_FORCELUNS quirk to the SCSI quirks table, and added a few more devices with quirks. [cgd 19950712] sun3, sparc: added `eeprom', a program to display or change the contents of the EEPROM or OpenProm on Sun 3 and SPARC systems. [thorpej 19950713] sparc, audio: dev/and7930.c change DEBUG --> AUDIO_DEBUG. PR #1241. [brezak 19950719] i386: etc/etc.i386/MAKEDEV create mixer device. PR #1208. [brezak 19950719] audio: added GUS audio driver from John Kohl and Ken Hornstein . [brezak 19950719] added dbm_error & dbm_clearerr prototypes to . [jtc 19950720] mac68k: Added support for RB_ASKNAME, RB_MINIROOT, and GENERIC. This requires a booter change to 1.8. [briggs 19950723] atari: Make kernel-dumps work [leo 19950724] atari: Fix keymap handling [leo 19950724] atari, msdosfs: Make some atari specific changes to the msdosfs-driver so gemdos filesystems are (almost) completely understood. There is still a problem with the root directory. In some cases, it's allowed to grow into the first FAT. [leo 19950724] pcnfds(8): added pcnfsd server from Gordon Ross. [jtc 19950724] ethernet: update if_de driver with latest version from Matt Thomas; now supports dc21041-based boards. [cgd 19950724] change bsd.subdir.mk so that it prints out the path to the subdirectory being worked on. lets you know how deep you've gone, and allows path to be pasted. [cgd 19950724] bdes(1): add a bdes(1) dummy script, and the bdes(1) manual page (with a warning), for exportable configurations. [cgd 19950724] prototyped physio(), adjusted various users and definers of minphys()-like routines to use its correct definition. [cgd 19950724] kernel: disabled early aging of file system data buffers; it will make less and less sense as buffer cache sizes increase, won almost nothing (and sometimes lost badly) with current buffer cache sizes). Suggested by Bob Baron . [cgd 19950724] mvme68k: imported mvme68k port for motorola VME147 card [chuck 19950725] updated get{pw,gr}ent and friends to implement better YP support including exclusions in /etc/passwd. Enhancments by Jason Downs. [phil 1995072?] add and document a `kern.rawpartition' sysctl. [thorpej 19950804] atari: Support NetBSD disklabels. When a NetBSD label is present, it overrules the Atari AHDI-partitioning. It is now also possible to have only a NetBSD label on a disk. When no NetBSD label is present, the current sceme of faking a disklabel is used. This guarantees backward compatibility. [leo 19950805] netstat(1): changed `netstat -r' to show a route's mtu, if set. [thorpej 19950809] tip(1): changed tip to handle zero (space) parity correctly. From Trevor Blackwell (tlb@eecs.harvard.edu). [jtc 19950814] atari: Changed the NCR5380 SCSI-driver to be machine-independent. The atari/dev/ncr* files form the mi-part. The atari5380.c file configures the driver for use on the TT and/or Falcon. [leo 19950811] mac68k: Got serial console working again--at least on the Q700. Fixed grf_iv.c driver for internal video so IIvx-class machines can run X. [briggs 19950811] sun3: Fixed ufsboot for Sun3/260. The sun3 port now has a full set of boot programs for NFS or disk boot that should work on any device known to the Sun PROM. [GWR 19950812] ccd(4): new version of ccd, along with run-time configuration utility and conf.c/MAKEDEV entries for each port. [thorpej 19950817] amiga: siop (ncr53710) and sbic (amd33c93) now support disconnect siop from osymh@gemini.oscs.montana.edu (Michael L. Hitch) and sbic from "Eduardo E. Horvath eeh@btr.com" [chopps 19950818] amiga: added a2410 grf and ite driver from Ignatios Souvatzis [chopps 19950818] amiga, ethernet: added Ariadne ethernet driver from Bernd Ernesti [chopps 19950818] atari: First Falcon video support from Thomas Gerner [leo 19950820] pc532: added changes from Matthias Pfaller to support dumps. [phil 19950824] pc532: imported a new method of making distributions from Matthias Pfaller. [phil 19950827] pc532: added changes to vmstat for pc532 support. [phil 19950827] rarpd(8): changed rarpd to respond to rarp requests even if there's no "/tftpboot/" file. Building rarpd with -DREQUIRE_TFTPBOOT will re-enable this `feature'. [thorpej 19950901] hp300: added new working network boot code. [thorpej 19950901] mac68k: Use the atari's machine independent NCR 5380 scsi driver in Pseudo-DMA mode. [briggs 19950902] mac68k: Add support for mice that conform to the Extended Apple Mouse Protocol. From Ken Nakata . [briggs 19950903] ethernet: add Intel Etherexpress driver into if_ie.c. Code by Rod Grimes. Merged by Andrew Gillham . sparc, dev/rcons: Raster Console moved from arch/sparc to dev/rcons. Cleaned up to be machine independent. [pk 19950917]. Made system calls conform to a standard prototype and brought those prototypes into scope. [thorpej 19950919] hp300: add a standalone disklabel/miniroot-copy/boot program to facilitate initial installation. [thorpej 19950922] sparc: new device driver for "xy" Xylogics 450/451 SMD disk controller [chuck 19950925] added enhancements to the bpf from Stu Grossman : * grok FIONBIO, FIOASYNC, and TIOC{G,S}PGRP * add BIOC{G,S}RSIG; get/set the signal to be delivered to the process or process group upon packet reception. Defaults to SIGIO. [thorpej 19950926] amiga: converted 040 MMU code over to the hp300 style from osymh@gemini.oscs.montana.edu (Michael L. Hitch) [chopps 19950928] amiga: added 2232 multi-serial port driver from: Rob Healey , Jukka Marin , Timo Rossi and Zik [chopps 19950929] amiga: changed the install root image size from 880k to 1760k. Users can use miniroot (and probably will) so the major lack of HD drives won't be a problem. [chopps 19950929] network: added support for net.inet.tcp sysctl group and sysctl option to enable/disable rfc1323 extensions to TCP. From John Kohl . [thorpej 19950930] hp300: added HP 7974a, 7978a/b, 7979a, 7980a, and 7980xc magnetic reel tape driver (mt), original from Mt. Xinu, contributed to Utah, and ported to 4.4BSD by Mark Davies and Andrew Vignaux, Department of Computer Science, Victoria University of Wellington. [thorpej 19951001] hp300: added miniroot installation tools. [thorpej 19951003] fsdb(8): added fsdb(8), an FFS debugging/editing tool, from John Kohl. [thorpej 19951008] Changes from NetBSD 1.1 to NetBSD 1.2: msdosfs: added support for Win'95 long filenames. [ws 19951011] fixed file descriptor leak in ul. [jtc 19951107] changed profiling (gmon.c) so that output can be is controlled by the PROFDIR environment variable. [jtc 19951121] incorporated diffs to IP networking code for 64-bit cleanliness. [cgd 19951121] changed definition of profil() to be 64-bit friendly. (This has no real effect on 32-bit systems.) [cgd 19951122] send-pr(1): changed to handle '&' expansion of user name from password database. [jtc 19951122] libc: added spanish language libc message catalog contributed by Jesus M. Gonzalez . [jtc 19951122] hp300: made COMPAT_HPUX partially work. This is a checkpoint/snapshot, done with the intent that others will be able to track the code more easily. Several HP-UX 9.x executables tested work "OK". Much more work yet to be done. [thorpej 19951128] atari: added support for a separate {prof,stat}clock [leo 19951201] atari: now using more functional fpe support [leo 19951201] hp300: use "match/attach" rather than "init" routines for probing devices. This is one of the many steps towards using new config. [thorpej 19951202] hp300: Added Swedish HIL keymap, submitted by Tomas Tengling . [thorpej 19951206] gcc(1): Imported gcc-2.7.2 into src/gnu/sur.bin/gcc. [phil 19951201] renamed uuencode.format(5) to uuencode(5). [jtc 19951204] integrated version 9.11.5 of termcap database. [jtc 19951204] Changed sys/scsi/sd.c and sys/scsi/cd.c to use a 6-byte read/write cdb if the transfer request will fit, and the 10-byte cdb otherwise. In sdattach(), note if the device is "ancient". Implement sdminphys() which shortens the transfer to fit in a 6-byte cdb on "ancient" devices. Fixes problems with rejected commands on many Emulex ESDI->SCSI bridges. [thorpej 19951207] m68k: Moved the m68k bcopy, ovbcopy, and memcpy functions out of each port's locore.s and centralized them in m68/m68k/copy.s. [thorpej 19951210] hp300: some cleanup in locore.s and others. Changes are geared towards finding common ground between the m68k ports and pulling them out into . [thorpej 19951211] Added -Werror to bsd.sys.mk, so programs which use the NetBSD build environment build with -Werror. [cgd 19951212] vax: Added support for MicroVAX III (VAX 3600/3800/3900). Walk slowly towards using new config everywhere. [??? 199512??] changed NFS code to work on 64-bit systems. (Really just changed the code so that structures, etc., used in implementing the wire protocol used fixed-size types.) [cgd 19951219] started a collection of machine-independent TurboChannel code, to be shared between the pmax and alpha ports. [cgd 19951219] fixed strftime's %u format to expand to a single digit. [jtc 19951228] applied groff portion of diff in PR #1859. This diff updated for loops to conform to the newer ANSI scoping rules. [chopps 19951229] added $mrouted_flags to /etc/netstart and use them in /etc/rc to start mrouted like $routed_flags are used to start routed. [thorpej 19951229] vnd(4): added a vnd(4) manual page. [thorpej 19951230] libg++: fixed to compile with newer gcc. closed PR #1859 [chopps 19951230] added David Jones' new MI NCR5380 driver to sys/dev/ic. [thorpej 19960101] sparc: added my port of the sun3 `ncr_si' driver plus my additions to support the 4/100 `sw' controller. Uses MI NCR5380 code. [thorpej 19960101] arm32: Initial import of NetBSD/arm32 [mark 19960131] fixed identd userid format to conform to RFC1413. Patch from der Mouse in PR #1848 [jtc 19960102] vax: Added support for TS11/TSV05 tape drives. Device driver written by Bertram Barth, based on TMSCP code. [ragge 19960106] atari: Added nvram driver. [leo 19960106] upgraded zoneinfo code to tzcode96a. [jtc 19960108] upgraded zoneinfo data to tzdata96a. [jtc 19960108] New generic disk framework. Highlights: - New metrics handling. Metrics are now kept in the new `struct disk'. Busy time is now stored as a timeval, and transfer count in bytes. - Storage for disklabels is now dynamically allocated, so that the size of the disk structure is not machine-dependent. - Several new functions for attaching and detaching disks, and handling metrics calculation. Old-style instrumentation is still supported in drivers that did it before. However, old-style instrumentation is being deprecated, and will go away once the userland utilities are updated for the new framework. For usage and architectural details, see the disk(9) manual page. [thorpej 19960107] Added copy(9), fetch(9), and store(9) manual pages, based on a suggestion from Kenneth Stailey. [thorpej 19960108] isa, ethernet: Add support for the SMC8416 (EtherEZ) ISA ethernet card. (imported from OpenBSD/FreeBSD) [chuck 19960110] scsi: Added erase and cache request to MI SCSI tape driver, from John Kohl. [thorpej 19960110] isa: added "ahe" driver, autoconfiguration support for ISA/VLB/EISA aic7xxx-based SCSI controllers from Michael Graff. [thorpej 19960112] sys/lib/libsa: Splitted some sources files containing more than one function. Allowing for a possible decrease of the bootloader size. closes PR #1817. [leo 19960113] m4(1): handle multi-character quote and comment delimiters Patch forwarded to Ozan Yigit [pk 19960113] sparc: added "mountroot hook" for dealing with a device's special needs before (*mountroot)() is called. Make the floppy driver register a mountroot hook used to eject the floppy and prompt user for filesystem floppy if it's the root device. Add better disklabel handling to floppy driver. [thorpej 19960114] netinet: added net.inet.ip.forwsrcrt sysctl. If zero, the system will not forward source-routed packets. The name is consistent with the BSD/OS sysctl that does the same thing. [thorpej 19960115] netinet: added net.inet.ip.directed-broadcast sysctl, slightly modified from a patch submitted by Darren Reed. [thorpej 19960115] msdosfs: Removed '#ifdef atari's. Make mounting the Atari-Gemdos flavour of msdosfs an option passed by mount. [leo 19960119] more(1): upgraded to less version 290. note that this also installs as /usr/bin/less now. [mrg 19960122] sendmail(8): upgraded sendmail to version 8.7.3. [mrg 19960122] redesigned z8530 serial driver to make it attach child devices for keyboard, mouse, or plain tty. [gwr 19960123] Move disk-specific ioctls from to which is implicitly included by . Define and implement DIOCLOCK, which is used to lock/unlock a disk pack. Teach several drivers and the eject(1) program about the new interface. SCSI disk driver now has ability to eject removable media with software. CD-ROM drivers maintain compatibility with the old CD-ROM lock/unlock/eject interface. [thorpej 19960130] cmp(1): cmp -s no longer complains about missing filess. [mrg 19960201] changed names of timespec struct's fields from ts_* to tv_* to conform to POSIX.1b. [jtc 19960201] changed quota and rpc.rquotad to use ffs instead of ufs. [jtc 19960201] ccd(4): add experimental data mirroring support, mostly from Satoshi Asami and Nisha Talagala, with some changes by me. [thorpej 19960201] syslogd(8): added -s flag -- this makes syslogd open only the unix domain socket and not the network, which is important on firewalls and other machines which could be attacked over the network. [perry 19960204] mac68k: New, calibrated delay() implementation. [briggs 19960203] dump(8), restore(8): now support $TAPE as the default device. [mrg 19960206] vax: Massbus adapter support and Massbus disk support added. (RP04/05/06/07 disks). [ragge 19960211] mac68k: Changed partition strategy a bit to allow boot partition to be any of the first 32 instead of first 8. [briggs 19960211] hp300: New, better interrupt handling code. Eliminates most hard-coded driver references in locore.s. [thorpej 19960213] audio: New ioctl AUDIO_PERROR (playback error count); new mode flag AUDIO_PLAY_ALL to indicate that all samples should be played rather than time correcting with silence. [jtk 19960216] nfs: Rick Macklems's NFSv3 code from Lite2 brought in [fvdl 19960218] i386: Virtual 8086 mode kernel support, library support added to i386 port [mycroft+jtk 19960222] hp300: New console probing code. [thorpej 19960223] telne