LIST OF CHANGES FROM PREVIOUS RELEASES: <$Revision: 1.4 $> Changes from 386bsd 0.1 + patchkit 0.2.2 to NetBSD 0.8: fdescfs, kernfs included added bsd mt ktrace works crond, crontab cleaned, and install properly prompt for floppy root disk added kgmon, gprof many vm bug fixes free ed fixes to /etc/*, particular /etc/{weekly,daily,monthly}, netstart beginnings of yp support tmpnam fix some alpha patchkit 0.2.3 stuff (piecemeal, and in some cases improved) better sun rpc support rwall, rwalld 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 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 multiple open st(4) should get EBUSY updated elvis options SCSI, no more 'scbus' crap. see sample configs 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) probe printf improvements fnmatch fix fdisk program pcfs hacked config(8) to be more rational, generate less broken garbage, added expression support, and "requires" swapinfo ps(1), and w(1) fix for command line args mmap, et. al protection fixes 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) got rid of bt0 driver in GENERICISA, as it was conflicting with aha0. (cgd) make sure .../sys.386bsd/compile makes it into the distribution. (cgd) 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) fixed various bugs in the games. (mycroft) 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) added YP to libc, and yp programs to usr.sbin/yp. (deraadt) netstat -s now prints out all of the udp statistics gathered (glass) brought in new login(1) from uunet. (cgd) brought in new test(1) from uunet, ditched bash version (glass) brought in new tr(1) from uunet (glass) added termios(4) man page from uunet (glass) 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) can't exec a file people are writing to, any more... (cgd) fixed the amazingly shitty ethernet performance with cheap Western Digital cards. (mycroft) 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) replaced gnu tail(1), join(1) with bsd equivalents from uunet (glass) fixed kernel profiling, again. now it _works_. (cgd) integrated CSRG-released touch(1), err(3) (glass) add process accounting & fix related utilities (cgd) 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) make serial ports be correctly-numbered (cgd) added support for HP ethernet controllers. (mycroft) made the entire distribution compile and run with GCC 2. (mycroft) replace GNU dd(1) with recently released Berkeley version (glass) update (f)lex to version 2.3.8 from prep.ai.mit.edu (cgd) 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) 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) 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) 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) 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) 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) 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) apply patch from Jagane D. Sundar to allow NFS-mounting of ISO 9660 (isofs) filesystems, and to fix a few small isofs bugs. (cgd) have config make kernel compilation directoris in /sys/${MACHINE}/compile rather than /sys/compile (cgd) changes from David Burren so that netstat prints names for routes when not given -n, and so that it prints address family names (cgd) 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) moved kernel architecture-dependent sub-directories into /sys/arch/${MACHINE}. great for more archs! (cgd) fixed "swap generic" support (cgd) 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 now prints the targets of symbolic links, thanks to John Brezak (brezak@osf.org) for the patch. (cgd) ed: 8-bit clean; no line-length limit; regex support for NULs (alm) sed: 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) Updated the rpc library to support MIPS and NS32k CPUs. (davidb) 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) don't remake newvers and relink kernel if nothing has changed (cgd) fix SUP to not need any version of crypt. Use "make MAKE_EXPORT=1" to build a SUP for export. (brezak) 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) fixed /usr/bin/more to not play with magic numbers from executables directly. It now uses the N_BADMAG() macro. (deraadt) 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) make sleeps during FIFO open interruptable (cgd) various pacthes to kernel files to make things compile with GCC-2.3.3 (proven) patch to signal .h for ANSI validation (proven) update to version 3.0 of Paul Vixie's cron package (cgd) kernels without pc0 support can be built, and work (deraadt) 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) sending simple telnet commands fixed. patch originally from Jonathan Stone (cgd) replace execve with new one, based on work by Wolfgang Solfrank , but beaten up a good amount be 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) give ps an 'e' option, to print the environment variables of processes (cgd) add vt300 to termcap.src (brezak) fixed stty so that setting "ispeed" works. (cgd) 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) 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) fix ps 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) make tip obey Taylor UUCP's locking conventions. Patch from Peter da Silva , patchkit patch #139. (cgd) 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) 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's 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 in stdlib.h 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) 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) 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) 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 now can start RPC services. (brezak) remove starting of rwalld from /etc/rc and netstart. (brezak) chpass and passwd will use YP is available. (brezak) added -d option to install (jtc) tip 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) 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) 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) 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) 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) 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 command ignored setting the seconds value. patch from (deraadt) Fixed othersrc/xntp to find NetBSD kernels. (davidb) 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) 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 from Net2. (brezak) 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) 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) 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) 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) 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) remove usr.bin/gnu/tar. Use tar-1.11.2 instead. (brezak) update grep, egrep, and fgrep to gnu grep 2.0. (jtc) update awk to gawk 2.15.2. (jtc) update diff, diff3, and sdiff to gnu diffutils 2.3. (jtc) update rcs to 5.6.0.1. (jtc) update gzip to 1.2.2. (jtc). '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) 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) upgrade gcc and cc to gcc-2.4.5 (paul) 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) 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) upgrade if_is.c to handle multiple cards and bpf (paul) 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) fixed nice(1) to not dump core when invoked with no arguments, and to understand negative niceness values. (jtc) fixed dbsym to strip gcc2 related trash syms before stuffing them into the kernel. Added "-l" flag to strip local syms too. (brezak) replaced gcc1 with gcc2 as standard compiler, and removed gcc1 and the old version of g++ (cgd) upgraded libg++ to version 2.3.90 (cgd) changed env, head, nohup, wc, and xargs to be IEEE 1003.2 (D11.2) compliant. (jtc) upgraded groff to version 1.08. (jtc) i386 if_ne.c bug fixes from (deraadt) ddb changes. Add -more- pager for output. Add 'ps' command. bring in ddb(4) man page. (brezak) added Havard Eidnes fixes to netstat (paul) fixed gcc2 for multiple archs and tidied up man pages in cpp (paul) updated libg++ to 2.4 (paul) 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) 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) fixed search paths for whereis. (mycroft) fixed memory trashing bug in compress. (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) fixed bug in cat 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) made GDB deal with stabs type info output by GCC 2. (mycroft) 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) 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 man page error found by hpeyerl, ok'd by mccanne (deraadt) 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_pcfs moved to mount_msdos; the latter is more appropriate (cgd) sendmail upgraded to version 8.3 added statistics counters to if_is.c,ipackets etc (paul) 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) 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) add latent support to config to generate header files for options. (brezak) rewrote sun copyrighted header files (deraadt) 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) removed two bogus splx() calls in aha1742.c found by (deraadt) added RCS identifiers to many of the files which were missing them. (mycroft) added support for the `noauto' option to mount. (mycroft) replaced much of the rtc code with code from Mach. Now handles resettodr(). (brezak) added support for i486 instruction set extensions to gas. (jtc) implement play_msf variants for SCSI cd. Now for the player... (brezak) changes from for gzip'ed sup file transfer. (brezak) add service port for WWW http to /etc/services. (brezak) upgraded uucp 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 in . (jtc) replaced volatile qualifier in with __dead, for when we're not compiling with gcc. (jtc) updated fts(3), vis(3), and glob(3) to latest versions from Berkeley, with local bug fixes. (mycroft) added sys_signame[] to libc, like 4.4, and changed some programs to use it. (mycroft) 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) new MID_M68K and MID_M68K4K executables, and associated changes to file command (deraadt) 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) ppp 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) fix for make's handling of obj symlinks which point nowhere, from Christoph Robitschko (cgd) added proc filesystem (PROCFS) code (pk) 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 pagers are controlled as options, not as pseudo-devices (deraadt) tty device driver XXstart() routines return void (deraadt) 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) 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) reduce i386 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) 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) imported the src/sys/arch/pc532 tree. (phil) added a number of necessary #ifdef pc532 cases (deraadt) fixed bug in ypbind that caused it to not keep the binding file up-to-date (deraadt) 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) 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) 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) 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) add clearing of direction flag back to i386 bcopy and memmove. This previous change to remove it was too aggresive and broke things like the Xserver. (brezak) 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) 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) 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) 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 in (pk) 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) move architecture-specific directories in libc into an 'arch' subdir, in the same way that they're under 'arch' in the kernel (cgd) 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) several extensions to inetd: 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) 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) 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) exec fixed to return EACCES if trying to exec a program on a file system mounted MNT_NOEXEC. (cgd) update execve man page to note that, and fix a typo, with diffs. fixes from Garrett Wollman . (cgd) 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) add a free 'units' command, written by Adrian Mariano ( or ) (cgd) 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 upgraded to Ozan Yigit's latest and greatest version. (glass) Fixes bug that broke > 8.3 sendmail config files 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) update the cksum(1) utility from the latest sources on uunet. (cgd) update the mtree(8) utility from the latest sources on uunet. (cgd) added a64l(), l64a(), lfind(), lsearch(), , etc. (jtc) changed rm to be 1003.2-1992 compliant. (jtc) added -print0 option to find. (jtc) gas: changed write.h to compile with PIC not defined (phil) gas: 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) moved chown(8) and chgrp(1) 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) update timed to the latest version, as supplied and ported by vjs@calcite.rhyolite.com. (cgd) updated README.sup to reflect changes to collections. (brezak) incorporate new dev pager from Mike Hibler (cgd) altered sed to exit when the n)ext command reaches EOF. (andrew) changed printf(3), et. al. to be ANSI compliant. (jtc) changed printf(1) to be 1003.2-1992 compliant. (jtc) add Mitsumi (non-SCSI) CD-ROM driver, written by Holger Veit and Brian Moore (cgd) fixed bad bcd(6) punch codes Dyane Bruce . (jtc) 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) fix bogus uses of splnone() in the i386 port. (cgd) 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) disable sendmail by default in future distributions; bad things could happen if config files aren't properly customized (cgd) some sunos compatibility code in struct sigacts (deraadt) 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) fix mount(2) man page to use the right names for mount flags (cgd) make csh be rational w.r.t. forground process groups (cgd) add link(5) manual page, update of a.out(5) (pk) update curses(3) with latest version from CSRG (cgd) update more(1) with the latest version for uunet and added regex(3) support (alm) update pppd 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: add RCS IDs, minor enhancements (default local address to first IP address of host), bugfix (paulus) fix some uninitialized variables in lpr and lpd (cgd) make crontab(1) do the right thing with EDITOR and PATH. reported (with fix) by Roland McGrath (cgd) make rup and rusers prettier (deraadt) add some useful memory summing stuff to vmstat (cgd & deraadt) 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) update ed(1) - fixed line addressing to be consistent with SunOS ed (alm) change bootcode to not skip the 256 bytes of BIOS variables if load address isn't 0 (ws) more stdio fixes from from torek with help from cgd. (cgd) fix termcap(3) 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) fixes to join to fix a seg fault and a mixed up buffer, from Dave Matthews , modded by cgd. (cgd) 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) add usr.sbin/slstats command from CSLIP-2.6 distr. (brezak) 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) 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) merged printf(1) with latest version from uunet. (jtc) changes to gas 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) 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) bug fixes to ISOFS: 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) shared-library support for m68k machines in src/lib/csu/m68k and src/lib/libc/arch/m68k (paulus) fixes to ppp stuff: pppstats.c uses ; enhance pppd security (paulus) don't start sendmail if there's no /etc/sendmail.cf (cgd) make rcs deal properly with EINVAL when fsync()'ing a pipe (cgd) tsort 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) fix tsort's behaviour when given a filename argument on the command line, from Frank van der Linden . (cgd) replaced `#ifdef's i386' with `#ifdef's NetBSD' in `libexec/rarpd.c' so it will compile on other BSD ports as well (pk) replaced `#ifdef sparc' with `#ifdef sun' in `usr.sbin/pppd/auth.c', (`sparc' is an architecture, not an environment) (pk) upgraded lex to version 2.4.2. (jtc) change YP /var/yp/binding/ files to match Sun's files (deraadt) add MACHINE_ARCH to the set of variables defined by make(1). (cgd) make libc and libkern use MACHINE_ARCH. (cgd) dump cores as "progname.core" rather than "core.progname" (cgd) add at(1) and atrun(8), written by Thomas Koenig and seriously hacked by me. (cgd) put atrun into root's crontab, to run every 10 minutes. (cgd) actually delete the GNU regex library (cgd) make sure that crond records the commands that it runs. fix supplied by thomas@mathematik.uni-Bremen.de. (cgd) sup instructions updated. see ~ftp/pub/sup/README.sup. (glass) 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) upgraded lex to version 2.4.3. (jtc) several bug fixes in libc i386 assembler stubs supplied by thomas@mathematik.uni-Bremen.de. (pk) 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) add sparc machine dependent sources to libc Makefiles. (pk) fix from Piero Serini to get "id " to get the primary group name correct. (cgd) 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) convert SLIP to use IFF_LINK* flags for compression/icmp enable, and update associated utilities. kill 2 SLIP ioctls. (cgd) fix from Brad Parker to curb routed inflation when using MULTICAST. it wasn't properly ignoring the new interface flags. (cgd) 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 must be linked -ll because of new lex (deraadt) teach the mod* programs to love ansi (deraadt) 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) 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) 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) move tcpdump into src/usr.sbin, and cleanup (deraadt) 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) 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) 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) 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) 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) sunos-like ethers(3) functions and man pages in libc, from Roland McGrath . YP code fixed by myself. (deraadt) 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) plug a security hole in "crontab -r". fix from Todd C. Miller . (cgd) 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) add the include file, from bostic@vangogh. (cgd) fixes to kermit for UUCP file locking and high speeds from Mike Long . (brezak) add .OBJDIR variable to make for readable Makefiles. (pk) fix to 'netstat -w' from James Jegers . (cgd) update to latest fgetline() from berkeley, and attendent changes. (cgd) 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) changed find(1) 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) 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) changed /dev name in vnconfig.8 man page. (brezak) changed ranlib(1) to use temporary directory specified by TMPDIR, as is done with ar(1). fix, with slight changes from me, by Ed Hudson . (jtc) integrated strtoq(3) & strtouq(3) from bsd-sources on uunet. (jtc) rename fgetline() to fgetln(). (cgd) fix chmod so that "chmod o= foo" works right. (cgd) 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) upgraded cron/crontab to vixie cron 3.0. (jtc) upgraded lex to version 2.4.6. (jtc) reorganize execve() sub-functons, and streamline them. (cgd) reorganize ptrace code, so that it's more easily shareable. (cgd) started collecting common m68k code. (cgd) have /usr/src/include/Makefile make a symlink/dir in /usr/include for ${MACHINE_ARCH}. (cgd) added code to 'config' to pull in ${MACHINE_ARCH}'s 'files' file and to create a symlink for MACHINE_ARCH. (cgd) add similar code to 'config.new'. (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) add LBL soundblaster and /dev/audio drivers, as ported by brad@fcr.com. (cgd) add rbootd for booting hp workstations diskless. From Mike Hibler . (brezak) i386: check user's selectors in sigreturn(). (brezak) add IP mcast and IGMP support to netstat from LBL via cmaeda@cs.washington.edu. (brezak) add mrouted from LBL via cmaeda@cs.washington.edu. (brezak) 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 now works correctly with YP, and will be started by /etc/rc if /etc/netstat says so. (deraadt) portmap, yp, mountd, 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 by Klas Heggemann (deraadt) make bpf's BIO* ioctl's print nicely. sent in by (deraadt) bootparamd 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) fix rarpd 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) move my SUNOS_COMPAT changes down from the magnum branch (deraadt) i386: fix a number of if_ep.c bugs (deraadt) 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) 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) reorganize libutil; 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) 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 upgraded to version 8.6.5. (glass) update linker sources to convey gcc's .type directives into shared objects. (pk) update sed with a new version from Diomidis Spinellis (cgd) update the 'leapseconds' file, from Arthur David Olson (cgd) update tsort with a version from Christos Zoulas, and convert it to use new err() and warn() functions. (cgd) add pidentd (written by Peter Eriksson ) as /usr/libexec/identd. (cgd) fix to uname(1) from Matthieu Herrb to handle multiple arguments. (cgd) 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) 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) update telnet and telnetd from latest sources on ftp.cray.com. (cgd) 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) when restoring from multi-volume dump, check the correct tape header volume number, from thomas@mathematik.uni-Bremen.de. (cgd) fix to 'primes' to deal properly with large numbers, from Arne Juul . (cgd) fix rarpd to put necessary fields in network byte order, from Christos Zoulas . (cgd) fix sed to do the right thing with empty regex matches. (cgd) fix from Christos Zoulas to keep tftpd from dumping core when invoked with no arguments. (cgd) 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) fix i386 disklabel routines so that when creating a new label, they fill in the info for the appropriate partition. (cgd) various fixes and improvements to make(1) supplied by Christos Zoulas . (cgd) sparc: support lkm/tun/vn, SYSVSHM, SYSVMSG (deraadt) 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) fairly simple SUNOS_COMPAT sysconf() function (deraadt) netstat 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) fix for symlink-related security hole in lpr. From comp.security.unix. (cgd) update to latest version of rdist(1) from UCB (via uunet). No new security fixes, but general cleanup. (cgd) MAKEDEV cleanup for hp300 and sparc (deraadt) 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 shouldn't croak if -w specified without multi-column mode. fix from John F. Woods . (cgd) fix two bugs in at(1)'s date/time parsing. One of the fixes was from Javier Martin Rueda . (cgd) gprof: added ns32k support files (phil) converted getty 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) gcc2: added arch/ns32k directory with files (phil) sendmail upgraded to version 8.6.7. This fixes a major security hole in v8. Our distribution has also been cleaned up. (glass) 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) various manual page fixes from Luke Mewburn and myself. (cgd) ipcrm rewritten (glass) 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) 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) 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) 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) upgrade 'vi' to the latest version of nvi (1.11) by Keith Bostic, available from ftp.cs.berkeley.edu. (cgd) 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) 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) added hilinfo and grfinfo, from Utah, for the hp300. (cgd) 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) 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) 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) 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) 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 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) added ns32k support to gdb. (phil) getty(8) now uses termios. (pk) add pig(6) to the games suite. (cgd) add getgrouplist() function to libc. (cgd) update id, groups, and whoami. (cgd) update mrouted 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) incorporate new version of libc's rcmd() and related functions. (cgd) 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) update rlogind, rshd, and telnetd to 4.4-Lite versions. (cgd) make fixes from Christos Zoulas which eliminate memory leaks and improper memory accesses (jtc) sh 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) updated chown/chgrp 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) replaced test with version from pdksh, with enhancements and cleanup by me. (jtc) 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) update nvi to version 1.34 from Berkeley, DB to version 1.79, and curses to the latest version. (cgd) 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) 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) add i386 floppy build tools to src/distrib/i386. (cgd) fix building passwd with kerberos4 support. From Michael Graff . (brezak) make zcat be the gzip(1) version, so that it can uncompress .gz's (cgd) fixed sigvec(3) cross-refs in libc, as suggested by Lennart Augustsson (cgd) 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) fixed rmt support in tar. (andrew) added some undocumented rmt(8) options to its man page. (andrew) cleaned up a bunch of bogus pointer casts, etc., in libc. (cgd) fdisk: Enabled `partitioning' of regular files. [mycroft 10/19/94] add a register_t type for every port. (cgd) 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 10/20/94] Made the i386 boot program work when there is no NetBSD partition in the MBR. [mycroft 10/20/94] added adventure(6), boggle(6), phantasia(6) and random(6) from 4.4lite. (jtc) Fixed several bugs in larn(6). [mycroft 10/21/94] Made user-level SCSI commands (SCIOCCOMMAND) work. [mycroft 10/23/94] Made the `ed' driver deal with buggy chips better, and sped it up a bit. [mycroft 10/23/94] got rid of the Xchess sources. (cgd) made send-pr a bit smarter about the 'Release' field. (cgd) added COMPAT_10 option, for NetBSD 1.0 binary compatibility. (cgd) upgraded uucp to version 1.05. From John Kohl. (jtc) Implemented a different (faster) way of entering the kernel for system calls, on the i386. [mycroft 10/25/94] Sped up fts(3) significantly on file systems which don't support link counts (e.g. isofs). [mycroft 10/26/94] Reworked part of the `mcd' driver to make it more reliable. [mycroft 10/26/94] Made fork(2)ing with a user-defined LDT work (and not panic). [mycroft 10/31/94] upgraded diff, diff3, and sdiff to version 2.7. (jtc) 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 11/03/94] Added a driver for ST0[12] and FD8[05]0 SCSI controllers. [mycroft 11/03/94] Updated the i386 port to use config.new(8). [mycroft 11/03/94] Reworked most of the i386 context switching code to make it much faster, especially when the FPU is used. [mycroft 11/06/94] Changed comm(1) to write a diagnostic message to stderr and abort with a non zero exit status on write errors. (jtc) Added a munged version of pdksh's ulimit builtin to sh. (jtc) Changed rm(1) so that trailing newlines are removed in accordance with POSIX.2. (jtc) Fixed skey(1) 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) Fixed structure padding in LFS, so that it's more likely to work. [mycroft 11/17/94] 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 11/20/94] Added -xpg3 and -xpg4 to man macro's .St directive. (jtc) Implemented EIDE multi-sector PIO, DMA, and LBA modes. [mycroft 11/22/94] Fixed memchr(?, ?, 0) return the correct thing (0) on the i386. [mycroft 11/24/94] Added -l option to xstr(1), like in SunOS, that allows user to specify the name of the array. From Jason Thorpe. (jtc). Changed mail(1) to not use fixed length arrays for temporary file names. (jtc) 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) Added a merged man page for pppstats(8) and slstats(8). (glass) Imported GNU bc-1.03 and GNU dc from bc-1.03. (phil) Made /kern/loadavg give a reasonable `scale' number. [mycroft 12/01/94] Made `pccons' more finicky about modifying the cursor. [mycroft 12/01/94] Changed default parameters for newfs(8) to be more appropriate for modern disks. [mycroft 12/01/94] Fixed a couple of problems in the i386 startup code that could cause the machine to reset. [mycroft 12/03/94] Fixed an error in SysV IPC permissions checking that caused spurious EPERM errors in many cases. [mycroft 12/05/94] Made `gdb -k' work for i386. [mycroft 12/05/94] Fixed device handling on cd9660 to not panic. [mycroft 12/05/94] Modified nosys() to return ENOSYS. (cgd) Merged touch, tput, tr, tset, tsort, tty, ul, unifdef, uniq, unvis, and users with 4.4lite. (jtc) Changed users(1) to allocate array containing names of users dynamically. (jtc) Changed who(1) 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 12/11/94] Imported the current union file system from CSRG, along with many related changes. [mycroft 12/14/94] Added a path through the VM system to allow influence of the machine MMU architecture on virtual address mappings. (pk) Made reading from `sb' work again. [mycroft 12/17/94] 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) 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 12/27/94] Fixed many bugs in the SCSI code, and rewrote the autoconfiguration mechanism. [mycroft 12/28/94] Changed window(1), ypbind(8), and named(8) to not use getdtablesize(3), with the intent of deprecating it. [mycroft 12/29/94] Added the lpt driver for the pc532 port. (phil) Changed `ed' and `ie' drivers to use soft configuration. [mycroft 01/02/95] Added the `boca' driver for BOCA multi-port serial boards. [mycroft 01/03/95] Added `-g' option to traceroute(8), to do loose source routing. [mycroft 01/03/95] Enabled LKMs on the hp300. [mycroft 01/05/95] Fixed a race condition when trying to open two IDE disks at the same time. [mycroft 01/05/95] Fixed m68k swab(3) function to not swap twice as much data as specified. [mycroft 01/06/95] Fixed the `pms' probe to work better on many machines. [mycroft 01/07/95] Fixed error in ps(1) that sometimes caused a bogus argument list to be printed. [mycroft 01/07/95] Rewrote kvm_uread(3) to use the machine-independent VM structures, which also fixes a bug that sometimes caused a bogus argument list to be printed. [mycroft 01/09/95] Fixed a mbuf leak when socket options were set. [mycroft 01/11/95] Made the RPC daemons work both when run from inetd and when not. [mycroft 01/13/95] Enabled user-mode alignment checking on the i486, if the user wants it. [mycroft 01/14/95] Added a sum(1) alias for cksum(1), which by default generates the historic BSD output. [mycroft 01/14/95] Fixed ypbind(8) to only daemonize itself after binding to a server the first time. [mycroft 01/15/95] Removed the gratuitous `. in PATH' warnings from sh(1) and csh(1). [mycroft 01/15/95] Added support for serial consoles in the i386 boot, if compiled with `-DSERIAL'. [mycroft 01/15/95] Dealt with SCSI disks that report a block size of 0 by assuming they meant 512. [mycroft 01/16/95] Updated the `ncr' driver from the author. Should improve reliability. [mycroft 01/16/95] Fixed dump(8) to use `/etc/rmt', as all other versions do, and not `rmt'. [mycroft 01/20/95] Removed `.' from the default PATHs in sh(1) and csh(1). [mycroft 01/20/95] Fixed vipw(8) to suspend correctly when it gets a stop signal. [mycroft 01/20/95] Fixed vnconfig(8) to not require a bogus extra argument when using the `-u' option. [mycroft 01/21/95] Fixed the problem with 3c509 cards not being found on a warm boot. [mycroft 01/21/95] Improved performance of the `ie' driver significantly. [mycroft 01/22/95] Fixed a bug in TCP where we might send a FIN too early (often causing files to be truncated by FTP). [mycroft 01/23/95] Add sig{set,long}jmp() for sparc to libc. (pk) change config.new to allow swapping on pseudo-devices. (cgd) 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 01/25/95] Fixed the source file searching commands in GDB. [mycroft 01/26/95] Made the SCSI disk drivers wait for the disc to spin up on open. [mycroft 01/26/95] 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) fix config.new to handle differing values of MAXPARTITIONS. (cgd) Made GDB use PT_GET*REGS and PT_SET*REGS, and removed PT_READ_U and PT_WRITE_U from the kernel. [mycroft 01/26/95] 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) Added prototype for realpath() to . (jtc) Replaced directives in scanf() present for backwards compatibility that conflicted with ANSI. (jtc) Merged libm with fdlibm 5.2. (jtc) upgrade the libc/regex code to the 4.4-Lite version. no real changes, just cruft removal. (cgd) Fixed umount(8) to not treat union mounts as NFS mounts. [mycroft 01/30/95] Made the `-t' option handling in umount(8) and df(1) the same as in mount(8), and cleaned that up a little. [mycroft 01/30/95] Changed scanf() so it handles long doubles. (jtc) Changed worms(6) 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 01/31/95] Fixed problems in `esp' driver when a device attempts sync or wide negotiation. [mycroft 02/01/95] Implemented a first cut at sync negotiation in the `aic' driver. [mycroft 02/01/95] Fixed startup problem on i386 when the BIOS `steals' from the top of convential memory, by rounding down to a page. [mycroft 02/02/95] Made stepping into the signal trampoline in GDB work correctl on the m68k. [mycroft 02/02/95] Fixed several problems in PT_ATTACH and PT_DETACH, most noticably that PT_DETACH would usually cause the child to core dump. [mycroft 02/03/95] Made it safe for user processes to change %gs on the i386. [mycroft 02/04/95] 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 02/05/95] Made fstat(8) deal better with getting bogus data, rather than core dumping. [mycroft 02/14/95] sparc: driver for sun4c floppy device. [pk 2/17/95] Fixed a problem where the `ep' driver would stop getting interrupts under high load. [mycroft 02/18/95] Added experimental netboot code for the hp300, and cleaned up libsa somewhat. [mycroft 02/19/95] Made dump(8) accept getopt(3)-style options, like restore(8), in addition to the old option syntax. [mycroft 02/20/95] Added a machine-independent `twiddler' to libsa. Also made the libsa exec() more useful. [mycroft 02/20/95] Added yppasswd as a link to passwd. (phil) 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) Added preliminary ARCnet support from Ignatios Souvatzis with some local cleanup. (glass) Updated RCS to version 5.6.7.4. [mycroft 02/23/95] Added the machine-dependent code for the NetBSD/Alpha port. (cgd) 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) Updated tcpdump to version 3.0, and imported libpcap 0.0. [mycroft 03/06/95] convert the vnd driver to not use b_pfcent. (cgd) incorporate version of getcwd(3) from bostic that's faster for the common case. (cgd) 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) make newfs output superblock backup numbers after each one is done. (cgd) convert rpcgen to use memset() rather than bzero(). From Luke Mewburn, in pr 841. (cgd) update mtree(8) 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 03/08/95] Reworked the sed(1) parser somewhat so it doesn't throw away commands on a script line after an end of group character. [mycroft 03/09/95] Made the copy*(), bcopy(), and bzero() functions consistently use size_t where appropriate, rather than u_int or u_long. [mycroft 03/09/95] update reboot(8) 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) Fixed the sed `P' and `D' commands. [mycroft 03/15/95] Updated to GNU sort from textutils-1.11, fixes ispell config. From Kenneth Stailey (jtc). incorporated reboot, rcp, rlogin from Lite (cgd) Fixed telnet to not exit until the remote host closes the read side of the connection. [mycroft 03/17/95] Added a `%p' format for kernel printf()s. [mycroft 03/19/95] Fixed fsck(8) to recreate the `..' entry in the root directory if it is missing. [mycroft 03/19/95] Added qabs(), quad_t version of abs() and labs() to libc. (jtc) Added qdiv(), quad_t version of div() and ldiv() to libc. (jtc) Changed *printf() and *scanf() to handle %ll{d,i,o,x} format specificantion for "long long" arguments. (jtc) 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 03/21/95] Enabled the `.bss' directive in gas. [mycroft 03/21/95] Changed many programs to use POSIX signal functions rather than the old BSD functions. [mycroft 03/21/95] upgraded src/games/[a-p]* to Lite versions where necessary, and cleaned up RCS ids, except for 'banner' which glass did. (cgd) Fixed systat(8) to not core dump when an illegal display type is specified. [mycroft 03/22/95] Fixed panic when a BPF user turns off promiscuous mode after the interface is down. [mycroft 03/22/95] Fixed ftpd to to IPTOS_THROUGHPUT for passive mode data connections. [mycroft 03/22/95] Enabled the `noconn' and `resvport' mount options in AMD. [mycroft 03/22/95] fixed things so that kernel stacks no longer need to be double-mapped. (cgd) alpha: kill the double-mapping of the kernel stack (cgd) 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) Added bdes(1) from Lite. Domestic distribution only. (glass) Lightened the sanity checks when mounting a msdosfs file system, to be more compatible. [mycroft 03/27/95] Rewrote most of the `mcd' driver, to be much simpler and faster, and implement most of the CDIOC* ioctls. [mycroft 03/27/95] 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 03/31/95] Made `cp -R' work correctly with FIFOs. [mycroft 04/01/95] Sped up the `ie' driver more. [mycroft 04/03/95] 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 04/07/95] Added a /usr/bin/banner clone, written by Simon J. Gerraty. (cgd) Added a reasonable set of permissions to the open() in rmt(8), in case it's creating a file. [mycroft 04/09/95] 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 04/09/95] 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 04/10/95] Added a vfs_unmountall() function, used to unmount file systems at shutdown time, and enabled its use on i386 and hp300. [mycroft 04/10/95] Centralized z8530 register definitions, and updated drivers to use the new file. XXX Not complete. [mycroft 04/10/95] Removed most of the remaining explicit uses of `loif', by testing the IFF_LOOPBACK bit instead. [mycroft 04/11/95] Centralized dp8390 register definitions. [mycroft 04/11/95] 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 04/12/95] made the netinet code more type size-safe, by using explictly-sized types where appropriate. (cgd) Fixed lpd(8) to reset the group list before exec(2)ing a filter program. [mycroft 04/14/95] Fixed cron(8) to use the `-t' option to sendmail, rather than trying to pass the destination address as an argument. [mycroft 04/14/95] Rewrote part of the m4 expression processor to make it conform better to the original specification. [mycroft 04/14/95] Fixed fifo_open() to allow opening a FIFO with O_RDWR. [mycroft 04/14/95] make to Atari loader correctly identify missing TT-RAM (leo) Took away VAX machine-related definitions from vmstat. (ragge) made config.new understand the 'include' directive from device specification ("files") files. (cgd) add Alpha support to gprof. (cgd) Removed d_reset from cdevsw, and replace d_ttys array with a d_tty callback to get the struct tty pointer. [mycroft 04/19/95] Implemented the documented `-llinfo' flag, and fixed the `-interface' flag, to route(8). [mycroft 04/20/95] Removed the bogus relocation hack for the i386 console buffer from locore, and instead have it done in the console driver. [mycroft 04/21/95] Made the i386 reset routine more robust. [mycroft 04/21/95] Moved the reboot time unmount/sync logic into a machine-independent routine, vfs_shutdown(). [mycroft 04/21/95] Imported quiz, rain, robots, rogue, sail, snake, trek, wargames, worm, worms, and wump from Lite. (that's the last of the games.) [cgd 04/22/95] 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 04/22/95] Make sure that zoneinfo files are installed with correct perms (read-only, by everyone). (fixes PR 984.) [cgd 04/22/95] 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 04/22/95] Made ping(8) exit with non-zero status if no packets received, as suggested by Rens Troost. [cgd 04/22/95] alpha: incorporate changes to src/gnu to make the parts of it used on the alpha work properly. [cgd 04/23/95] 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 4/22/95] version of the 'lorder' script that works with GNU nm added, for the alpha port. [cgd 04/24/95] don't build the a.out tool chain in the source tree on the alpha port. [cgd 04/24/95] 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 04/24/95] atari: fixed write-protect checking on open in the floppy driver. [leo 4/25/95] sparc: use MI audio interface for on-board amd9730 chip; contributed by Rolf Grossmann. [pk 4/25/95] sparc: fast in_cksum() routine from Matthew Green. [pk 4/26/95] applied fix for audio nits from Mike Long (PR#996). [brezak 4/26/95] When using the isa com.c as a serial console, pressing gets you into ddb. [hpeyerl 04/27/95] 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 04/28/95] 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 04/29/95] 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 04/29/95] 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 04/29/95] mac68k: updated nubus code and video/ethernet drivers to match. Improves recognition of more oddball cards and provides better frame for later work. [briggs 04/29/95] m68k: Added sig{set,long}jmp from Henric Jungheim (uhenric@mcl.ucsb.edu) as an outgrowth from port-amiga/1009. [briggs 05/02/95] added a machine-independent for MC146818A RTC chips (and compatibles). Made the i386 use it. [cgd 05/04/95] updated flex to version 2.5.2. [jtc 05/04/95] allow ports to enable swapping individually. define a cpu_swapout() function to handle CPU-specific swapout needs. [cgd 05/05/95] have audio device auto-select mode when in half-duplex when opened. from John Kohl - PR#1006. [brezak 05/05/95] 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 05/08/95] fixed group quota checking, allow anyone to sync quotas. From Mike Karels. [cgd 05/10/95] amiga: removed double mapping of kernel stack (kstack). Now use (new) cpu_set_kpc() and not cpu_set_init_frame() [chopps 05/12/95] fixed syslogd to report correct priorities when sending to remote loghosts. From Jarle Greipsland in pr 1039. [cgd 05/14/95] drop malformed IP fragments, and have netstat print out the number of malformed IP fragments dropped. [cgd 05/14/95] 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 05/31/95] atari/amiga: Added '-f ' flag to iteconfig, you can now also change alternate consoles. [leo 05/31/95] add a way for drivers, etc., to register hooks to be run immediately before shutdown. [cgd 05/31/95] 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 05/31/95] 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 06/01/95] change bsd.man.mk so that if 'make MANZ= install' is done, installed man pages will be gzipped. [brezak 06/01/95] add the if_de.c driver by Matt Thomas for DECchip 21[01]40-based PCI ethernet boards. [cgd 06/04/95] update ARCnet code and Amiga if_bah, with new versions from Ignatios Souvatzis. [cgd 06/06/95] pc532: replace polled NCR scsi driver with Leo's interrupt driven NCR scsi driver. [Phil 06/08/95] sun3: Added native boot blocks for disk and net [gwr 950609] update for rip version 2. Support rip version 2 in routed, and fix tcpdump for the new header. [christos 950620] 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 950620] import and adapt new version of rpcgen(1) from Sun Microsystems TIRPC release [pk 950622] 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 950624] atari: - Definitely use MACHINE_NONCONTIG - Added mouse driver [leo 06/25/95] 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 06/26/95] i386: make kernel crash dumps work. [cgd 06/26/95] cleaned up units conversion macros in all ports' headers. [cgd 06/26/95] i386: actually use the time stored in the file system, if the clock's time isn't sane. [cgd 06/26/95] i386: fill in missing functionality in i386 kvm code. [cgd 06/26/95] 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 950626] pc532: Added shar/man/man4.pc532 and files lpt.4 and plip.4 to man4.pc532. [phil 06/22/95] upgraded termcap database to version 9.7.0. [jtc 950626] renamed the contents of sys/dev/ic to reflect the fact that they're register descriptions. [cgd 06/28/95] added Charles Hannum's mostly-machine-independent am7990 (LANCE) driver to sys/dev/ic. [cgd 06/28/95] removed unused cpu_exec() macro from machine/cpu.h. [cgd 06/28/95] updated getfsstat(2) and statfs(2) manual pages to match current reality. [cgd 06/29/95] 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 06/29/95] added a lint(1) implementation by Jochen Pohl . [cgd 07/03/95] 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 7/6/95] fix bug in load average calculation that prevented processes which were uninterruptibly sleeping for a short period from being counted. [cgd 07/07/95] sparc: move MMU dependent crash dump routines to pmap.c and use MACHINE_NONCONTIG permanently. [pk 07/08/95] sparc: implement KIOC_LAYOUT ioctl for Sun keyboards. [pk 07/08/95] upgraded zoneinfo database to tzdata95e. [jtc 950710] 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 07/08/95] added `screenblank', a screen saver daemon for Sun 3 and SPARC machines. [thorpej 7/11/95] 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 07/12/95] 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 07/12/95] added an SDEV_FORCELUNS quirk to the SCSI quirks table, and added a few more devices with quirks. [cgd 07/12/95] added `eeprom', a program to display or change the contents of the EEPROM or OpenProm on Sun 3 and SPARC systems. [thorpej 7/13/95] sparc: dev/and7930.c change DEBUG --> AUDIO_DEBUG. PR# port-sparc/1241. [brezak 7/19/95] i386: etc/etc.i386/MAKEDEV create mixer device. PR# port-i386/1208. [brezak 7/19/95] added GUS audio driver from John Kohl and Ken Hornstein . [brezak 7/19/95] added dbm_error & dbm_clearerr prototypes to . [jtc 950720] mac68k: Added support for RB_ASKNAME, RB_MINIROOT, and GENERIC. This requires a booter change to 1.8. [briggs 7/23/95] atari: Make kernel-dumps work [leo 07/24/95] atari: Fix keymap handling [leo 07/24/95] 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 07/24/95] added pcnfsd server from Gordon Ross. [jtc 950724] update if_de driver with latest version from Matt Thomas; now supports dc21041-based boards. [cgd 07/24/95] 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 07/24/95] add a bdes(1) dummy script, and the bdes(1) manual page (with a warning), for exportable configurations. [cgd 07/24/95] prototyped physio(), adjusted various users and definers of minphys()-like routines to use its correct defintion. [cgd 07/24/95] 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 07/24/95] imported mvme68k port for motorola VME147 card [chuck 07/25/95] updated get{pw,gr}ent and friends to implement better YP support including exclusions in /etc/passwd. Enhancments by Jason Downs. [phil 07/2?/95] add and document a `kern.rawpartition' sysctl. [thorpej 08/04/95] 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 08/05/95] changed `netstat -r' to show a route's mtu, if set. [thorpej 08/09/95] changed tip to handle zero (space) parity correctly. From Trevor Blackwell (tlb@eecs.harvard.edu). [jtc 950814] 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 08/11/95] 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 08/11/95] 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 08/12/95] new verion of ccd, along with run-time configuration utility and conf.c/MAKEDEV entries for each port. [thorpej 08/17/95] 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 08/18/95] amiga: added a2410 grf and ite driver from Ignatios Souvatzis [chopps 08/18/95] amiga: added Ariadne ethernet driver from Bernd Ernesti [chopps 08/18/95] atari: First Falcon video support from Thomas Gerner [leo 08/20/95] pc532: added changes from Matthias Pfaller to support dumps. [phil 8/24/95] pc532: imported a new method of makeing distributions from Matthias Pfaller. [phil 8/27/95] pc532: added changes to vmstat for pc532 support. [phil 08/27/95] 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 09/01/95] hp300: added new working network boot code. [thorpej 09/01/95] mac68k: Use the atari's machine independent NCR 5380 scsi driver in Pseudo-DMA mode. [briggs 09/02/95] mac68k: Add support for mice that conform to the Extended Apple Mouse Protocol. From Ken Nakata . [briggs 9/3/95] add Intel Etherexpress driver into if_ie.c. Code by Rod Grimes. Merged by Andrew Gillham . Raster Console moved from arch/sparc to dev/rcons. Cleaned up to be machine independent. [pk 09/17/95]. Made system calls conform to a standard prototype and brought those prototypes into scope. [thorpej 09/19/95] hp300: add a standalone disklabel/miniroot-copy/boot program to facilitate initial installation. [thorpej 09/22/95] sparc: new device driver for "xy" Xylogics 450/451 SMD disk controller [chuck 09/25/95] 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 09/26/95] amiga: converted 040 MMU code over to the hp300 style from osymh@gemini.oscs.montana.edu (Michael L. Hitch) [chopps 09/28/95] amiga: added 2232 multi-serial port driver from: Rob Healey , Jukka Marin , Timo Rossi and Zik [chopps 09/29/95] 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 09/29/95] added support for net.inet.tcp sysctl group and sysctl option to enable/disable rfc1323 extensions to TCP. From John Kohl . [thorpej 09/30/95] 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 10/01/95] hp300: added miniroot installation tools. [thorpej 10/03/95] added fsdb(8), an FFS debugging/editing tool, from John Kohl. [thorpej 10/08/95] Changes from NetBSD 1.1 to NetBSD 1.2: added support for Win'95 long filenames to msdosfs. [ws 10/11/95] fixed file descriptor leak in ul. [jtc 11/07/95] changed profiling (gmon.c) so that output can be is controlled by the PROFDIR environment variable. [jtc 11/21/95] incorporated diffs to IP networking code for 64-bit cleanliness. [cgd 11/21/95] changed definition of profil() to be 64-bit friendly. (This has no real effect on 32-bit systems.) [cgd 11/22/95] changed send-pr to handle '&' expansion of user name from password database. [jtc 11/22/95] added spanish language libc message catalog contributed by Jesus M. Gonzalez . [jtc 11/22/95] 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 11/28/95] atari: added support for a separate {prof,stat}clock [leo 12/01/95] atari: now using more functional fpe support [leo 12/01/95] hp300: use "match/attach" rather than "init" routines for probing devices. This is one of the many steps towards using new config. [thorpej 12/02/95] hp300: Added Swedish HIL keymap, submitted by Tomas Tengling . [thorpej 12/06/95] Imported gcc-2.7.2 into src/gnu/sur.bin/gcc. [phil 12/1/95] renamed uuencode.format(5) to uuencode(5). [jtc 12/04/95] integrated version 9.11.5 of termcap database. [jtc 12/04/95] 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 12/07/95] Moved the m68k bcopy, ovbcopy, and memcpy functions out of each port's locore.s and centralized them in m68/m68k/copy.s. [thorpej 12/10/95] 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 12/11/95] Added -Werror to bsd.sys.mk, so programs which use the NetBSD build environment build with -Werror. [cgd 12/12/95] vax: Added support for MicroVAX III (VAX 3600/3800/3900). Walk slowly towards using new config everywhere. 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 12/19/95] started a collection of machine-independent TurboChannel code, to be shared between the pmax and alpha ports. [cgd 12/19/95] fixed strftime's %u format to expand to a single digit. [jtc 12/28/95] applied groff portion of diff in pr#1859. This diff updated for loops to conform to the newer ANSI scoping rules. [chopps 12/29/95] added $mrouted_flags to /etc/netstart and use them in /etc/rc to start mrouted like $routed_flags are used to start routed. [thorpej 12/29/95] added a vnd(4) manual page. [thorpej 12/30/95] fixed libg++ to compile with newer gcc. closed pr#1859 [chopps 12/30/95] added David Jones' new MI NCR5380 driver to sys/dev/ic. [thorpej 01/01/96] 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 01/01/96] fixed identd userid format to conform to RFC1413. Patch from der Mouse in pr#1848 [jtc 01/02/96] vax: Added support for TS11/TSV05 tape drives. Device driver written by Bertram Barth, based on TMSCP code. [ragge 01/06/96] atari: Added nvram driver. [leo 01/06/96] upgraded zoneinfo code to tzcode96a. [jtc 960108] upgraded zoneinfo data to tzdata96a. [jtc 960108] 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 01/07/96] Added copy(9), fetch(9), and store(9) manual pages, based on a suggestion from Kenneth Stailey. [thorpej 01/08/96] Add support for the SMC8416 (EtherEZ) ISA ethernet card. (imported from OpenBSD/FreeBSD) [chuck 01/10/96] Added erase and cache request to MI SCSI tape driver, from John Kohl. [thorpej 01/10/96] isa: added "ahe" driver, autoconfiguration support for ISA/VLB/EISA aic7xxx-based SCSI controllers from Michael Graff. [01/12/96 thorpej] 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 01/13/96] m4: handle multi-character quote and comment delimiters Patch forwarded to Ozan Yigit [pk 01/13/96] 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 01/14/96] 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 01/15/96] netinet: added net.inet.ip.directed-broadcast sysctl, slightly modified from a patch submitted by Darren Reed. [thorpej 01/15/96] msdosfs: Removed '#ifdef atari's. Make mounting the Atari-Gemdos flavour of msdosfs an option passed by mount. [leo 01/19/96] upgraded more(1) to less version 290. note that this also installs as /usr/bin/less now. [mrg 960122] upgraded sendmail to version 8.7.3. [mrg 960122] redesigned z8530 serial driver to make it attach child devices for keyboard, mouse, or plain tty. [gwr 960123] 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 01/30/96] cmp -s no longer complains about missing filess. [mrg 960201] changed names of timespec struct's fields from ts_* to tv_* to conform to POSIX.1b. [jtc 960201] changed quota and rpc.rquotad to use ffs instead of ufs. [jtc 960201] ccd: add experimental data mirroring support, mostly from Satoshi Asami and Nisha Talagala, with some changes by me. [thorpej 02/01/96] added -s flag to syslogd -- 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 960204] mac68k: New, calibrated delay() implementation. [briggs 960203] to be any of the first 32 instead of first 8. [briggs 960211] dump(8) and restore(8) now support $TAPE as the default device. [mrg 960206] vax: Massbus adapter support and Massbus disk support added. (RP04/05/06/07 disks). [ragge 960211] mac68k: Changed partition strategy a bit to allow boot partition to be any of the first 32 instead of first 8. [briggs 960211] hp300: New, better interrupt handling code. Eliminates most hard-coded driver references in locore.s. [thorpej 02/13/96] 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, 02/16/96] Rick Macklems's NFSv3 code from Lite2 brought in [fvdl 021896] Virtual 8086 mode kernel support, library support added to i386 port [mycroft & jtk, 960222] hp300: New console probing code. [thorpej 02/23/96] telnet: updated to telnet-95.10.23 version. src/domestic has the full version with encryption. [jtk, 960224] added better EISA bus autoconfiguration support. Mostly taken from PR 1959. [cgd 960226] Replace config_found() with config_found_sm(), which adds a cfmatch_t to the argument list. This allows easy 'submatching', which will eliminate a fair bit of slightly tricky duplicated code from various busses. config_found() is now a #define in sys/device.h, which invokes config_found_sm(). [cgd 960227] sparc: add support for P4 framebuffers [thorpej 02/27/96] updated sendmail to 8.7.4. [mrg 960228] made ISA and PCI autoconfiguration (match, attach, attachment of subdevices) machine-independent. [cgd 960227] added preliminary support for PCI-PCI bridges. [cgd 960227] sun3: added PMAP_PREFER for performance boost on the Sun3/260 machines. [gwr 960228] atari: The Atari-port now has a NetBSD-bootloader that can be installed in a bootblock. It is now possible to boot into NetBSD directly. [leo 960228] vax: Support for VAX 11/780 - 11/785 added. Device driver for DHU11 serial card, written by Ken Wellsch, added. [ragge 960302] i386: changed autoconfiguration so that isa, eisa, and pci busses attach to mainbus which attaches to root, rather than attaching root directly. [cgd 960303] added _MACHINE and _MACHINE_ARCH to each port's include/param.h. They're like MACHINE and MACHINE_ARCH, but without the quotes. [cgd 960303] scsi: normalized SCSI autoconfiguration messages. [thorpej 03/04/96] i386: added EXTMEM_SIZE kernel option so that people who own machines that lie about the size of extended memory can use the hardware they paid for. [thorpej 03/04/96] amiga: added console driver for the CyberVision64. [veego 960302] mt(1) supports access of remote tapes via rmt(8). [scottr 960305] vax: Support for VAX 8600/8650 cpu types added. [ragge 960307] added a set of interfaces, which live in , which define standard, machine-independent ways to map and access device I/O and memory spaces. [cgd 960308] i386: changed faked-up disklabel to include BIOS partitions in order to allow people to mount DOS partitions on disks with no NetBSD partition. [ghudson 960309] i386/isa: reworked multi-port board interface with 'com' driver so that (among other things), 'flags 1' is no longer necessary for 'com' ports attached to the 'ast' multiport board. Removed understanding of 'flags 1' from com.c. [cgd 960310] pc532: reported pmap.c, removed double mapping, improved copyin copyout, etc. [phil 960214] pc532: moved port to use MI ncr5380 driver. [phil 960311] gnu: imported libg++-2.7.1 [phil 960309] Added the total number of sectors to disklabel's text representation of a label, since calculating based on the geometry isn't always accurate. [ghudson 960314] atari: now uses the MI ramdisk driver. [leo 960314] finished prototyping the mi portion of the kernel. Things to do is fix the _conf.h crud and cleanup the printf() debugging calls. [christos 960314] renamed fdopen() to filedescopen() so that it does not collide with the fdopen() in the floppy driver. [christos 960314] sparc: Prototyped the md portion. The whole sparc kernel compiles cleanly now. [christos 960314] i386: change pms driver to be a child of the "keyboard controller" rather than isa. [thorpej 960315] i386/isa: add MediaVision Jazz16 support for sb driver (jtk) New device attachment scheme. - split softc size and match/attach out from cfdriver into a new struct cfattach. - new "attach" directive for files.*. May specify the name of the cfattach structure, so that devices may be easily attached to parents with different autoconfiguration semantics. Changes to config(8) and kern/subr_autoconf.c from Chris Demetriou . [thorpej 960316] New libkvm/savecore. 1) savecore will not access the dump or live-kernel directly. It will always use the kvm-functions. Allowing it to work on kernels that don't have a 1-1 PA-VA mapping. 2) the kvm-lib has some additional functions to accomplish 1 - kvm_dump_mkheader() - kvm_dump_wrtheader() - kvm_dump_inval() 3) the file formats of the dump generated by the kernel and the dump generated by savecore have been changed. The file format now looks like the format produced for 'normal' core dumps. Ports not yet supporting the new kvm-format will be using libkvm.old/savecore.old for the time being. [leo 960317] config: Add BSDI-style expression support to optional file specifiers. Code mostly taken from the parts of BSDI's 'config' which are freely-distributable (under the LBL/UC Regents license), and adjusted to fit into our version. Instead of simple option lists used to include optional files, you can now use parentheses, &, |, and !. [cgd 960317] telnet: Fix domestic/usr.bin/telnet to use the true host name when IP numvers or CNAMEs are used. [explorer 960322] sys/dev: Convert the ramdisk to a pseudo-device [gwr 960322] sun3: Reworked the autoconfiguration design to allow control over the order of attachment calls on mainbus and obio. This should allow the eventual removal of several hacks to get some devices configured before autoconfig. Also, adapted to (and took advantage of) the new attachment interface by "carving up" the "ie" and "si" drivers. Added drivers for the interrupt register (intreg) and the memory error register (memerr). [gwr 960326] sys/dev/pci: changed the interfaces used by PCI device drivers, to allow more flexibility for the implementation and to make them more portable to 'weird' architectures. Documented to current-users, and will be documented eventually in section 9 manual pages. [cgd 960326] atari: Added centronics printer driver [leo 960327] amiga: Added Emplant SCSI driver by Sean Riddle and Bo Najdrovsky [is 960328] move 'savecore.old' functionality and build back into 'savecore' since most of it was redundant, and to simplify the build process. [cgd 960330] remove redundant 'libkvm.old' files, and fetch them by .PATH from libkvm. [cgd 960401] scsi: Added bew SCSI changer driver and userland controller utility. [thorpej 960402] change 'alldevs' and 'allevents' lists to be TAILQs, rather than home-grown lists. [cgd 960403] change config_found(), config_rootfound(), and config_attach() to return the 'struct device *' of the newly attached device rather than an int (for the former two) or void (for the latter). Change several drivers to take advantage of this, to remove hackish open-coded variants of config_found(). [cgd 960404] added Ian Dall's ieee fp support to pc532 port. [phil 960404] Applied PR 2006 (from me, with some fixes) to rename 'fsck' to 'fsck_ffs', so that in the future 'fsck' can be used as a wrapper to call the correct file system checker. For now, fsck is link to fsck_ffs. [cgd 960404] vax: Added DZ11 serial line drivers. Written by Ken Wellsch. [ragge 960408] sys/dev/eisa: changed the interrupt attachment/detachment interfaces used by EISA device drivers, to allow more flexibility for implementations, to allow interrupt information to be printed more easily, and to remove the direct dependence on the ISA interfaces. [cgd 960409] fixed old fdesc's /dev/tty bug is a named pipe. [mrg 960411] sys/dev/isa, and i386 ISA code: changed interrupt attachment/detachment interfaces to take a machine-dependent-code-supplied cookie, to allow implementations more flexibility when writing these functions. [cgd 960411] amiga: - Many -Wall and -Wstrict-prototypes fixes. - updated CyberVision64 driver, from Michael Teske. - fixed a mbuf problme in the ariadne driver, from Michael L. Hitch and Michael van Elst. - ite no longer forgets keymap on reinit, from teske@mail.desy.de (Michael Teske). [veego 960422] amiga: changed the speed calculations of the builtin serial driver to allow any baudrate the hardware allows, and to forbid two baudrates (50 and 75) which the hardware does NOT support but which the old speed conversion table pretended to support. [is 960423] amiga: made the mainboard mice real devices instead of pseudo-devices. [is 960424] ep driver: split up driver into eisa, isa, and pci front ends, and a bus-independent core driver, taking advantage of the cfattach autoconfiguration code. Driver still needs to be converted to use . [thorpej 960424] pcnfsd: Correct vulnerabilities noted in CERT advisory CA-96.08 [gwr 960424] mvme68k: add scsi driver, new autoconfig/interrupt scheme, new delay(), new disklabel code, switch to MI zs driver. [chuck 960426] sys/sys/socket.h: added #ifndefs to enable options SOMAXCONN=n [neil 960502] updated the version of Berkeley DB in libc to DB 1.85 [cgd 960503] sun3: Implemented kernel crash dumps [gwr 960505] usr.bin/file/magdir: added os9 (OS9 + OS9/68K module patterns) [is 960506] dev/isa: added first version of iy driver (for Intel Etherexpress PRO). Should work for any i82595 ISA board with EEPROM; NETBLK is not supported yet. No multicast support yet. [is 960505] changed struct ifnet to have a pointer to the softc of the underlying device and a printable "external name" (name + unit number), thus eliminating if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)() to take a struct ifnet *, rather than a unit number. [thorpej 960506] LANCE: made the MI LANCE driver standalone, using cfattach to resolve naming conflicts on ports which can have more than one instance of the LANCE. [thorpej 960506] imported x68k port for SHARP X680x0 computer. [oki 960505] sparc: support for sun4m class machines (Classic, LX, SS10, SS20). [pk 960506] changed ECOFF structure members to have their 'normal' names, not names that were picked apparently at random. [cgd 960509] amiga: added DraCo and M68060 support [is 960509] updated systat(1), vmstat(8), and iostat(8) to display disk statistics kept by the NetBSD generic disk framework, from John M. Vinopal . [thorpej 960510] changed message catalog system to use a more efficient machine independent file format. [jtc 960514] add fsck_msdos, a filesystem checker for msdosfs [ws 960514] added getmaxpartitions() and getrawpartition() functions to libutil, and updated appropriate utilities. [thorpej 960515] m68k: imported M68060 software package by Motorola, and added some glue code [is 960516] x68k: imported method of distribution. [oki 960517] hp300: properly calibrate the kernel delay() function. [thorpej 960518] sendmail: upgraded to version 8.7.5. [mrg 960518] amiga: - updated grfcl to support the Piccolo SD64. - added a blank ioctl for the RetinaZ2/Z3. - new graphics driver (grf6) for the oMniBus, Domnio and Merlin, from tabt@studbox.uni-stuttgart.de (Tobias Abt) [veego 960518] Removed GCC 2.4.5 (src/gnu/usr.bin/gcc2) from the source tree, since it's no longer used by any architectures. [cgd 960519] atari: added edahdi, a simple editor to modify partition id's on an AHDI labeled disk [leo 960519] atari: added a miniroot distribution. It is basically the same as the MI-miniroot but because I have only 1Mb to play with, some of the tools (awk,cut,grep,..) didn't fit and the scripts have been rewritten to deal with this. Also added an option to install from a 'normal' (== hd/mo/...) disk partition to allow people to gather the sets using the native OS and mount that parition from the installer. XXX: All of the above changes can (and should) be merged XXX: into the MI-miniroot. [leo 960519] add the if_strip.driver by Jonathan Stone and Stuart Cheshire for the Metricom Ricochet radio [jonathan 960519] update support for the DEC PDQ-based FDDI controllers, including new support for EISA and TurboChannel variants, from Matt Thomas . [thorpej 960519] make tcpdump understand NFSv3 and NFS over TCP [fvdl 960519] mac68k: Change framebuffer configuration to layer grf semantics onto separately attached hardware; this allows greater flexibility in video configuration. [scottr 960519] vi: updated to nvi 1.66 (from Keith Bostic). [mrg 960520] amiga: added support for screenblank program [is 960521] mvme68k: new standalone code [chuck 960528] Changes from NetBSD 1.2 to NetBSD 1.3: Removed locc() from the supported set of machine-independent kernel kernel functions, since it's unused. [cgd 960610] mac68k: rewrite setroot() and friends to allow more flexible root/swap device configuration (including NFS). [scottr 960619] Add support for ATM networks and efficient networks ATM pci and sbus atm cards [chuck 960621] Added my extent map manager; kern/subr_extent.c, sys/extent.h. [thorpej 960622] i386: implement i/o port accounting in bus_io_{,un}map(). [thorpej 960623] hp300: re-vamp boot code. Now, a single unified boot block (SYS_UBOOT) supports booting from SCSI and HP-IB disk and network. Infrastructure for booting from HP-IB tapes is there, but doesn't quite work yet. [thorpej 960626] sparc: added driver for the TCX framebuffer [pk 960626] Add native mode ATM protocol layer (aal0 & aal5) [chuck 960703] Update aic7xxx and the aic driver from FreeBSD, care of pr port-i386/2600 and Noriyuki Soda [explorer 960711] Add compile-time control of autonice time and autonice value using "options AUTONICETIME=sec" and "options AUTONICEVAL=6" in kernel config files. Also, sysctl can be used to tweak these in a running system. See man {3,8} sysctl for more information. [explorer 960717] vax: Added support for: VAX 8200/8250/8300/8350 VAXBI based machines, and KDB50 disk controller. VAXstation 2000/MicroVAX 2000, together with ST506 and SCSI disks and LANCE ethernet. VAXstation 3100/76 with some SCSI support. [ragge 960720] Add AHA-284x VL frontend to ahc driver written by Jason Thorpe. [soda 960805] mac68k: attach the ite to the appropriate grf device, as determined by the booter. [scottr 960805] Slight semantics change to passwd(1) and chpass(1): ALWAYS use YP if the system is bound to a YP server. This is required if the passwd database is to stay in sync if this program is run on the YP server. Note, local passwd database operations can still be performed by passing the -l flag. [thorpej 960809] Added the ypserv suite written by Mats O Jansson, with some changes by me. Changed the way YP daemons are started in /etc/rc. [thorpej 960809] Changed the reboot(2) system call to take (int bootopt, char * bootstr) to allow smarter firmwire the ability to reboot with a string. [mrg 960809] Imported Vernon Schryver's new routed(8) implementation, which understands RIPv1, RIPv2, and ICMP Router Discovery. [thorpej 960809] Fixed disklabel not to display cylinder comments if number of sectors per cylinder is zero. From pr bin/2683. Also deal with syntax errors in a more sane matter. From pr bin/2659. [explorer 960810] Fixed lpr to do less things as root. Fixes pr bin/2597. [explorer 960810] Fixed pppd to not try to delete its pid file if it never created it. Fixes bin/2388 and bin/2551. [explorer 960810] Add ppp(4) and sl(4) man pages. Closes pr bin/2481, kern/2493, and kern/2494. [explorer 960810] Replaced fingerd with an updated one from OpenBSD. This closes some denial of service attacks and adds new features. Fixes pr bin/2456. [explorer 960810] Add panic(9) man page. Fixed pr misc/1342. [explorer 960810] Fix tty baud rate passing in rlogin.c. Closes pr bin/2684. [explorer 960810] Add some very basic lkm stuff to sys/lkm. [explorer 960822] atari: 68040 pmap stuff now works [leo 960823] atari: Don't map the st-io area on a fixed address, let atari_init.c decide the best place. [leo 960823] atari: First steps done for the Hades-port. It boots but has no console or disk devices. [leo 960823] i386: added advanced power management driver. [jtk 960825] Add machine-independent assertion-checking macros (assert, KASSERT, KDASSERT). [cgd 960826] Implement kernel realloc(), just like the user-land version, except it takes "type" and "flags" arguments a la kernel malloc(). [cgd 960827] Change cfprint_t to take a const char *, rather than a char *, since the parent name must not be modified. [cgd 960827] Add IP multicast to ARCnet broadcast mapping, as per RFC 1122, section 3.3.7, and RFC1201. [is 960902] netinet: Added pfil (packet filter) interface, to allow any packet filter to work without kernel modifications. needs options PFIL_HOOKS. [mrg 960905] kern: added getpgid(2) system call, as per SVR4. [mrg 960905] kern: changed reboot(2) system call to take a string of boot commands, to be handled by the machine dependant boot() function. current only the sparc and sun3 ports use this. [mrg 960905] added poll(2) system call. [mycroft 960907] m68k: added exec glue for COMPAT_M68K4K. Modified ld.so to work with any combination of m68k4k/m68k8k libraries and executables. [thorpej 960910] mvme68k: added support for second stat clock (stolen from SPARC port), and use the Bug to determine what sort of CPU we're using. [thorpej 960912] mac68k: Fix floating point support in locore so that the 68LC040 machines make it into the fpe. [scottr 960912] pmax: make remote (serial) consoles work on dc7085 (3100,5000/200) and Personal Decstation scc drivers [jonathan 960817] vm: change pageout to sleep on vm_pages_needed rather than lbolt. stops the well known freeze for N seconds bug. see PR#2755 for a more detailed summary of the problem. change suggested by john dyson. [mrg 960918] Add fsck wrapper code that that takes care of forking the filesystem specific fsck processes efficiently. Cleaned up fsck_ffs and fsck_msdos. [christos 960924] Add cyclades driver from Timo Rossi. [christos 960924] Re-imported Vernon Schryver's new routed(8) [christos 960924] Added kernel support for 64-bit ELF, partially provided by Matt Thomas . [cgd 960926] Added nlist support for 32- and 64-bit ELF. [cgd 960927] Added kvm_mkdb support for ECOFF and 32- and 64-bit ELF. [cgd 960928] installation of sys header files is now done by src/Makefile rather than include/Makefile. [mrg 960930] Add support for directory traversal and symlinks for nfs and 9660 to libsa. [ws 960930] Add support for /var/yp//ypservers, a'la Solaris. From Luke Mewburn . Closes PR #1759. [thorpej 960930] Modified /var/yp/ypservers code, now uses /var/yp/binding/.ypervers. Avoids a conflict with YP server maps. [thorpej 960931] Added kernel core dump support to NetBSD/Alpha. [cgd 961001] Added Alpha kernel core dump support to libkvm. [cgd 961001] Added queue head initializer macros (*_HEAD_INITIALIZER) to queue.h. [cgd 961001] Made EXEC_AOUT and EXEC_SCRIPT no longer mandatory. Changed COMPAT_LINUX, COMPAT_OSF1, COMPAT_SVR4 and COMPAT_ULTRIX so they no longer implicitly pull in executable format support code. [cgd 961002] amiga: add support for DraCo native timer. [is 960930] amiga: use Gordon Ross style delay(), calibrated at clockattach() time (for now). [is 960930] Fix p_nice vs. NZERO code and make p_nice explicitly unsigned. [ws 961002] Import the ISC dhcpd backage, version BETA 5.13. [mrg 961003] Wrote and added rdsetimage(8), a program to set kernel RAM disk images. [cgd 961003] hp300: fix a few of outstanding bugs: - Fix vector table corruption caused by clock interrupt occuring during critical section of code. - Fix ITE/HIL bug which prevented booting directly into DDB on non-serial console machines. - Fix kernel crash dumps. [thorpej 961005] hp300: fix standalone ct driver and rawfs filesystem. SYS_UBOOT can boot off HP-IB tapes now. [thorpej 961006] hp300: add support for copying miniroot image from hpib cartridge tape to the SYS_INST program. [thorpej 961006] Moved to , and updated and appropriately. [cgd 961008] Change {h,n}to{n,h}l to take and return in_addr_t, and {h,n}to{n,h}s to take and return in_port_t. [christos 961012] hp300: New root device detect/set code, lifted mostly from NetBSD/alpha. The "options GENERIC" entry in kernel config files is not longer necessary for "swap generic" kernels.Uses new config constructs which work with some glue in an old config environment. [thorpej 961013] This code will support new config with minimal changes. hp300: in the boot program, set the root device in a sane way, now that the kernel has properly working root device detect/set code. [thorpej 961013] hp300: db_memrw.c that is smart about read-only kernel text, based on a similar module written by Gordon Ross for the sun3 port, modified somewhat by me. [thorpej 961013] hp300: kernel text is now always read-only, and page 0 is invalid. [thorpej 961013] rcs: upgraded to version 5.7. [veego 961015] mac68k: add basic support for 68040 systems. [scottr 961015] Add machine indepent part of support for KGDB via UDP/IP (named IPKDB). [ws 961016] Fix misc/1458, from Simon J. Gerraty : allow the install program to be overridden. sys.mk now defines the variable INSTALL which defaults to "install". Changes Makefiles throughout the system to use the new variable. [thorpej 961017] Implement a -c (Grand Total) option in du(1), a'la GNU du(1). From Luke Mewburn , PR #2805. [thorpej 961018] amiga: add "bznsc" driver, for Blizzard-1230/IV, -1260, -2060. [is 961017] Add diskless boot enhancements (NFSv3 and optionally over TCP), From Matthias Drochner [fvdl 961020] New bus.h implementation/interface: - No more distinction between i/o-mapped and memory-mapped devices. It's all "bus space" now, and space tags differentiate the space with finer grain than the bus chipset tag. - Add memory barrier methods. - Implement space alloc/free methods. - Implement region read/write methods (like memcpy to/from bus space). This interface provides a better abstraction for dealing with machine-independent chipset drivers. [thorpej 961021] eisa/i386: implement eisa_mem_{alloc,free}(), which provides a method for allocating physical address space suitable for programming decoders on memory-mapped EISA devices. [thorpej 961021] add a MNT_NOCOREDUMP/'nocoredump' mount flag/option, which prevents crashing processes from dumping core on file systems with it set. [cgd 961023] restore(8) now uses unique temp files in most cases. [lukem 961024] netinet: change length and offset fields in headers to be unsigned so that we can actually use the max IP packet size. From Kevin M. Lahey [thorpej 961024] netinet: sanity check packet length against IP_MAXPACKET on incoming and outgoing packets, and discard as appropriate. Based on a patch from Bill Fenner Add a `too long' counter to IP stats. [thorpej 961024] change default for nfs mounts to not do a connect on the socket. Add option -C to force a connected mount. Now option -c is still there, but it is the default. Maybe amd should be changed similarly. [christos 961027] ffs: Performance enhangement: When freeing an indirect block, there is no need to write it (synchronously, no less!) before tossing it. From Kirk McKusick . [thorpej 961105] i386 APM: rename APM_NOIDLE option to APM_NO_IDLE, and add an APM_NO_STANDBY option for people with buggy BIOSes that do bad things with standby mode. [cgd 961106] rename remrq() to remrunqueue() for consistency with setrunqueue() (which was renamed from setrq() by Lite). Also, move its prototype from vm/vm_extern.h to sys/proc.h so that it's in the same place as prototypes for related functions. [cgd 961106] make ping(8) handle SIGINFO and print out ping statistics when a SIGINFO is received. [cgd 961106] rlogind(8) now uses .rhosts for root, implements -a (check hostnames), -L (log successful iruserok() auths), and logs unsuccessful iruserok() auths. [lukem 961108] atari Hades: The Hades is now a supported system although driver support is still minimal; only SCSI,PCI-ET4000,floppy and parallel-printer. [leo 961109] sparc: switch to kernel crash dump format as described in . [pk 961110] Implement bitmask_snprintf(), which takes a value and a string representing the names of those bits, prints them into a buffer provided by the caller, and returns a pointer to that buffer. Functionality is identical to that of the (non-standard) `%b' printf() format, which will be deprecated. Also, rename the non-exported function ksprintn() to ksnprintn(), and change it to use a buffer provided by the caller, rather than at static buffer. [thorpej 961112] libutil: added ttyaction.{3,5,c} [gwr 961114] i386: Add code to calculate NKPDE, from cgd. [fvdl 961117] sendmail: upgraded to version 8.8.3. [mrg 961118] Default syslog.conf doesn't send authpriv to anywhere except /var/log/secure, as well as other cleanups. Install the initial logs with sensible permissions. [lukem 961120] finger(1): add -h (show hostnames in short listing), -o (reverse of -h), and cleanup the code. [lukem 961121] pwd_mkdb(8): add -d directory, to override '/'. Inspired by FreeBSD. [lukem 961122] pwd_mkdb(8): print a warning to stderr if a YP inclusion specifies a value of 0 for uid or gid, per discussion on tech-userlevel. [thorpej 961124] ftp(1): add variable sized hash marks, user-friendly transfer time printing (from FreeBSD), -p to switch to passive mode, printing of transfer stats upon receiving SIGINFO, -a for anon autologin (from OpenBSD), autofetch of URL & classic style files (from OpenBSD via thorpej), and other cleanups. [lukem 961125] alpha: added support for the eb164 system type. [cgd 961125] libwrap: added from tcp_wrappers 7.4 distribution. [mrg 961127] inetd: use libwrap and /etc/hosts.{allow.deny}, ala tcpd. [mrg 961127] ftp(1): add "preserve" mode, "lpwd", confirmation overrides ('a' = answer yes to rest of current xfer, 'p' = turn off prompt mode), code cleanups. [lukem 961128] i386: implement PCI-Host (pchb) and PCI-ISA (pcib) bridge drivers for the i386. Attempt to attach the ISA bus to a pcib, if available. [thorpej 961127] fdformat: add floppy diskette formatting program and ioctl command structures [jtk 961129] i386: add support for floppy diskette formatting facility [jtk 961129] Changed MAXBSIZE back to MAXPHYS, per PR #1718. [thorpej 961201] ahc driver: Implemented simple scsi_xfer queueing mechanism to avoid presenting a resource shortage to the upper layer scsi drivers. [thorpej 961201] nfs: Performance improvement from Doug Rabson/FreeBSD. Improve the queuing algorithms used by NFS' asynchronous i/o. The new mechanism uses a queue for each mount point. All asynchronous i/o goes through this queue which preserves the ordering of requests. A simple mechanism ensures that the iods are shared out fairly between active mount points. Reviewed/integrated/approved by fvdl@netbsd.org. [thorpej 961202] nfs: Make NFSSERVER w/o NFSCLIENT work. Fixes PR1308 and PR1780 (Kenneth Stailey and Chris Demetriou, respectively). Fix suggested by Chris Demetriou, and munged a bit by me. [thorpej 961202] i386: Make profiling work for some low-level functions; use in the kernel as well as in userland (from Jonathan Stone) [fvdl 961203] i386: Extend CPU recognition code, and make it more easily extensible for future types. [fvdl 961203] Default syslog.conf now sends authpriv to /var/log/authlog instead of /var/log/secure, as per other systems. Suggested by mycroft. [lukem 961204] sendmail: upgraded to version 8.8.4. [mrg 961204] amd: make it work on the alpha, by beating some 64-bit sense into it. [thorpej 961204] amiga: add a DraCo version of the com.c driver. [is 961204] amiga: add a first version of a bootblock compilable from within NetBSD [is 961204] ftp(1): add progress bar (toggled with "progress"). "ls" is now equivalent to "nlist" not "dir". Parse multi-line SYST/MDTM/SIZE replies correctly, closing [bin/741]. [lukem 961206] hp300: dynamically compute psl values for calls to spl{bio,net,tty,imp}(). [thorpej 961207] lpr: remove all unsafe calls to strcpy(), strcat() and sprintf(). [mrg 961208] lex(1): upgrade to flex 2.5.4. [mikel 961209] scsi: add a max_target member to struct scsi_link, filled in by host adapter drivers to indicate the maximum target they can address. Use this value to dynamically allocate data structures, rather than using a hard-coded value of 8 targets. Allows MI SCSI to deal with targets > 7 now. [thorpej 961210] ls(1): Do multicolumn output in a way that's a little more likely to always line up evenly. From D'Arcy J.M. Cain , PR #2965. [thorpej 961210] df(1): Make df(1) more liberal (and intelligent) about what it accepts as arguments (for -t and -l flags, specifically). From Hubert Feyrer , PR #2869. [thorpej 961210] pcap(3): upgrade to libpcap-0.2.1. [mikel 961213] mac68k: Clean up indirect bus autoconfiguration, and implement NuBus as a direct bus. [scottr 961215] added src/usr.bin/ldd and src/libexec/ld.elf_so, ldd and shared loader for ELF. They need serious work, but they do work on the Alpha. [cgd 961216] atari: add rtc-device. [leo 961216] hp300: Snapshot of new config for NetBSD/hp300. This isn't quite finished yet. We're about 75% there. SCSI and HP-IB are not yet supported in a new config kernel; some autoconfiguration hackery has to be done there, yet. These changes are enough to network boot a diskless kernel. New config glue is enabled with the "NEWCONFIG" kernel option. If that option is not present, an old config kernel will be built. Any kernel configured with config(8) will automatically pick up the NEWCONFIG option from std.hp300. [thorpej 961217] make: Substitution code has been changed to substitute the first pattern on each word, not the first pattern of the first word. S/a/b/1 can be used to get the old behavior. [christos 961223] atari: Add intr_establish/disestablish functions. mail(1): updated to 4.4BSD-Lite2, including a very handy new "inc" command and "autoinc" setting to automatically reread the spool file after every command. [tls 961228] kern: the ramdisk driver `rd' is now called `md'. Files renamed as: sys/dev/ramdisk.{ch} => sys/dev/md.{ch} sys/arch//rd_root.c => sys/arch//md_root.c [pk 961228] inetd: add local-address:port syntax for listening on addresses other than INADDR_ANY. [mouse 970102] kern: incorporated Niklas Hallqvist (niklas@appli.se) fix for vm_object_collapse() ("swap leak"). [mrg 970103] etc: bunch of things are now configurable in {daily,weekly,monthly, security,rc,lkm,ld.so}.conf and other changes, including security fixes and sanity fixes. [mrg 970105] kern: add Darren Reed's ip-filter package to the system. [mrg 970105] ddb: add "onpanic" variable, defaulting to on, overridable at compile time with "DDB_ONPANIC=0" option. If non-zero, DDB will be called upon panic. Export all DDB built-in variables via sysctl. [thorpej 970108] mac68k: probe for CPU type rather than relying on the booter, and clean up 68040 support for most systems. [scottr 970109] mac68k: reimplement get_pte() to avoid doing transparent translation over all function codes, limiting it to FC $1, allowing the Duo 2x0 series to boot. [scottr 970109] added man pages for editline library (-ledit): editline(3) and editrc(5) [lukem 970110] sockets: implement SO_TIMESTAMP socket option; supply a timestamp as a timeval in a control mbuf on datagram reception. [thorpej 970110] netinet: implement IP_RECVIF socket option; supply a datagram's incoming interface as a sockaddr_dl in a control mbuf on datagram reception. Move packet information socket option processing to a generic function so that it works with multicast UDP and raw IP, as well as unicast UDP. Contributed by Bill Fenner [thorpej 970110] update the DEC Tulip driver (pci/if_de.c), supports more tulip-based cards, including new SMC and Kingston cards. From Matt Thomas . [thorpej 970110] x68k: add M68060 and FPU_EMULATE support. [oki 970113] sun3x: initial import of Sun3/80 support. [gwr 970114] add src/sys/lib/libz to the sources, to be used by boot blocks wishing to support booting compressed kernels. [cgd 970115] kern: add isapnp device driver support in dev/isapnp [christos 970116] add strchr() to libkern, copied from libc's index.c but whacked to fit into libkern w/o libc's special strchr()-building rules. [cgd 970117] ftp(1): added editing, context sensitive command and filename completion, auto-fetch of http:// via http (from thorpej, with proxy support added by me), connection caching between auto-fetch requests, support for cd-ing to a location and entering interactive mode, fixing [bin/3011], more code cleanup, and lots more. [lukem 970120] added gzipped-file read capabilities to libsa, and improved libsa's memory allocator. From Matthias Drochner. [cgd 970121] libc/yp: Use a shorter timeout for RPC calls than the upper-layer YP call, allowing for up to 4 RPC retries before the YP call times out. From Michael.Eriksson@era-t.ericsson.se, PR #3117. [thorpej 970121] libc/getgr{nam,gid}: use yp_match() rather than yp_first()/yp_next(). New code is more efficient, and better for busy networks. From Michael.Eriksson@era-t.ericsson.se, PR #3114. [thorpej 970121] add multiple-inclusion protection to most headers. [mikel 970122] added ELF support and ECOFF recognition to crunchide. [cgd 970122] sendmail: upgraded to version 8.8.5. [cjs 970123] Went through entirety of src/lib for potential buffer overruns. Removed almost all use of sprintf/strcat/strcpy. [mrg 970123] x68k: Use new (speed-hacked) Text-Vram framebuffer routine. [oki 970126] libc: Added MD4/MD5 routines, from FreeBSD. [thorpej 970129] cksum(1): Add support for MD5 checksums, partially derived from the FreeBSD "md5(1)" program. [thorpej 970129] ccd: Keep a freelist of component buffer headers, drastically reducing the amount of calls to malloc(). Inspired by a conversation w/ Thor Simon. [thorpej 970129] UFS: add "noatime" mount option, which prevents the access time on files from being updated. Good for news spools. [tls 970129] kill many unconditional #defines in conf/param.c, effectively adding a large number of kernel config options. [tls 970129] hp300: completely cut over to new-style autoconfiguration, and delete config.old (finally!). [thorpej 970130] Change NFSCLIENT -> NFS. We "mount -t nfs", and the vfs ops are "nfs_vfsops". [thorpej 970130] Implement machine-independent mountroothook code, derived from similar code implemented by me in the sparc and x68k ports. This is used to execute a special operation before a device is mounted as root (such as ejecting a floppy, and prompting for a new disk.) [thorpej 970130] Implement a new machine-independent setroot() function, which sets the root/swap device and, optionally, the root file system. "options GENERIC" is obsolete. [thorpej 970130] Implement a new, fault-tolerant vfs_mountroot(), which is capable of determining the root file system type if the operator didn't specify one in the kernel configuration file. Change file system mountroot functions to return errors properly, rather than panic'ing. If the file system can not be mounted, the operator will be prompted for a root device and file system type, or be given the option to halt the system. [thorpej 970130] Change config(8) to support generic vfs_mountroot() and machine-independent setroot(). File systems are now configured with the "file-system" keyword. Kernel configurations must now always specify a root device, which may be wildcarded ("?"). Operator may specify a root file system type, as well. [thorpej 970130] Allow any user to su to root if group 0 exists but has no members. [ghudson 970131] m68k: add copypage() and zeropage() to copy.s, which are optimizes bcopy/bzero functions for aligned NBPG-byte copy/zero operations. Make m68k ports use them consistently, garbage-collecting redundant copies. [thorpej 970201] m68k: add mappedcopy{in,out}() to m68k common code area. These functions use page mapping to speed up large copyin/copyout operations. [thorpej 970201] Profile-driven optimization: don't always define KMEMSTATS. This leads to a significant improvement in the performance of the MALLOC()/FREE() macros, used in many critical paths. [tls/cgd 970201] hp300: implement and use _splraise(). [thorpej 970202] Change config(8) to emit "option headers" for specific options specified in system description files with the "defopt" keyword. Allows dependencies on options to be generated. [thorpej 970202] Convert KMEMSTATS to a header option. [thorpej 970202] mac68k: add basic bus.h interface/implementation. [scottr 970203] Re-imported Vernon Schryver's new routed(8) [christos 970203] hp300: complete rearrangement of the boot code, modeled primarily after NetBSD/alpha's boot code build process. [thorpej 970203] vax: Added DL11 serial line driver. Written by Ben Harris. [ragge 970204] hp300: add support for gzip'd kernels and miniroot images to SYS_UBOOT and SYS_INST. [thorpej 970204] arm32: Overhauled CPU support. CPU functions are now accessed via macros that use function pointers thus allowing CPU's with different cache structures etc to be supported in a single kernel. [mark 970204] Fix malformed callback RPCs and dir eviction in NQNFS, should make it much more reliable [fvdl 970209] Imported lastlogin(8) from John M Vinopal. [phil 970211] sync(2): *all* dirty file data should be written out at sync time, not just data modified with write. This requires ensuring that the VM system does so as well. This fixes a severe bug involving potential data loss with mmap()ed files. [tls/mycroft 970216] mac68k: Complete bus space access implementation. [scottr 970219] Added quirk framework to the SCSI changer driver. [thorpej 970221] net: Allow the routing socket to be opened and listened to by non-superuser. Also allow non-superuser to perform RTM_GET. All other messages require superuser status. At the same time, remove the setuid bit from /sbin/route, since it's no longer needed. [thorpej 970221] arm32: Added drivers for RapIDE32 and ICS IDEA IDE interfaces. [mark 970223] New machine-independent NCR 53c9x driver, derived from the SPARC and Alpha versions. [thorpej 970226] sparc: Converted "esp" driver to use MI 53c9x driver. [thorpej 970226] alpha: Removed "esp" driver, added "asc" driver (name borrowed from Digital UNIX (formerly DEC OSF/1)), which is a front-end to the MI 53c9x driver. [thorpej 970226] atari: Added VME 'bus' code. [leo 970304] amiga: - PicassoIV support - Merlin works now in ZorroIII mode - support for the Domino 16M proto card - other gfx fixes for Interlace, DoubleScan, HiColor, TrueColor and the Memorysizedetction for 1MB Bords [veego 970305] hp300: compute kernel load address differently in boot program; round to 8k. [thorpej 970309] atari: Added driver for Lance based VME-cards (Riebl/PAM/Rhotron) [leo 970310] New spl(9) manpage. [mikel 970311] Imported Vernon Schryver's ping(8) [christos 970311] sparc: Use genassym.cf instead of genassym.c [christos 970312] Imported Paul Mackerras' ppp 2.3b4. Option PPP_FILTER added to both pppd and kernel to enable bpf filtering. [christos 970312] Integrated Qlogic ISP 10x0 driver (for PCI and Sbus), from Matthew Jacob of NASA Ames Research Center. [cgd 970312] Integrated AlphaServer 8200 and 8400 support, from Matthew Jacob of NASA Ames Research Center. [cgd 970312] Make the PCI front-ends for the ahc and bha drivers and the driver back-ends compile and hopefully run (ahc does, bha is untested) on NetBSD/alpha. From Matthew Jacob . [cgd 970312] Make the EISA front-ends for the ahc and bha drivers compile and hopefully run (both are untested) on NetBSD/alpha. [cgd 970312] Move the boot_${ARCH}.8 man pages that were sitting in reboot into man/man8/man8.${ARCH}, and rename to boot.8 -- also updated a bunch of junk, especially in the i386 page. [perry 970312] Rename the etc/mtree/4.4BSD.dist file to NetBSD.dist [perry 970312] Add a SYMLINKS variable to the share/mk/bsd.*.mk files -- does the same thing as LINKS, only symbolically. [perry 970312] Move /bin/rmail to /usr/libexec/rmail -- the make files leave behind a symlink for back compatibility. [perry 970312] New generated kernel include file "locators.h" includes manifest constants for cf_loc[] indexing. [jtk 970313] vax: Standalone le driver written. Now supports diskless workstations [ragge 970315] hp300: use m68k a.out with 8k linker page size, to match other m68k ports. m68k4k is supported for backwards compatibility if the kernel is built with the COMPAT_M68K4K option. [thorpej 970315] hp300/compat_hpux: Do a bit of spring cleaning; separate HP-UX compatibility code from the mainline code, and garbage collect some non-useful bits. [thorpej 970316] m68k: add , which contains common primitive functions implemented in assembler. Place setjmp/longjmp and _insque/_remque there. Convert all m68k locore.s's to use it. [thorpej 970316] net: ARP support for non-Ethernet-style links: Replaced partially by , partially by . struct ifnet has a new member if_sadl, pointer to the link level sockaddr structure. Added AF_ARP, currently only for in-kernel communication. Added ARP support to common MI ARCnet driver (net/if_arcsubr.c). Bumped OS version to NetBSD-1.2D, as you can't mix network drivers from pre-1.2D with 1.2D and later. XXX Some userland stuff (e.g.: rarpd, tcpdump/libpcap) needs more work to support non-Ethernet-style links. Some man 9 pages are not yet written. [is 970316] Imported mopd(8) from Mats O Jansson. [cjs 970316] net: add BSD/OS-style network interface media selection support, implemented by Jonathan Stone and Jason R. Thorpe, with assitance from Matt Thomas. [thorpej 970316] Convert the LANCE driver to use if_media and add support for selecting media types on the Sun4m. [thorpej 970316] Import latest version of the DEC Tulip (de) driver, supports more cards, fixes bugs, supports if_media. From Matt Thomas. [thorpej 970316] Add a driver for the Cabletron SCSI Ethernet interface. From Ian Dall . [thorpej 970317] Update midway ATM driver to support Adaptec 155 PCI ATM cards [chuck 970320] Redefine kern.osrevision sysctl to return value of NetBSD symbol from , not BSD symbol [mikel 970321] amiga: now that ARP is debugged and works over ARCnet, make it the default on the Amiga "bah" interface driver. Add link-time warning if mktemp(), tempnam() or tmpnam() is used; suggest mkstemp() instead. Modify a few programs in the tree to meet this. [lukem 970324] Use reserved ports by default for NFS, check them on each request, and make it controlled by the -noresport option in the exports file [fvdl 970323] Cleanup Makefiles and .mk rules: i) Add SCRIPTS, INCS, FILES rules. ii) Fix DPADD, LDADD inconsistencies. iii) Allow incremental (UPDATE) and forced (BUILD) 'make install'. [christos 970324] Update DEC Tulip ("de") and FDDI code ("pdq" and related front-ends, and generic if_fddi*). From Matt Thomas [thorpej 970325] Move findroot/setroot stuff into the new cpu_rootconf function that is called just before vfs_mountroot so that this code can rely upon tsleep and timeouts [gwr 970326] Update and enhancement to the mbuf code, to support use of non-cluster external storage. Highlights: - additional "void *" argument to (*ext_free)(), an opaque cookie for use by the free function. - MCLALLOC() and MCLFREE() calls are gone. They are replaced by MEXTADD() (add external storage to mbuf), MEXTMALLOC() (malloc() external storage and attach to mbuf), and MEXTREMOVE() (remove external storage from mbuf). - completely new external storage reference counting mechanism; mclrefcnt[] is gone. These changes will eventually be used to pass driver DMA buffers up the network stack, and reduce/eliminate copies in certain code paths (e.g. NFS writes). From Matt Thomas and myself , with some input from Chris Demetriou and review by Charles Hannum . [thorpej 970327] Add -l to ifconfig, which lists all network interfaces with no additional information. [thorpej 970327] amiga: if_ae removed since if_le supports now the Ariadne ethernet card. [veego 970327] PowerPC: add PowerPC changes for libraries, make games and fdisk compile. Mostly from Wolfgang Solfrank [thorpej 970329] ftpd(8): modified to make anonymous uploads more secure. [cjs 970330] atari: Added a wd-driver (no joke ;-) ). [leo 970401] termios(4): Added OCRNL output processing. [kleink 970401] Appletalk networking stack. Code based on netatalk release beta-970220 from toccata.fugue.com. Import based on Ted Lemon's and Bill Studenmund's working copy. [christos 970402] ftp(1): added "page file" (with "more"/"less" synonyms), support for $ftp_proxy [bin/3245], remote globbing in "auto-fetch" arguments. [lukem 970405] ftpd(8): modified to have allow and deny information in /etc/ftpusers and have a `deny by default' facility. Backward compatable with previous /etc/ftpusers files. [cjs 970405] ep(4): Update 3Com Etherlink III to use if_media [jonathan 970307] namei(): "" is no longer a valid file name; handle trailing slashes (e.g., rmdir("dir/")) correctly. [kleink 970408] m68k: factor our regdump() into arch/m68k/m68k/regdump.c and make all ports use it. [thorpej 970409] m68k: factor out several locore.s functions that manipulate processes into arch/m68k/m68k/proc_subr.s and make all ports use it. [thorpej 970409] m68k: New crash dump format that is self-containing, will work with all m68k ports. [thorpej 970409] hp300: use arch/m68k/m68k/sig_machdep.c [thorpej 970409] hp300: use new crash dump format [thorpej 979409] Split off the Linux sound emulation and call it ossaudio (Open Sound System, the new name for VoxWare). Use ossaudio for the FreeBSD emulation too. [augustss 970409] ossaudio: Add mixer emulation. [augustss 970409] alpha: added Digital eb64+/AlphaPC 64 support. [cgd 970410] alpha: fixed several pmap problems (pv_entry allocation lossage, and some 21164-related problems). [cgd 970410] alpha: added an installboot_cd9660(8) command, to install a boot block in an ISO-9660 file system image file. [cgd 970410] upgraded BIND (named, resolver, and include files) to version 4.9.5-P1. [mrg 970413] hp300: Add support for the Apollo Domain keyboard to the boot programs, from Michael Smith miff@spam.frisbee.net.au. [thorpej 970414] Define _PATH_DEFTAPE as "/dev/rst0" in , and convert dump(8), mt(1), restore(8) and tcopy(1) to use it. [lukem 970415] powerpc: Mega-commit. Fix several trap, pmap, and symbol related bugs. Rearrange boot program. From Wolfgang Solfrank, Charles Hannum, Andrew Cagney, and myself. [thorpej 970416] Add several cross-compiling helpers to bsd.sys.mk. Change STRIP -> STRIPFLAG in bsd.own.mk, and update all dependent Makefiles. [thorpej 970416] Allow strip(1) program to be overridden with the STRIP environment variable in install(1). [thorpej 970416] Reorganize the src/gnu/usr.bin/ld: Add arch, common and ld directories [christos 970416] Added finnish language libc message catalog contributed by Jukka Marin . [is 970417] Import xntp3-5.90 from louie.udel.edu. [christos 970418] Add strptime(3) to libc. From Powerdog Industries. [mrg 970421] Fixed many possible buffer overruns in libraries and programs. [mrg 970422] more(1)/less(1): updated to less-321. [mrg 970422] Change _PATH_DEFTAPE to "/dev/nrst0" in (non-rewinding device), as instructed by mycroft. Affects dump(8), mt(1), restore(8), and tcopy(1). [lukem 970415] ifconfig: add -d (only list down interfaces) and -u (only list up interfaces) modifiers to -a and -l. [lukem 970416] m68k: factor out several trap vector routines and make all m68k ports use them. [thorpej 970424] hp300: Serious cleanup of C label handling in assembly code. [thorpej 970424] hp300: Uniquely identify 400, 425, and 433 in the boot program and kernel, and clean up associated code. Identification stuff provided by Mike Smith. [thorpej 970427] compat_hpux: garbage-collect a bunch of hp300-specific stuff, making this probably sharable with the other m68k ports. [thorpej 970427] New DP8390/WD83C690-based Ethernet controller driver, derived from the ISA (i386) and mac68k versions. [scottr 970428] libkern: Added libc's md5 implementation. [thorpej 970429] audio: Changed the interface between the high and low level drivers to make it slimmer and make error checking easier. XXX Pretend that SB cards are of model 1 since the driver for newer cards is broken. [augustss 970430] sparc: add support for floppy controller on sun4m machines. [pk 970502] sparc: bootblocks can be used unmodified across all currently supported architectures. [pk 970504] audio: Convert to new orthogonal audio encoding scheme and implement some of the new encodings. The change to ioctl AUDIO_GETENC is NOT backwards compatible. Add buffer size information audio_info_t and use if for OSS emulation. [augustss 970507] hp300: added support for Apollo APCI UARTs to boot program and kernel, partially from Mike Smith . [thorpej 970511] Store release information in one location; the output of sys/conf/osrelease.sh. Change newvers.sh and various distrib Makefiles to take advantage of this. [lukem 970511] mac68k: Rework NuBus driver to map, probe, and attach (or unmap) NuBus cards using bus.h interface. [scottr 970511] Support $hostname, $domainname, $defaultroute, and $ifaliases_XXX in rc.conf(5) as alternatives to the equivalent files. [lukem 970512] Add two audio utility programs: audioctl and mixerctl. They provide (sysctl inspired) command line access to the audio and mixer devices. [augustss 970513] libc: Make setproctitle use __ps_strings (from crt0) via change to sys/exec.h PS_STRINGS. [gwr 970513] libz: Remove _ZLIB_PRIVATE changes so our libz headers provide the usual typedefs. [gwr 970513] gcc: Imported gcc-2.7.2.1 and updated gcc2netbsd script to include local patches to FSF code. [phil 970513] gcc: Changed version to 2.7.2.2. [phil 970514] add src/lib/libposix to the sources; maintain a libc-style directory structure. [kleink 970518] atari: Added driver for 68901 UART (modem1). The driver has console possibilities (Enable with SERCONS option). rcmd: allow alternative `rsh' methods (eg, ssh). Currently, rdist(1) is the only program to use this. [mrg 070526] Added FreeBSD's "fxp" driver for the Intel EtherExpress PRO 10/100B Ethernet interface, ported to NetBSD by me. Thanks to Matthias Drochner for the testing, and David Greenman for writing it, and feedback on the changes to support NetBSD. [thorpej 970604] dump: allow dumping of subsets of filesystems, support SIGINFO, print statistics after each tape and at completion of dump, display year in 'w' output. [lukem 970605] atari: Fixup 060 support. It's really working now!! [leo 970605] Added FreeBSD's pkg commands (pkg_add, pkg_create, pkg_delete and pkg_info). Also added FreeBSD's libftpio, but in the lib directory under pkg_install. [agc 970605] Implement new vm_page_alloc_memory() and vm_page_free_memory() functions, used to allocate unmapped managed pages conforming to various allocation constraints. [thorpej 970606] Implement new bus dma framework, providing a machine-independent abstraction for DMA mapping. See bus_dma(9) for details. Convert several machine-independent drivers to use new framework. [thorpej 970606] i386: Add support for generic ISA bounce buffers, using new bus dma framework. [thorpej 970606] alpha: Add support for SGMAP-mapped DMA, using new bus dma framework, allowing ISA dma to function. [thorpej 970606] isa: convert isadma.c to be a user of new bus dma framework, and convert all drivers that use it to the new API. [thorpej 970606] New sysctl hw.machine_arch which returns the cpu class of a machine. [veego 970607] Added kernel and userland support for the ext2 file system [bouyer 970611] kernel: new swapping system implemented, with any-time addition of swap devices, at different priorities. Thanks to pk and leo. [mrg 970612] kernel: fix dump device selection in wake of new swap system. Allow greater flexibility in dump device selection, including ability to dump to local disk if root is on nfs. [thorpej 970613] ftpd(8): add support for /etc/ftpd.conf, allowing support for `conversions', displaying and/or notification of certain files when a directory is first entered, amongst other features. Each feature can be controlled on a per class basis (one of: real, chroot, guest, all or none). [lukem 970614] amiga: added a driver for the Amiga custom chip audio hardware, contributed by Stephan Thesing and heavily hacked upon by myself to make it work in -current and in general. Currently, only 8bit precision is supported. [is 970614] vnd: Add full support for disklabels, partitions, and geometry emulation. Update vnconfig(8) to allow geometry to be specified. Closes some vnd-related PRs. [thorpej 970623] xargs: add -0; use NUL instead of whitespace as separator. From OpenBSD. [lukem 970624] Eliminate all use of dtom() in sys/net*. Allows greater flexibility to use mbuf external storage, and improves performance by eliminating m_pullup()'s for clusters in the IP reassembly code. From Koji Imada in PRs #3628 and #3480. [thorpej 970623] Eliminate use of dtom() in the handling of UNIX domain sockets. Since this was the last use of dtom(), purge the dtom() macro from sys/mbuf.h. [thorpej 970624] Disallow SO_SNDBUF, SO_RCVBUF, SO_SNDLOWAT, and SO_RCVLOWAT socket options to have values < 1. Such values to not make sense, so return EINVAL. Inspired by PR #3770, from Havard Eidnes . [thorpej 970624] If the user attempts to set SO_SNDLOWAT or SO_RCVLOWAT socket options greater than the high-water marks for those socket buffers, silently truncate the request to the high-water value, like BSD/OS. [thorpej 970624] Add WebNFS support, per RFC 2054 and 2055. [fvdl 970624] login(1): link statically (PR #1715), prompt for S/Keys in the password prompt if the user has one, and implement -s which can force use of S/Key (PR #3270) [lukem 970625] DDB: Clean up some type-size problems to give DDB a better chance of working on the Alpha. Change the symbol table handling code interfaces slightly to facilitate using other symbol formats (such as ELF, on the Alpha and the MIPS). Fixup the software single-stepping code a bit, to make it work better on the Alpha and MIPS. Single-stepping code partially from Mach 3, the rest from me. [thorpej 970625] mac68k: fix 68LC040 FP exception frame handling, from Kelly Campbell . [scottr 970625] mips: A single kernel can now boot on either mips1 (r2000, r3000) CPUs or mips3 (r4000, r4400 )CPUs. Tested on mips1 and mips3 pmaxes. Partly from Michael L. Hitch [jonathan 1970628] libsa: In exec(), fix ZMAGIC loading, loading of stripped kernels, and allow machine-dependent code to adjust the start address. From Matthias Pfaller . [thorpej 970628] mac68k: use new bus error and address error handlers from the amiga amiga port, slightly optimized and with a generalized method to save the fault address in the case of a bus error. [scottr 970629] DDB: Add support for Elf symbols. [thorpej 970701] su(1): allow definition of SUGROUP to override use of group "wheel" as the group that may 'su root'. [lukem 970702] i386: Add preliminary support for remote KGDB over "com" serial ports. [thorpej 970705] mips: add DDB support for mips with hooks for pica and pmax. No symbol support yet, needs ELF-aware bootblocks. Tested on mips1 and mips3 pmax [jonathan 1970706] amiga: The DraCo real-time clock is now read when booting. [is 970707] amiga: options RTC_OFFSET is now implemented. [is 970707] Bring in Lite2 locking code and apply it in a few places, such as avoiding race conditions in inode allocation. [fvdl 970707] Makefile.port: Generate assym.h dependencies. [leo 970713] Add PlanetConnect Satellite receiver driver by Jason and Herb. [hpeyerl 970713] hp300: use new bus error and address error handlers, lifted from amiga and mac68k ports; they are sharable and more optimal. Vector offsets 8 and 12 now initialized at run-time to the correct handler, before the MMU is enabled. [thorpej 970714] amiga: add glue code for the m68k fpu emulation system. XXX this is known to be broken on 68LC040, 68040V and 68LC060 cpus currently. [is 970715] sendmail: added installation of cf tree to /usr/share/sendmail. [phil 970716] ffs: fix overflow bug in indirect block computation that caused the actual maximum filesize to be much smaller than expected [fvdl 970718] nfs: do not silently truncate files larger than the maximum filesize over nfs. Also deal with servers that fail to provide complete information in fsinfo [fvdl 970718] netns: Make a pass as 64-bit friendliness in sys/netns. [thorpej 970718] nfs: Allow for multiple hosts (through overlapping netgroups, for example) in /etc/exports lines [fvdl 970720] Rewrite trpt(8) to use libkvm. [thorpej 970723] Rewrite trsp(8) to use libkvm. [thorpej 970723] netinet: Implement a compressed state engine for TCP, based on code written by David Borman for BSD/OS. This compressed state engine is currently used to hold state for embryonic TCP connections. Rather than creating a socket/TCB for the incoming SYN, it is placed into the compressed state engine. A TCB is only created once the 3-way handshake has been completed. Among other things, this provides complete protection from "SYN flood attacks" without the need to drop half-open connections. MANY MANY thanks to BSDI for releasing the original code, and to Ted Lemon for doing the initial integration work! [thorpej 970723] alpha: Pass a bootinfo structure from the boot program to the kernel, containing booted kernel name, flags, and symbol table information. Add some additional DDB glue. [thorpej 970724] amd: Imported new am-tools-6.0a8 with support for nfsv3 and tcp. [christos 970724] audio: Change the audio drivers to allow looping DMA. Change the silence handling. Add mmap() of the audio device. [augustss 970727] netinet: Make several patchables tunable via sysctl, inspired by BSD/OS. [thorpej 970728] amiga: new grfconfig mode format [veego 970729] i386: Added support for booting with an msdosfs root by mounting an mfs partition for /dev from init. Changes include addition for msdosfs_mountroot(), changes to init to mount an mfs partition, changes to mount to try to deduce the vfstype in mount -u from statfs. [christos 970729] Added new DEC EtherWORKS III (LEMAC) Ethernet driver: lc0. Supports DEC DE203/DE204/DE205 cards. [matt 970731] libc: now that getnetby*() supports BIND lookups (as opposed to only files), add support for dispatch for via "lookup ..." in /etc/resolv.conf, a'la gethostby*(). [thorpej 970731] netstart: configure lo0 before other interfaces, so the kernel can automagically add a route from the interface to lo0, negating the need for an explicit route per interface. [lukem 970803] Added bus_space(9) which describes the kernel's bus_space_*() functions. [cgd 970813] Implemented `force password change at next login', by setting the pw_change field to -1. Based on [bin/936] by Simon Gerraty . [lukem 970816] audio: Add /dev/audioctl, a device like /dev/sound but which only accepts ioctl() and can be opened at any time. [augustss 970818] ftp(1): support for gate-ftp (TIS fwtk ftp-gate), don't treat "-" and "|..." as special local filenames during mget and get if not specified explicitly. [lukem 970819] audio: Make the audio device attach to the hardware audio drivers in the normal way (not the special magic that was used before). The requires an extra line in the config file to get the sound to work again. [augustss 970820] audio: Minor change in audio_hw_if (again). Improve error handling in the audio driver. Add the AUDIO_PROP_INDEPENDENT property. Add new audio(9) man page. [augustss 970825] Update the "de" driver to Matt Thomas's 970703 version. [thorpej 970825] Update the "fxp" driver to FreeBSD-current-970823. Convert driver to use if_media. [thorpej 970825] XXX Add a drq2 locator for the ISA bus. Many sound cards need two DMA channels to do e.g. full-duplex. This allows a way of specifying the second channel in a sane way. THIS IS TEMPORARY. The drq2 locator will go away when the locator system has been changed to allow multiple values per locator. [augustss 970825] Change ld.so for processing /etc/ld.so.conf internally, rather than relying on /etc/rc to perform this function. From Jim Bernard , PR #4031. [thorpej 970826] Enhancements to calendar(1) from Ty Sarna , allowing user to: - get entries from a file other than "calendar". - get entries for a different date than today. - get entries for a whole week in advance, or only one day. [thorpej 970826] Added a new bus interface machinery sys/dev/scsipi, for use with SCSI and ATAPI devices (derived from sys/scsi). Split sys/dev/isa/wd.c into controller and disk drivers. Added a command queue and ATAPI support on the controller driver [bouyer 970827] mountd: prevent an info-gathering attack by always returning EACCES ("Permission Denied") when the directory doesn't exist or there aren't enough privileges. [lukem 970828] nfs: Add BOOTP support to nfs_mountroot based on contributions from Tor Egge , PR 2351 [gwr 970829] audio: Substantial rewrite of the SB driver to make it do full duplex on an SB16. Because of the braindead design of the SB the input and output have to use different precisions (8 and 16 bits). It is possible to set the driver to use 8 bits on both and it will the emulate 8 bits on the output by expanding it to 16 bits. [augustss 970829] Added a driver ("sm") for the SMC91cxx family of Ethernet chips (including the SMC91c90, 91c92, 91c94, 91c95, and 91c100). This is used for Megahertz PCMCIA Ethernet cards, and several ISA Ethernet cards. This driver is derived from a driver written for FreeBSD by Gardner Buchanan, plus some changes from a NetBSD/amiga driver by Michael Hitch, and some bug fixes and enhancements by me. [thorpej 970901] alpha: add support for DDB, based on such code from Mach 3, initially ported to NetBSD/alpha by Chris Demetriou, then heavily hacked by me. [thorpej 970905] kernel: add minherit system call (from openbsd). [chuck 970908] finger: add -g flag to finger(1) and finger(8). finger -g will not show non-realname gecos information. also, update docmentation for -s; and log the request, as well as the requestor. [mrg 970909] ddb: add a `reboot' command. [scottr 970911] kernel: add code for a more flexible sized message buffer. This closes pr-1891. [ leo 970919] less: updated to version 332. [mrg 970921] ip-filter: updated to version 3.2beta5. [veego 970921] netinet: Fix several annoyances/bugs related to MSS handling in BSD TCP. Split up t_maxseg and the tcp_mss() function, and dynamically compute the max size for tcp_output() on a per-segment basis. [thorpej 970922] mac68k: use the MI miniroot machinery. [scottr 970922] pppd upgraded to 2.3.1, amd upgraded to 6.0a12 [christos 970926] menuc and msgc: Added two little languages for defining a menu system and a message catalog. [phil 970926] added countmail(6) to tell you how much mail you have, obnoxiously. written by mycroft, based on the original countmail from noah friedman. [mrg 971003] kernel: add lchmod, lchown and lutimes. readlink is changed to check read permission. [enami 971003] added hunt(6) from ftp://cgl.ucsf.edu/pub/hunt.shar.Z. [mrg 971004] bind: updated BIND programs to 4.9.6 sources. [mrg 971004] updated from LBL tcpdump (3.4a5), libpcap (0.4a3), and traceroute (1.4a5) [christos 971004] lpr: updated to 4.4BSD-Lite2. also incorporated a large number of security changes obtained from OpenBSD, some from FreeBSD, plus a few local ones as well. [mrg 971005] libc: add lchmod, lchown and lutimes. [enami 971006] audio: add a driver for the GUS PnP card. From Kari Mettinen (Kari.Mettinen@helsinki.fi). [augustss 971006] Integrated sup(1) into the main sources, so that it doesn't have to be tracked separately in order to track NetBSD-current. [thorpej 971006] libc/arm32: Added support for PIC code and shared libraries. [mark 971060] inetd: make several services no longer run as root. [mrg 971007] libexec: import and merge 4.4BSD-Lite2 for all programs. [mrg 970107] Added DIOCGDEFLABEL (get default label) and DIOCCLRLABEL (clear label) ioctls to . Implemented DIOCGDEFLABEL in several disk drivers. [thorpej 971008] restore/pax/tar: restore owner/group/mode/atime/mtime of symbolic links. [enami 971008] sendmail: we now compile smrsh and install it in /usr/libexec. It looks in /usr/libexec/sm.bin. [cjs 971009] added in-kernel random device for generation of secure TCP ISS values and other uses. Exported to userland via /dev/random and /dev/urandom. [explorer 971009] nfs: rewrite directory cookie caching. Replace getdirentries system call by getdents. [fvdl 971010] libc/arm32: Added softfloat support. [mark 971012] nfs: do negative lookup caching [fvdl 971012] Added to contain definitions for termcap(3) functions, and modify various non curses programs to take advantage of this. [lukem 971014] Imported bebox port for BeBox (Be,Inc. computer). arm32: major restructure of the kernel arm32 source files to remove lots of RiscPC/IOMD/VIDC inter-dependancies, making it easier to port to mutliple ARM hardware architectures [mark 971014] Split NE2000 support out of the ISA "ed" driver, and create an "ne" driver to handle multiple attachments for NE2000 compatible cards. Add front-ends for ISA and PCI. [thorpej 971014] ypserv: add support for ``secure'' maps, which aren't served to clients connecting from non-reserved ports. Originally from FreeBSD, but this code is derived that in from OpenBSD. [lukem 971015] Pica: Minimal changes to rename "com" driver to "pcom" driver, to avoid a naming collision with the more heaviliy-used "com" driver which will soon live in sys/dev/ic. [thorpej 971015] x68k: Minimal changes to rename "com" driver to "xcom" driver, to avoid a naming collision with the more heaviliy-used "com" driver which will soon live in sys/dev/ic. [thorpej 971015] ne2000: add ISA Plug-and-Play attachment. [matt 971016] audio: Add libossaudio to make porting Linux audio programs easier. [augustss 971016] Add Marc Horowitz's new PCMCIA framework, with help from from John Kohl, Matt Thomas, Enami Tsugutomo, Bill Sommerfeld, Jason Thorpe, and others. Supports several common PCMCIA devices. [thorpej 971016] arm32: Use com and lpt drivers form sys/dev/ic [mark 971016] arm32: wd driver updated to support ATAPI [mark 971016] libc+kernel: msync() takes a third argument; remove obsolete xdr_{domainname,mapname,peername} from xdryp.c; make __ps_strings extern on setproctitle.c and don't set it to a default when it is NULL; change unvis() argument to an int from a char; move timezone() to libcompat; move swapon() to libcompat move getdirentries() to libcompat change : mode_t: u_int16_t -> u_int32_t nlinks_t: int16_t -> u_int32_t dev_t: int32_t -> u_int32_t libc is now version 12.20 [christos 971016] msdosfs: add support for FAT32 [ws 971017] netinet: add support for path MTU discovery (RFC 1191) [kml 971017] ld: add PIC support for the arm32 port [mark 971017] audio: Make the audio API (almost) SunOS compatible by allowing some more mixer manipulations through the audio device. These changes also simplified audio_hw_if. [augustss 971019] x68k: add support for MK-HA1 Mankai Mach-2 SCSI host adapter. [oki 971019] Update the "fxp" driver from FreeBSD-current. [thorpej 971019] amiga: new graphics driver for the CyberVision64/3D. [veego 971019] ipfilter: updated to version 3.2. [mrg 971031] makewhatis/getNAME: updated makewhatis to use getNAME(8) to find manual NAME entries, rather than costly nroff calls. getNAME now has apropos(1) friendly output. [mrg 971101] Break the 3Com 3c503 support out of the ISA "ed" driver, and create an "ec" driver, front-end to the MI dp8390 driver. [thorpej 971101] Add ifmedia support to the MI dp8390 driver. [thorpej 971101] Break the WD/SMC 80x3, SMC Elite Ultra, and SMC EtherEZ support out of the ISA "ed" driver, and create a "we" driver, front-end to the MI dp8390 driver. [thorpej 971103] Remove the ISA "ed" driver. It is obsolete. [thorpej 971103] build lint libraries correctly (at least on the i386) if NONOLINT is set when building. [cgd 971103] ftpd: add a `checkportcmd ' directive to ftpd.conf. this stops ftp bounce attacks. [mrg 971111] pkg_info: Alter the default behaviour. With no options given, behave as if -Ia was given, instead of showing usage. [hubertf 971113] ipfilter: updated to version 3.2.1. [mrg 971117] games: moved to setgid paradigm. [mrg 971120]