[owc] Weekly src changes ending 2007-09-09
OWC
auto at squish.net
Mon Sep 10 07:00:02 BST 2007
OpenBSD src changes summary for 2007-09-02 to 2007-09-09 inclusive
==================================================================
bin/df bin/ed
bin/ksh bin/pax
bin/systrace distrib/sets
etc/changelist etc/mtree/BSD.local.dist
games/atc games/battlestar
games/factor games/fortune
games/hunt games/primes
games/worms gnu/egcs
gnu/lib/libstdc++ gnu/usr.bin/gcc
include/stdlib.h include/string.h
lib/csu lib/libc
lib/libevent lib/libpcap
lib/libusbhid lib/libutil
libexec/ftpd libexec/ld.so
libexec/spamd libexec/spamd-setup
regress/lib sbin/atactl
sbin/bioctl sbin/ccdconfig
sbin/dhclient sbin/disklabel
sbin/dump sbin/fsck_ext2fs
sbin/fsck_msdos sbin/growfs
sbin/ifconfig sbin/init
sbin/isakmpd sbin/mount
sbin/mount_vnd sbin/raidctl
sbin/restore sbin/route
sbin/umount share/man
sys/arch/alpha/alpha sys/arch/alpha/conf
sys/arch/amd64/amd64 sys/arch/amd64/conf
sys/arch/amd64/stand/biosboot sys/arch/armish/conf
sys/arch/hp300/hp300 sys/arch/hppa/conf
sys/arch/i386/conf sys/arch/i386/i386
sys/arch/i386/include sys/arch/i386/isa
sys/arch/i386/pci sys/arch/i386/stand/biosboot
sys/arch/landisk/conf sys/arch/luna88k/include
sys/arch/mac68k/dev sys/arch/macppc/conf
sys/arch/macppc/macppc sys/arch/mips64/mips64
sys/arch/mvme88k/mvme88k sys/arch/mvmeppc/mvmeppc
sys/arch/powerpc/powerpc sys/arch/sh/include
sys/arch/sh/sh sys/arch/sparc64/conf
sys/arch/sparc64/dev sys/arch/sparc64/fpu
sys/arch/sparc64/include sys/arch/sparc64/sparc64
sys/arch/vax/vax sys/arch/zaurus/conf
sys/dev sys/dev/acpi
sys/dev/cardbus sys/dev/i2c
sys/dev/ic sys/dev/pci
sys/dev/pcmcia sys/dev/raidframe
sys/dev/sdmmc sys/dev/usb
sys/kern sys/net
sys/net80211 sys/netinet
sys/scsi sys/sys
sys/ufs/ffs sys/uvm
usr.bin/asn1_compile usr.bin/at
usr.bin/awk usr.bin/bdes
usr.bin/calendar usr.bin/cdio
usr.bin/cvs usr.bin/dc
usr.bin/file usr.bin/finger
usr.bin/fsplit usr.bin/fstat
usr.bin/ftp usr.bin/grep
usr.bin/indent usr.bin/ipcs
usr.bin/locate usr.bin/make
usr.bin/man usr.bin/midiplay
usr.bin/msgs usr.bin/nc
usr.bin/netstat usr.bin/nm
usr.bin/passwd usr.bin/patch
usr.bin/pmdb usr.bin/pr
usr.bin/rcs usr.bin/rs
usr.bin/rusers usr.bin/sdiff
usr.bin/sendbug usr.bin/spell
usr.bin/split usr.bin/ssh
usr.bin/strip usr.bin/sudo
usr.bin/sup usr.bin/systat
usr.bin/vi usr.bin/window
usr.bin/xargs usr.bin/xinstall
usr.bin/xlint usr.bin/yacc
usr.sbin/cron usr.sbin/dhcrelay
usr.sbin/eeprom usr.sbin/hoststatectl
usr.sbin/hoststated usr.sbin/kvm_mkdb
usr.sbin/lpr usr.sbin/mailwrapper
usr.sbin/memconfig usr.sbin/mrinfo
usr.sbin/ppp usr.sbin/pppd
usr.sbin/pppoe usr.sbin/procmap
usr.sbin/pstat usr.sbin/quot
usr.sbin/repquota usr.sbin/rtsold
usr.sbin/sasyncd usr.sbin/syslogd
usr.sbin/ypserv
== bin =============================================================== 01/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/bin
df
~ df.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
ed
~ undo.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
~ glbl.c
> malloc(n * m) -> calloc(n, m); ok espie (deraadt@)
ksh
~ c_sh.c
> Unsetting a non-existent variable is not an error. See
> http://www.opengroup.org/onlinepubs/009695399/utilities/unset.html
> report from Arkadiusz Miskiewicz; fixed based on
> http://cvs.pld-linux.org diff; ok millert@ fgsch@ (otto@)
~ exec.c
> Call ERR trap _before_ doing exit handling. Otherwise it's too late
> and the ERR trap won't get called at all. ok millert@ (otto@)
~ jobs.c
> Be more smart waiting for input for non-interactive scripts. Fix
> based on a diff from debian: see their bug#296446. ok millert@
> sobrado@ (otto@)
pax
~ tables.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
systrace
~ systrace.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
== distrib =========================================================== 02/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
sets
~ lists/base/md.alpha ~ lists/base/md.amd64
~ lists/base/md.armish ~ lists/base/md.aviion
~ lists/base/md.hp300 ~ lists/base/md.hppa
~ lists/base/md.hppa64 ~ lists/base/md.i386
~ lists/base/md.landisk ~ lists/base/md.luna88k
~ lists/base/md.mac68k ~ lists/base/md.macppc
~ lists/base/md.mvme68k ~ lists/base/md.mvme88k
~ lists/base/md.mvmeppc ~ lists/base/md.sgi
~ lists/base/md.sparc ~ lists/base/md.sparc64
~ lists/base/md.vax ~ lists/base/md.zaurus
~ lists/base/mi ~ lists/comp/mi
~ lists/man/mi
> sync (deraadt@)
~ lists/man/mi
> sync (deraadt@)
== etc =============================================================== 03/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/etc
changelist
~ changelist
> Only send hash of /etc/ipsec.conf if it changes since it can contain
> a pre-shared key
> ok hshoexer@ cloder@ (some time ago) (joel@)
mtree/BSD.local.dist
~ mtree/BSD.local.dist
> add man3f/cat3f directories for fortran man pages
> ok espie@, millert@, jmc@ (steven@)
== games ============================================================= 04/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/games
atc
~ grammar.y
> Some more simple malloc(n * m) -> calloc(n, m) conversions.
> ok deraadt@ (hshoexer@)
battlestar
~ cypher.c
> Move redundant prompt/fgets/sscanf lines into a function with
> appropriate checks, changing sscanf to strtonum in the process.
> Initial diff from Charles Longeau.
> OK moritz and chl. (ray@)
factor
~ factor.c
> use strcspn to properly overwrite '\n' in fgets returned buffer
> ok moritz@ ray@ (chl@)
fortune
~ strfile/strfile.c
> Some more simple malloc(n * m) -> calloc(n, m) conversions.
> ok deraadt@ (hshoexer@)
hunt
~ hunt/list.c ~ huntd/expl.c
> Some more simple malloc(n * m) -> calloc(n, m) conversions.
> ok deraadt@ (hshoexer@)
primes
~ primes.c
> use strcspn to properly overwrite '\n' in fgets returned buffer
> ok moritz@ ray@ (chl@)
worms
~ worms.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
== gnu =============================================================== 05/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/gnu
egcs
~ libstdc++/shlib_version
> crank libc and libstdc++ majors (millert@)
lib/libstdc++
~ shlib_version
> crank libc and libstdc++ majors (millert@)
usr.bin/gcc
~ Makefile.bsd-wrapper
> Add __cxa_atexit() support for gcc3. This provides support for shared
> object destructors called at dlclose() time. Inspired by similar changes
> in FreeBSD and NetBSD. (millert@)
== include =========================================================== 06/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/include
stdlib.h
~ stdlib.h
> add recaloc(3) (millert@)
string.h
~ string.h
> add memrchr(3) (millert@)
== lib =============================================================== 07/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
csu
~ common_elf/crtbegin.c ~ common_elf/crtbeginS.c
> Add __cxa_atexit() support for gcc3. This provides support for shared
> object destructors called at dlclose() time. Inspired by similar changes
> in FreeBSD and NetBSD. (millert@)
libc
~ gen/getnetgrent.c ~ gen/login_cap.c
~ gen/scandir.c ~ gen/setmode.c
~ gen/strtofflags.c ~ net/getprotoent.c
~ net/getservent.c ~ net/rcmdsh.c
~ regex/regcomp.c ~ rpc/pmap_rmt.c
~ stdlib/hcreate.c ~ stdlib/radixsort.c
~ string/bm.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
~ stdlib/malloc.3 ~ stdlib/malloc.c
~ stdlib/Makefile.inc
> add recaloc(3) (millert@)
~ string/memchr.3 ~ string/Makefile.inc
+ string/memrchr.c
> add memrchr(3) (millert@)
~ sys/intro.2 ~ sys/semop.2
~ sys/msgsnd.2 ~ sys/msgrcv.2
~ gen/errlist.c
> Add ENOMSG and EIDRM; from jsg@ (millert@)
~ stdlib/abort.c ~ stdlib/atexit.c
~ stdlib/atexit.h ~ stdlib/exit.c
> Add __cxa_atexit() support for gcc3. This provides support for shared
> object destructors called at dlclose() time. Inspired by similar changes
> in FreeBSD and NetBSD. (millert@)
~ shlib_version
> crank libc and libstdc++ majors (millert@)
~ string/memchr.3
> remove trailing whitespace; (jmc@)
~ stdlib/malloc.3
> Update free(3) section--we use mmap()/munmap(), not brk().
> Based on a diff from Mike Belopuhov. OK jmc@ (millert@)
~ stdlib/malloc.3
> no need to talk about bits; ok millert jmc (deraadt@)
~ gen/getnetgrent.c
> Fix debugging code, which tried to print the netgroup name
> using the return value of _ng_print(), which returns void.
> ok millert@ (moritz@)
~ stdlib/atexit.c
> Add missing header to avoid warning
> ok millert@ ray@ (chl@)
~ locale/setlocale.c
> _xpg4_setrunelocale() returns an errno(2) value in the failure
> case and 0 if the locale was found. So checking against -1 makes
> no sense.
> ok millert@ (moritz@)
~ stdio/fgets.3
> Say NUL when referring to \0 (cloder@)
~ sys/socket.2
> IPv6 is not an ARPA protocol;
> from Robert Elz, netbsd-bugs pr#36933
> ok otto deraadt (jmc@)
~ sys/intro.2
> it's MAXNAMLEN, not MAXNAMELEN; spotted by Igor Zinovi. (otto@)
~ sys/Lint_crt.c
> typo; ok deraadt@ (otto@)
~ sys/Makefile.inc + sys/Lint_environ.c
> Silence erroneous "environ used, but not defined" lint warning by
> providing a stub. ok deraadt@ (otto@)
~ sys/Makefile.inc + sys/Lint_longjmp.c
+ sys/Lint_setjmp.c + sys/Lint_siglongjmp.c
+ sys/Lint_sigsetjmp.c
> Add lint stubs for the longjmp family of functions which are defined in
> assembly on all platforms. ok deraadt@ (otto@)
libevent
~ kqueue.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
libpcap
~ optimize.c ~ pcap.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
libusbhid
~ usage.c
> malloc(n * m) -> calloc(n, m); ok espie (deraadt@)
libutil
~ login_fbtab.c
> comment inside comment (deraadt@)
== libexec =========================================================== 08/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/libexec
ftpd
~ ftpd.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
ld.so
~ ldconfig/prebind.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
spamd
~ sdl.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
spamd-setup
~ spamd-setup.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
== regress =========================================================== 09/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/regress
lib
~ libc/Makefile ~ libc/atexit/atexit_test.c
+ libc/cxa-atexit/Makefile + libc/cxa-atexit/libgd1/Makefile
+ libc/cxa-atexit/libgd1/gd1.C
+ libc/cxa-atexit/libgd1/shlib_version
+ libc/cxa-atexit/libgd2/Makefile + libc/cxa-atexit/libgd2/gd2.C
+ libc/cxa-atexit/libgd2/shlib_version
+ libc/cxa-atexit/test1/Makefile + libc/cxa-atexit/test1/test1.C
> Adapt atexit() regress to recent changes and add __cxa_atexit() regress.
> __cxa_atexit() regress from kurt@ (millert@)
~ libc/regex/main.c ~ libc/regex/split.c
> use strcspn to properly overwrite '\n' in fgets returned buffer
> ok moritz@ gilles@ (chl@)
== sbin ============================================================== 10/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
atactl
~ atactl.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
bioctl
~ bioctl.c
> make bioctl behave like a unix program and exit 1 on error
> ok deraadt, silence dlg marco (henning@)
ccdconfig
~ ccdconfig.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
dhclient
~ dhclient.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
disklabel
~ editor.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
dump
~ main.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
fsck_ext2fs
~ setup.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
fsck_msdos
~ fat.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
growfs
~ growfs.c
> more malloc(n * m) -> calloc(n, m); from Igor Zinovik (deraadt@)
ifconfig
~ ifconfig.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
~ ifconfig.8
> Typos from miod. 'specificed' -> 'specified' in some comments and man page.
> (krw@)
init
~ init.c
> malloc(n * m) -> calloc(n, m); ok espie (deraadt@)
isakmpd
~ ipsec.c ~ pf_key_v2.c
~ sa.c ~ x509.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
~ exchange.c
> more malloc(n * m) -> calloc(n, m); from Igor Zinovik (deraadt@)
mount
~ mount.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
mount_vnd
~ pkcs5_pbkdf2.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
~ Makefile
> remove compat link to /usr/sbin/vnconfig, the program is in /sbin for one
> release now.
> ok deraadt@ todd@ (grunk@)
raidctl
~ raidctl.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
restore
~ interactive.c ~ main.c
~ tape.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
~ tape.c
> check fgets return value
> use sizeof buf instead of TP_BSIZE
> use strcspn to properly overwrite '\n' in fgets returned buffer
> ok moritz@ ray@ (chl@)
route
~ route.c ~ show.c
> Correct the format strings after the recent rt_metrics changes.
> rmx_pksent is not u_int64_t all others are just u_int.
> This is almost the same as in usr.bin/netstat. (claudio@)
umount
~ umount.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
== share ============================================================= 11/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man4/uipaq.4
> Add support for Alltel UTStarcom PPC6700.
> Tested by Sam Fourman Jr. <sfourman at gmail.com> (jsg@)
~ man4/vic.4
> vic works in vmware fusion too (dlg@)
~ man4/Makefile + man4/lmn.4
> driver for i2c lm93 sensor; very common on ipmi machines which have i2c
> bmc's watching on the shared bus. if you disable ipmi, you might see it
> pop up (reminder why ipmi / i2c mixes are disabled: some ipmi's seem to
> violate the i2c bus locking protocol). tested by Alexander Lobodzinski
> (deraadt@)
~ man4/iic.4
> Xr (deraadt@)
~ man4/lmn.4
> remove trailing blank line; (jmc@)
~ man4/lmn.4
> fix date; spotted by jmc (deraadt@)
~ man5/changelist.5
> correct error in diff output; from Thoren McDole (jmc@)
~ man4/Makefile + man4/iwn.4
> new iwn(4) driver for Intel Wireless WiFi Link 4965AGN.
> no support for 802.11n functions yet (need work in net80211(9) first).
> committed over my 4965AGN, with only 2 of 3 antennas plugged :-)
> needs a firmware that is not freely redistributable (see man page).
> ok deraadt@ (damien@)
~ man4/iwn.4
> s/Wi-Fi/WiFi/ since it is how Intel spell it. (damien@)
~ man4/pci.4
> add iwn(4). (damien@)
~ man4/iwn.4
> fix .Nd (damien@)
~ man9/malloc.9
> Document M_ZERO. (art@)
~ man4/iwn.4
> two reasons to put the ultra long URL in a display instead of (the usual)
> .Pa:
> (1) it will stop newer versions of groff complaining
> (2) it avoids line split so you can cut/paste it more easily (jmc@)
~ man4/pci.4
> remove a double "Intel Intel";
> use this commit as an excuse to remove more .Tn sludge; (jmc@)
~ man4/nfe.4
> nfe supports MCP73; diff from brad, confirmed by ckuethe (jmc@)
~ man4/Makefile + man4/adl.4
> adl(4) (kettenis@)
~ man4/iic.4
> Xr adl 4 (deraadt@)
~ man4/ucom.4 ~ man4/usb.4
~ man4/Makefile + man4/uchcom.4
> Driver for WinChipHead CH341/340 USB serial adapters.
> originally written by Takuya SHIOZAKI <tshiozak at netbsd.org>
> Currently untested due to lack of hardware. (jsg@)
~ man4/usb.4
> sort previous; (jmc@)
~ man5/fstab.5
> do not show tcp nfs mounts... somebody might think that would be a good
> thing. From: Maurice Janssen <maurice at z74.net> (henning@)
~ man4/Makefile + man4/thmc.4
> new driver for TI tmhc50 / adm1022 / adm1028; checked by kettenis
> (deraadt@)
~ man4/iic.4 ~ man4/thmc.4
> fix name, Xr (deraadt@)
~ man4/iic.4 ~ man4/thmc.4
> thmc vs tmhc screwup (deraadt@)
== sys =============================================================== 12/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/alpha/alpha
~ vm_machdep.c
> Typos from miod. 'specificed' -> 'specified' in some comments and man page.
> (krw@)
~ pmap.c
> Remove the pv and pte stealing code. Neither art@ and I like it, the
> theoretical gain of it is close to zero, and our moms told us stealing is
> bad. (miod@)
arch/alpha/conf
~ GENERIC
> uchcom(4) has been verified to work by djm@, so add it to all
> USB capable archs. (jsg@)
arch/amd64/amd64
~ bus_dma.c
> Typos from miod. 'functin' -> 'functin' in some comments. (krw@)
~ pmap.c
> Zap the simplelock goo and general cleanup of comments.
> also, theres no need to check first if we're the kernel pmap
> and then if we're the curmap in two different if statements,
> pmap_is_curpmap() check's if we're the kernel pmap, so nuke
> those tests.
> ok art@ (thib@)
arch/amd64/conf
~ GENERIC
> driver for i2c lm93 sensor; very common on ipmi machines which have i2c
> bmc's watching on the shared bus. if you disable ipmi, you might see it
> pop up (reminder why ipmi / i2c mixes are disabled: some ipmi's seem to
> violate the i2c bus locking protocol). tested by Alexander Lobodzinski
> (deraadt@)
~ GENERIC
> new iwn(4) driver for Intel Wireless WiFi Link 4965AGN.
> no support for 802.11n functions yet (need work in net80211(9) first).
> committed over my 4965AGN, with only 2 of 3 antennas plugged :-)
> needs a firmware that is not freely redistributable (see man page).
> ok deraadt@ (damien@)
~ GENERIC
> Add adl(4). Make comments for i2c devices a bit more consistent while I'm
> there. (kettenis@)
~ GENERIC
> uchcom(4) has been verified to work by djm@, so add it to all
> USB capable archs. (jsg@)
arch/amd64/stand/biosboot
~ biosboot.S
> Comment fix. It's 0x7F ELF, not 0xFF ELF. (weingart@)
arch/armish/conf
~ GENERIC
> uchcom(4) has been verified to work by djm@, so add it to all
> USB capable archs. (jsg@)
arch/hp300/hp300
~ autoconf.c ~ mem.c
> use M_ZERO. (martin@)
arch/hppa/conf
~ GENERIC
> uchcom(4) has been verified to work by djm@, so add it to all
> USB capable archs. (jsg@)
arch/i386/conf
~ GENERIC
> driver for i2c lm93 sensor; very common on ipmi machines which have i2c
> bmc's watching on the shared bus. if you disable ipmi, you might see it
> pop up (reminder why ipmi / i2c mixes are disabled: some ipmi's seem to
> violate the i2c bus locking protocol). tested by Alexander Lobodzinski
> (deraadt@)
~ GENERIC
> new iwn(4) driver for Intel Wireless WiFi Link 4965AGN.
> no support for 802.11n functions yet (need work in net80211(9) first).
> committed over my 4965AGN, with only 2 of 3 antennas plugged :-)
> needs a firmware that is not freely redistributable (see man page).
> ok deraadt@ (damien@)
~ GENERIC
> Add adl(4). Make comments for i2c devices a bit more consistent while I'm
> there. (kettenis@)
~ GENERIC
> uchcom(4) has been verified to work by djm@, so add it to all
> USB capable archs. (jsg@)
~ GENERIC
> tmhc has only been seen on i386 (deraadt@)
~ GENERIC
> thmc vs tmhc screwup (deraadt@)
arch/i386/i386
~ machdep.c
> Typos from miod. 'functin' -> 'functin' in some comments. (krw@)
~ powernow-k7.c
> Based upon a diff orignally submitted by devin smith, Do two things run the
> check that the maxfid and the highest reported acpi p_state frequency agree
> only
> after actually getting the acpi p_state. Secondly prefer the legacy
> powernow
> table over ACPI because machines of this vintage of are likely to have
> broken
> ACPI implementations.
> Tested by devin smith and tilo stritzky.
> ok beck@ (gwk@)
~ ipifuncs.c ~ lapic.c
> Remove some left-overs from the TSC based microtime. We don't need
> to synchronize the tsc between CPUs anymore. While here, also remove
> the slow TLB IPI since it's been dead for a while.
> noticed by mickey
> toby@ ok (art@)
~ esm.c ~ i686_mem.c
~ k6_mem.c ~ machdep.c
~ mem.c ~ mpbios.c
~ via.c
> Use M_ZERO in a few more places to shave bytes from the kernel.
> eyeballed and ok dlg@ (art@)
arch/i386/include
~ cpu.h ~ intr.h
~ intrdefs.h
> Remove some left-overs from the TSC based microtime. We don't need
> to synchronize the tsc between CPUs anymore. While here, also remove
> the slow TLB IPI since it's been dead for a while.
> noticed by mickey
> toby@ ok (art@)
arch/i386/isa
~ isa_machdep.c
> Use M_ZERO in a few more places to shave bytes from the kernel.
> eyeballed and ok dlg@ (art@)
arch/i386/pci
~ ichpcib.c
> Modify the heuristic for detection of speedstep to recognize a compatible
> mobile Intel Pentium 3 as found in Dell c610 fixes pr5565.
> ok beck, toby (gwk@)
~ glxsb.c ~ pci_intr_fixup.c
> Use M_ZERO in a few more places to shave bytes from the kernel.
> eyeballed and ok dlg@ (art@)
arch/i386/stand/biosboot
~ biosboot.S
> Comment fix. It's 0x7F ELF, not 0xFF ELF. (weingart@)
arch/landisk/conf
~ GENERIC
> uchcom(4) has been verified to work by djm@, so add it to all
> USB capable archs. (jsg@)
arch/luna88k/include
~ board.h
> Typos from miod. 'sfotware' -> 'software' in some comments. (krw@)
arch/mac68k/dev
~ if_sn.c
> Reset the chip after internal memory exhaustion, makes the driver more
> solid
> with heavy NFS usage. (miod@)
arch/macppc/conf
~ GENERIC
> uchcom(4) has been verified to work by djm@, so add it to all
> USB capable archs. (jsg@)
arch/macppc/macppc
~ dma.c
> Typos from miod. 'functin' -> 'functin' in some comments. (krw@)
~ autoconf.c
> /enet apparently maps to mc0; gwk ok (deraadt@)
arch/mips64/mips64
~ db_machdep.c ~ exception.S
> Typos from miod. 'requiered' -> 'required' in some comments. (krw@)
~ vm_machdep.c
> call savectx() in cpu_fork(), so that the new process can take signals
> correctly in child_return()'s userret(); makes the sys/kern/signal/earlysig
> regression test pass. From a 2.5 years old diff I should have commited much
> earlier. (miod@)
arch/mvme88k/mvme88k
~ bus_dma.c
> Typos from miod. 'functin' -> 'functin' in some comments. (krw@)
arch/mvmeppc/mvmeppc
~ bus_dma.c
> Typos from miod. 'functin' -> 'functin' in some comments. (krw@)
arch/powerpc/powerpc
~ process_machdep.c
> Make sure ptrace(2) cannot change any priviliged bits in the Machine State
> Register. Fixes PR 5574. From Stefan Kempf.
> ok deraadt@ (kettenis@)
arch/sh/include
~ vmparam.h
> Fix typos in comments: soruce -> source (hshoexer@)
arch/sh/sh
~ clock.c
> Fix typos in comments: soruce -> source (hshoexer@)
~ locore_c.c
> Disable page zeroing in the idle loop, as it blasts the entire cache.
> Spotted by kettenis (miod@)
arch/sparc64/conf
~ GENERIC
> uchcom(4) has been verified to work by djm@, so add it to all
> USB capable archs. (jsg@)
arch/sparc64/dev
~ psycho.c
> use M_ZERO.
> input from kettenis@ (martin@)
arch/sparc64/fpu
~ fpu.c
> Make fpproc per-cpu. This turns fpproc into a macro, so adjust fpu/fpu.c
> to avoid collisions. (kettenis@)
arch/sparc64/include
~ ctlreg.h
> Fix a few interrupt dispatch/receive register definitions. (kettenis@)
~ cpu.h
> UltraSPARC CPUs always have an on-chip FPU. There really is no need to
> have
> the code to detect the various FPUs of earlier SPARC V7 and V8 CPUs.
> ok deraadt@, miod@ (kettenis@)
~ cpu.h ~ proc.h
> Make the ast on sparc64 per-process instead of global. Necessary to make
> signal delivery more reliable once we go smp (although the code for that
> is still missing).
> "in principle, this looks good" art@ (kettenis@)
~ sparc64.h
> Add prom functions to start secondary CPUs. (kettenis@)
~ cpu.h
> Make handled_intr_level per-cpu. (kettenis@)
~ cpu.h
> Make fpproc per-cpu. This turns fpproc into a macro, so adjust fpu/fpu.c
> to avoid collisions. (kettenis@)
~ cpu.h ~ param.h
> Add a few missing bits to include/cpu.h required for MULTIPROCESSOR
> kernels. (kettenis@)
arch/sparc64/sparc64
~ machdep.c
> Typos from miod. 'functin' -> 'functin' in some comments. (krw@)
~ cpu.c ~ trap.c
> UltraSPARC CPUs always have an on-chip FPU. There really is no need to
> have
> the code to detect the various FPUs of earlier SPARC V7 and V8 CPUs.
> ok deraadt@, miod@ (kettenis@)
~ cpu.c ~ genassym.cf
~ locore.s ~ machdep.c
~ trap.c
> Make the ast on sparc64 per-process instead of global. Necessary to make
> signal delivery more reliable once we go smp (although the code for that
> is still missing).
> "in principle, this looks good" art@ (kettenis@)
~ ofw_machdep.c
> Add prom functions to start secondary CPUs. (kettenis@)
~ genassym.cf ~ intr.c
~ locore.s
> Make handled_intr_level per-cpu. (kettenis@)
- cpuvar.h ~ emul.c
~ genassym.cf
> Remove some more goo left over from sparc. (kettenis@)
~ cpu.c
> Make fpproc per-cpu. This turns fpproc into a macro, so adjust fpu/fpu.c
> to avoid collisions. (kettenis@)
~ genassym.cf ~ pmap.c
> Add a few missing bits to include/cpu.h required for MULTIPROCESSOR
> kernels. (kettenis@)
arch/vax/vax
~ bus_dma.c
> Typos from miod. 'functin' -> 'functin' in some comments. (krw@)
arch/zaurus/conf
~ GENERIC
> uchcom(4) has been verified to work by djm@, so add it to all
> USB capable archs. (jsg@)
dev
~ sequencer.c
> fix DPRINTFN() abuse
> ok ratchov@ (jakemsr@)
~ ccd.c ~ ksyms.c
~ midisyn.c ~ ramdisk.c
~ softraid.c ~ vnd.c
> more M_ZERO changes
> ok pyr@ and krw@ (gilles@)
~ audio.c
> don't try to set the recording gain or balance through /dev/audio[ctl]
> if the selected recording port is not a port the limited /dev/audio[ctl]
> interface to mixer controls supports.
> ok ratchov@ (jakemsr@)
dev/acpi
~ acpiprt.c
> Fix code that figures out the PCI bus number for a _PRT configuration
> object.
> This should get rid of the "multiple bus 0" problem seen on some machines,
> and fix PCI interrupt routing on them.
> ok marco@ (a while ago) (kettenis@)
~ dsdt.c
> Case ranges e.g. case 'A' ... 'Z': are a gcc-ism not valid C. Fix these,
> and
> a bit of whitespace cleanup while here.
> ok otto, deraadt (gwk@)
dev/cardbus
~ if_rtw_cardbus.c
> Only match on RTL8185 if RTW_DEBUG is set, support for the RTL8185
> was never finished due to a lack of information on the radios.
> ok reyk@ (jsg@)
dev/i2c
~ i2c_scan.c
> Recognize Andigilog aSC7621.
> ok deraadt@ (kettenis@)
~ i2c_scan.c
> there is a prototype version of the lm93 (plus spacing fixes) (deraadt@)
~ files.i2c + lm93.c
> driver for i2c lm93 sensor; very common on ipmi machines which have i2c
> bmc's watching on the shared bus. if you disable ipmi, you might see it
> pop up (reminder why ipmi / i2c mixes are disabled: some ipmi's seem to
> violate the i2c bus locking protocol). tested by Alexander Lobodzinski
> (deraadt@)
~ lm93.c
> fix over-agressive match function, oops (deraadt@)
~ lm93.c
> remove dmesg block showing sample register layout (deraadt@)
~ i2c_scan.c
> probe for adt7462 (no driver yet, someone want to write one), and mention
> a few more sub-types as comments; ok kettenis (deraadt@)
~ lm93.c
> typo; Mike Belopuhov (deraadt@)
~ lm93.c
> negate -12V input value; spotted by Alexander Lobodzinski (deraadt@)
~ lm93.c
> fix copyright; spotted by cnst (deraadt@)
~ lm93.c
> meaningless numbers and strings should not appear in sensor.desc; ok
> deraadt@ (cnst@)
~ files.i2c + asc7621.c
> Enter adl(4), a driver for the Andigilog aSC7621 written by Mike Belopuhov.
> (kettenis@)
~ asc7621.c
> missing scale factor; from Mike Belopuhov (deraadt@)
~ files.i2c + tmhc50.c
> new driver for TI tmhc50 / adm1022 / adm1028; checked by kettenis
> (deraadt@)
- tmhc50.c ~ files.i2c
+ thmc50.c
> thmc vs tmhc screwup (deraadt@)
dev/ic
~ aac.c
> ctob is gone, use ptoa
> tested by ckuethe (martin@)
~ ar5xxx.c
> use M_ZERO (reyk@)
~ mpi.c
> take advantage of the new M_ZERO malloc flag. (dlg@)
~ siop.c ~ trm.c
> The obvious bzero/memset -> M_ZERO changes. (krw@)
~ aic79xx.c ~ aic79xx_openbsd.c
~ aic7xxx.c ~ aic7xxx_openbsd.c
> The obvious bzero/memset -> M_ZERO changes. (krw@)
~ rt2560.c ~ rt2661.c
> use new malloc M_ZERO flag to shrink kernel.
> remove <malloc.h> from files where malloc is not used. (damien@)
dev/pci
~ pcidevs
> Add ENE Memory Stick/SD/SDMMC entries.
> From Alexey Suslikov <alexey.suslikov at gmail.com> (jsg@)
~ pcidevs.h ~ pcidevs_data.h
> regen (jsg@)
~ if_devar.h ~ if_lmcvar.h
> Typos from miod. 'intrrupt' -> 'interrupt' in some comments. (krw@)
~ pcidevs
> Add some more PCI ids for mpi; pointed out by Stephan Eisvogel
> <eisvogel at embinet dot de> (marco@)
~ pcidevs.h ~ pcidevs_data.h
> sync (marco@)
~ mpi_pci.c
> Add more PCI ids; taken from the linux driver. Pointed out by Stephan
> Eisvogel <eisvogel at embinet dot de> (marco@)
~ mpi_pci.c
> unbreak. (mbalmer@)
~ cmpci.c
> __inline removal
> tested on my amd64
> from bret.lambert at gmail.com via art@, thanks (jakemsr@)
~ qlireg.h ~ qli_pci.c
> Add mailbox command handler and "about firmware" command (marco@)
~ qlireg.h
> rename qli_prot_regs to qli_stat_regs to avoid possible confusion with
> qli_port_regs. ok marco@ (davec@)
~ qli_pci.c
> Implement qli_get_fw_state and fix a typo. (marco@)
~ if_rtw_pci.c
> Only match on RTL8185 if RTW_DEBUG is set, support for the RTL8185
> was never finished due to a lack of information on the radios.
> ok reyk@ (jsg@)
~ qli_pci.c
> Implement qli_allocmem and qli_freemem (marco@)
~ qlireg.h ~ qli_pci.c
> Add MBOX debug flag.
> Add enable and disable interrupt functions.
> Make qli_mgmt call qli_intr when cold.
> Add qli_intr skeleton that deals with mbox commands.
> Add mailbox dump command. (marco@)
~ qli_pci.c ~ qlireg.h
> Add nvram read and validate functions. ok marco@ (davec@)
~ sdhc_pci.c
> Don't try disabling bus power before setting the voltage on
> the buggy ENE controller.
> Tested by Alexey Suslikov <alexey.suslikov at gmail.com> who
> pointed out a similiar workaround in Linux.
> ok miod@, nit and ok kettenis@ (jsg@)
~ qli_pci.c
> Shuffle some things around to get rid of #ifdev's (marco@)
~ files.pci + if_iwn.c
+ if_iwnreg.h + if_iwnvar.h
> new iwn(4) driver for Intel Wireless WiFi Link 4965AGN.
> no support for 802.11n functions yet (need work in net80211(9) first).
> committed over my 4965AGN, with only 2 of 3 antennas plugged :-)
> needs a firmware that is not freely redistributable (see man page).
> ok deraadt@ (damien@)
~ if_iwn.c
> disable interrupts coallescing for now.
> it seems to generate way too much interrupts (as reported by vmstat -i)
> and i haven't run with it long enough...
> it isn't needed anyway since we do not yet support HT rates. (damien@)
~ if_iwn.c ~ if_iwnreg.h
> fix temperature sensor. the sensors framework wants muK not degC! (damien@)
~ azalia.c
> Clean up some debug messages and wrap them in DPRINTF. From Alexey
> Suslikov. (deanna@)
~ azalia_codec.c
> Add an unsolicited even handler for the Sigmatel Apple codecs. The
> speakers and line outputs will now mute and unmute depending on
> headphone presence.
> Tested on Macbook, Macbook Pro and Mini by otto@, ajacoutot@, merdely@
> and Darrin Chandler, thanks. (deanna@)
~ ahc_pci.c
> The obvious bzero/memset -> M_ZERO changes. (krw@)
~ if_ipw.c ~ if_iwi.c
~ if_wpi.c ~ if_iwn.c
~ if_nfe.c
> use new malloc M_ZERO flag to shrink kernel.
> remove <malloc.h> from files where malloc is not used. (damien@)
~ if_iwn.c ~ if_iwnreg.h
> make sure the length of the first segment of a Tx descriptor is a multiple
> of 4 by inserting padding bytes when necessary.
> 802.11 QoS headers have a length that is not a multiple of 4. (damien@)
~ if_iwn.c
> properly acknowledge interrupts. this fixes the interrupts storm i was
> seeing with vmstat -i. re-enable interrupts coalescing. (damien@)
~ qli_pci.c
> Set external hw config according to nvram value. (davec@)
~ qlireg.h
> Add nvram external hw config defines. ok marco@ (davec@)
~ qli_pci.c ~ qlireg.h
> Add firmware control block structure. (marco@)
dev/pcmcia
~ if_xe.c ~ pcmcia.c
~ pcmcia_cis.c
> sprinkle some M_ZERO love. (fgsch@)
~ cfxga.c
> more M_ZERO conversions; ok krw at . (fgsch@)
dev/raidframe
~ rf_debugMem.h ~ rf_diskqueue.c
~ rf_engine.c ~ rf_openbsdkintf.c
> The obvious bzero/memset -> M_ZERO changes. (krw@)
dev/sdmmc
~ sdhcvar.h ~ sdhc.c
> Don't try disabling bus power before setting the voltage on
> the buggy ENE controller.
> Tested by Alexey Suslikov <alexey.suslikov at gmail.com> who
> pointed out a similiar workaround in Linux.
> ok miod@, nit and ok kettenis@ (jsg@)
dev/usb
~ usbdevs
> Alltel UTStarcom PPC6700. (jsg@)
~ usbdevs.h ~ usbdevs_data.h
> regen (jsg@)
~ uipaq.c
> Add support for Alltel UTStarcom PPC6700.
> Tested by Sam Fourman Jr. <sfourman at gmail.com> (jsg@)
~ uow.c
> Disable ROM search acceleration for now, it has some issues. (grange@)
~ uts.c
> Return pressure as absolute z axis on ITM touchscreens. Other models
> just return 0 or 1 on this axis, depending on the contact.
> Ok robert@ miod at . (matthieu@)
~ usbdevs
> add Olimex vendor id, couple device ids for usb -> serial jtag interfaces
> and device id for garmin gpsmap 60csx.
> ok jsg@ (fkr@)
~ usbdevs.h ~ usbdevs_data.h
> sync (fkr@)
~ if_ral.c ~ if_rum.c
~ if_zyd.c ~ if_uath.c
~ ueagle.c
> use new malloc M_ZERO flag to shrink kernel.
> remove <malloc.h> from files where malloc is not used. (damien@)
~ files.usb + uchcom.c
> Driver for WinChipHead CH341/340 USB serial adapters.
> originally written by Takuya SHIOZAKI <tshiozak at netbsd.org>
> Currently untested due to lack of hardware. (jsg@)
~ uchcom.c
> Wrap DPRINTFN() macro up in do { } while(0). (jsg@)
~ uaudio.c
> fix uaudio(4) devices using signed mixer controls
> ok jakemsr@, tested by jolan@ with 3 different devices (ratchov@)
~ usbdevs
> device id for the Huaweil Mobile E220 (fkr@)
~ usbdevs.h ~ usbdevs_data.h
> regen (fkr@)
~ hid.c ~ uaudio.c
~ uhidev.c ~ usb_subr.c
~ usbf_subr.c
> more M_ZERO conversions; ok krw at . (fgsch@)
~ uchcom.c
> Properly prefix all functions with driver name. (jsg@)
~ usb_subr.c
> add string length arguments to some functions, and do not copy a string
> buffer to itself; checked by jsg and kettenis and others (deraadt@)
kern
~ subr_log.c
> unsupported ioctl's should be returned with ENOTTY
> not -1;
> ok miod@ (thib@)
~ kern_malloc.c
> Add the long requested M_ZERO flag to malloc(9).
> But the reason for this isn't some kind of "we can make it use the
> pre-zeroed pages and zero the freelist in the idle loop and OMG I can
> has optimisatiuns" which would require tons of infrastructure and make
> everything slower.
> The reason is that it shrinks other code. And that's good.
> dlg@ ok, henning@ ok (before he read the diff) (art@)
~ kern_kthread.c ~ kern_proc.c
~ kern_sysctl.c ~ subr_autoconf.c
~ subr_disk.c ~ sys_generic.c
~ sysv_sem.c ~ sysv_shm.c
~ tty.c ~ tty_nmea.c
~ tty_pty.c ~ tty_subr.c
~ uipc_usrreq.c ~ vfs_init.c
~ vfs_subr.c ~ vfs_syscalls.c
> Use M_ZERO in a few more places to shave bytes from the kernel.
> eyeballed and ok dlg@ (art@)
~ vfs_lookup.c
> Sync description of lookup() a bit more to reality.
> ok thib@ (hshoexer@)
net
~ if_pfsync.c
> Make use of the pfsync 'badval' and 'stale' counters instead of using
> 'badstate' everywhere.
> ok henning@ (joel@)
~ if.h ~ route.h
~ rtsock.c
> Bump RTM_VERSION to 4 and start a new aera of routing in OpenBSD :)
> Changes include 64bit counters instead of u_long, routing table id in the
> header
> of most messages, reserved routing priority field, added a hdrlen field to
> skip
> over the header so that binary compatibility becomes easier.
> A minimal backward support for old binaries is included to ease upgrades
> but
> don't expect anything more than ifconfig, route and dhclient to correctly
> work.
> OK henning@ mglocker@ (claudio@)
~ if_spppsubr.c ~ if_sppp.h
> IPv6 support for sppp layer, based on NetBSD version.
> ok claudio@ (canacar@)
~ if_trunk.c
> With a trunk(4) interface in fail over mode the trunk(4) interface
> will show input errors for packets received from any of the ports that
> are part of a fail over interface but are not the "master" port at the
> time. This fixes the problem by checking the error condition
> correctly.
> From brad at comstyle dot com (reyk@)
~ if_trunk.c ~ if_trunk.h
> bump the copyright while touching these files (reyk@)
~ if_trunk.c
> use M_ZERO (reyk@)
~ rtsock.c
> Check if rtm_hdrlen is smaller then the passed message or it would be
> possible
> to access uninitialised memory.
> Set dst to 0 on error, the error path tries to access dst but dst is inited
> later down the code. This fixes a kernel panic seen by aanriot@
> OK henning@ (claudio@)
~ pf.c
> Do not recalculate TCP payload length in pf_test_rule() as it has
> been cached in pd->p_len.
> ok henning@ markus@ (bluhm@)
~ netisr.h
> we dont need net/rndvar.h since the code that used it has been moved to
> if.c. (dlg@)
~ rtsock.c
> Clear the message header (and only the message header) in rt_msg2.
> By doing so we ensure that all the memory is initialised and we no longer
> have to ensure that none of the structure elements is forgotten in
> sysctl_iflist() and sysctl_dumpentry().
> This solves the route flush issues seen by aanriot@
> OK henning@ (claudio@)
~ rtsock.c
> Only clear the message header if it is called from a sysctl walk. This
> unbreaks RTM_GET. Problem reported by fkr@ (claudio@)
net80211
~ ieee80211_node.c
> use new malloc M_ZERO flag + replace MALLOC with malloc (damien@)
netinet
~ ip_carp.c ~ ip_carp.h
> Make use of the carp preempt counter to signal number of transitions of
> any carp group to master status.
> ok dhartmei@ (joel@)
scsi
~ cd.c ~ ch.c
~ safte.c ~ scsi_ioctl.c
~ ses.c
> The obvious bzero/memset -> M_ZERO changes. (krw@)
sys
~ errno.h
> Add ENOMSG and EIDRM; from jsg@ (millert@)
~ malloc.h
> Add the long requested M_ZERO flag to malloc(9).
> But the reason for this isn't some kind of "we can make it use the
> pre-zeroed pages and zero the freelist in the idle loop and OMG I can
> has optimisatiuns" which would require tons of infrastructure and make
> everything slower.
> The reason is that it shrinks other code. And that's good.
> dlg@ ok, henning@ ok (before he read the diff) (art@)
ufs/ffs
~ ffs_vfsops.c
> Use M_ZERO in a few more places to shave bytes from the kernel.
> eyeballed and ok dlg@ (art@)
uvm
~ uvm_amap.c ~ uvm_aobj.c
~ uvm_stat.h ~ uvm_swap.c
> Use M_ZERO in a few more places to shave bytes from the kernel.
> eyeballed and ok dlg@ (art@)
== usr.bin =========================================================== 13/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
asn1_compile
~ gen_copy.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
at
~ at.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
~ at.c
> Change some variables to their proper type size_t.
> ok millert@ (moritz@)
awk
~ b.c ~ lib.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
bdes
~ bdes.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
calendar
~ calendars/de_DE.ISO_8859-1/calendar.geschichte
> Fix some dates wrt Schleyer and the "Landshut" Lufthansa airplane.
> ok fkr@ (bernd@)
cdio
~ cddb.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
cvs
~ client.c ~ remote.c
> Log all commands sent with cvs_remote_output(), not just
> cvs_client_send_request(). Simplified logging code while at it.
> OK joris@ (tobias@)
~ import.c
> Stick at GNU cvs behaviour by writing "Initial revision" in revision 1.1
> instead of custom log message (which gets written into 1.1.1.1).
> OK joris@ (tobias@)
~ util.c
> Handle quotation marks in .cvsrc correctly.
> OK joris@ (tobias@)
~ client.c ~ server.c
> OpenCVS server init-support with OpenCVS and GNU cvs clients.
> OK joris@ (tobias@)
~ cvs.c ~ fatal.c
~ root.c ~ server.c
> Stick at GNU cvs behaviour with Root directive handling: it does not need
> to be sent first, can occure multiple times (although this is ignored) but
> should be supplied before Directory.
> OK joris@ (tobias@)
~ logmsg.c
> Handle ^D as a)bort in log message question.
> OK joris@ (tobias@)
~ logmsg.c ~ rcsnum.c
~ update.c
> Replaced strlen() with sizeof() - 1 when #define'd strings are used.
> OK ray@ (tobias@)
~ cmd.c ~ cvs.h
~ entries.c ~ util.c
~ util.h
> Removed dead code.
> OK joris@, ray@ (tobias@)
~ client.c ~ server.c
> Do not use global option -V (GNU cvs doesn't understand it), be very
> verbose per default on server-side instead.
> OK joris@ (tobias@)
~ checkout.c ~ client.c
> Added support for single file checkout.
> OK joris@ (tobias@)
~ checkout.c ~ rcs.c
~ update.c
> Sprinkle some magic so checkout/update -p works
> in both local and server mode.
> OK tobias@ (joris@)
~ cvs.c ~ file.c
> Do not fatal if getpwuid() fails, instead ignore user configuration files.
> OK joris@ (tobias@)
~ log.c ~ log.h
~ update.c
> Properly send out rcs info header with "E " in server mode (stderr in
> local mode). Format style change also enables opencvs to be used with
> cvsweb (+ adjustment).
> OK joris@ (tobias@)
~ checkout.c ~ file.c
~ util.c
> Added support for checkout -p with local repository.
> OK joris@ (tobias@)
dc
~ bcode.c
> more malloc(n * m) -> calloc(n, m); from Igor Zinovik (deraadt@)
file
~ magic.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
finger
~ sprint.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
fsplit
~ fsplit.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
fstat
~ fstat.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
ftp
~ stringlist.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
~ main.c
> Replace magic numbers in calls to shutdown(2)
> with their respective defines.
> ok millert@ (moritz@)
grep
~ grep.c ~ grep.h
~ util.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
indent
~ lexi.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
ipcs
~ ipcs.c
> more malloc(n * m) -> calloc(n, m); from Igor Zinovik (deraadt@)
locate
~ locate/util.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
make
~ generate.c
> use calloc() for the sake of regularity, prompted by deraadt@
> Note that I *still* fill every pointer with explicit NULL, for portability.
> filling with 0 bytes is not necessarily the same as NULL pointers. (espie@)
man
~ man.1
> we have man section 3f by default now; (jmc@)
midiplay
~ midiplay.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
msgs
~ msgs.c
> check fgets return value
> use strcspn to properly overwrite '\n' in fgets returned buffer
> with help and ok from moritz@ and ray@ (chl@)
nc
~ atomicio.c ~ atomicio.h
> Synced atomicio implementation in nc and sendbug with ssh.
> OK djm@, joris@, ray@ (tobias@)
netstat
~ inet.c
> Make use of the carp preempt counter to signal number of transitions of
> any carp group to master status.
> ok dhartmei@ (joel@)
~ if.c
> Counters switched to u_int64_t so use %llu to print them.
> Found by and OK mk@ + OK mglocker@ (claudio@)
~ route.c ~ show.c
> Correct the format strings after the recent rt_metrics changes.
> rmx_pksent is not u_int64_t all others are just u_int. (claudio@)
nm
~ elf.c ~ nm.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
passwd
~ passwd.c
> Fix lint warning about unreachable code.
> OK deraadt@ (cloder@)
patch
~ pch.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
pmdb
~ clit.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
pr
~ pr.c
> sizeof char is 1; ok djm (deraadt@)
~ pr.c
> last commit broke the tree because of missing parentheses.
> ok henning@ (moritz@)
rcs
~ ci.c
> strictly check rcsnum_cmp() return against -1.
> fixes a bug in ci -r
> from Pierre Riteau <pierre.riteau at free.fr> via ray@ (niallo@)
~ rlog.1 ~ rlog.c
> Have rlog exit 1 if any of the files could not be opened.
> Don't mention -q flag, which is there for compatibility.
> From Pierre Riteau.
> OK joris for first part, OK niallo and jmc for second. (ray@)
~ rlog.1
> Mention -q in compatibility section.
> OK jmc. (ray@)
~ ident.c
> From Pierre Riteau:
> Sync ident behavior with GNU RCS:
> - return 1 to the shell if any file could not be opened.
> - print an empty line after processing a file unless we couldn't
> open it (and not for the last one).
> OK niallo. (ray@)
rs
~ rs.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
rusers
~ rusers.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
sdiff
~ sdiff.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
sendbug
~ atomicio.c
> Synced atomicio implementation in nc and sendbug with ssh.
> OK djm@, joris@, ray@ (tobias@)
spell
~ spellprog.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
split
~ split.c
> The rewritten newfile() algorithm introduced in rev 1.12 was
> incorrect. This simpler version from Pete Honeyman passes all the
> tests I thow at it. OK deraadt@ some time ago. (millert@)
ssh
~ clientloop.c ~ monitor.c
~ monitor_fdpass.c ~ monitor_fdpass.h
~ monitor_wrap.c ~ ssh.c
> make file descriptor passing code return an error rather than call fatal()
> when it encounters problems, and use this to make session multiplexing
> masters survive slaves failing to pass all stdio FDs; ok markus@ (djm@)
~ ssh.c ~ sshconnect.c
~ sshconnect.h
> make ssh(1)'s ConnectTimeout option apply to both the TCP connection and
> SSH banner exchange (previously it just covered the TCP connection).
> This allows callers of ssh(1) to better detect and deal with stuck servers
> that accept a TCP connection but don't progress the protocol, and also
> makes
> ConnectTimeout useful for connections via a ProxyCommand;
> feedback and "looks ok" markus@ (djm@)
~ ssh-add.c ~ ssh-agent.1
~ ssh-agent.c ~ ssh-keygen.c
> sort synopsis and options in ssh-agent(1); usage is lowercase
> ok jmc@ (sobrado@)
strip
~ strip.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
sudo
~ parse.yacc
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
~ sudoers
> - break "Defaults env_keep" into several lines so it is more readable
> - add OWNER and GROUP to env_keep so that make-plist creates pkg/P* with
> the correct uid/gid (hopefully this would be the last ports related change)
> ok millert@ (ajacoutot@)
~ config.h ~ sudo/Makefile
> OpenBSD now has memrchr(3) (millert@)
- TODO ~ BUGS
~ CHANGES ~ INSTALL
~ Makefile.in ~ aclocal.m4
~ config.guess ~ config.sub
~ configure ~ configure.in
~ ldap.c ~ parse.c
~ parse.lex ~ parse.yacc
~ sudo.c ~ sudo_edit.c
~ sudoers ~ sudoers.pod
~ testsudoers.c ~ version.h
~ visudo.c
> update to sudo 1.6.9p5 (millert@)
~ sudoers
> restore local changes (millert@)
~ configure ~ configure.in
> sync with re-rolled 1.6.9p5 tarball (millert@)
~ configure ~ configure.in
> fix a configure bug introduced in the last commit (millert@)
sup
~ src/scm.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
systat
~ pigs.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
~ if.c
> Cope with if counters being u_int64_t now here, too.
> ok claudio (mk@)
vi
~ cl/cl_read.c ~ ex/ex_script.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
window
~ compress.c ~ wwinit.c
~ wwopen.c ~ wwsize.c
~ xx.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
xargs
~ xargs.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
xinstall
~ xinstall.c
> Missing colon in optsring for 'B'
> From Jan Niemann <jan.niemann at gns-systems.de> (jsg@)
xlint
~ lint1/scan.l ~ xlint/lint.1
> Document NORETURN, add it to the directive list and rearrange the entries.
> ok deraadt at . (fgsch@)
~ xlint/lint.1
> - use a consistent grammatical case for the C comments section
> - remove useless brackets
> - new sentence, new line (jmc@)
~ lint1/mem1.c ~ lint1/func.c
> Fix typos in comments. No code changes (cloder@)
~ lint1/cgram.y ~ lint1/tree.c
> Fix false negatives in dealing with unreachable code after calls to __dead
> functions. Prodded by fgs@, but a different diff than his.
> "Makes sense" fgs@ (cloder@)
yacc
~ skeleton.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
~ skeleton.c
> move back to using malloc() instead of calloc(), because the yacc
> skeleton really should only call malloc/realloc/free, no other external
> APIs at all. theefore, add a pre-check for the overflow case, thus
> protecting realloc too; tested mblamer, ok millert, help from kettenis
> (deraadt@)
== usr.sbin ========================================================== 14/14 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
cron
~ env.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
dhcrelay
~ dispatch.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
eeprom
~ Makefile ~ defs.h
~ eeprom.8 ~ main.c
~ ophandlers.c + optree.c
> add support to print the derivated tree from the OpenPROM (alas devinfo or
> prtconf); ok kettenis at .
> thanks to the various people who helped me test in different sparc*
> machines. (fgsch@)
~ eeprom.8 ~ main.c
> some small cleanup, including standard synopsis/usage and sort options;
> ok fgsch deraadt (jmc@)
~ optree.c
> better printing code, fixing certain properties; reported by kettenis,
> tested by him and Johan Mson Lindman. ok kettenis. (fgsch@)
hoststatectl
~ hoststatectl.c
> simple style change in the switch (reyk@)
~ hoststatectl.8 ~ hoststatectl.c
~ parser.c ~ parser.h
> add a "show sessions" command to dump the complete list of running relay
> sessions. (reyk@)
hoststated
~ relay.c
> support chained ssl certificates; a chain can be added to the
> PEM-encoded server cert file (no CA support yet).
> makes a chained ssl certificate from Comodo work with hoststated, also
> tested with other certs (self-signed, Thawte Premium)
> thanks to ben (pr0ncracker at gmail dot com) (reyk@)
~ relay.c
> small fix in the error path when accepting new relay sessions (reyk@)
~ hoststated.conf.5 ~ parse.y
> Add the ability to specify a host header when using http(s) check methods.
> Prodded by me, done by Gille Chehade <veins at evilkittens.org>
> ok reyk, jmc for the manpage bits. (pyr@)
~ hoststated.h
> increase th maximum string size for the sslciphers from 32 to 768.
> this unbreaks some configurations that worked when sslciphers was a
> dynamic charbuf.
> ok pyr@ (reyk@)
~ hoststated.c ~ hoststated.h
~ parse.y ~ relay.c
> store relay sessions in SPLAY trees instead of TAILQ lists. this will
> be used for faster lookups of sessions based on different criteria.
> ok pyr@ (reyk@)
~ hoststated.conf.5
> add my copyright because i added a lot.
> ok pyr@ (who is the first copyright holder) (reyk@)
~ relay.c
> be extra careful with pointers in session_cmp (reyk@)
~ hoststated.h ~ log.c
~ relay.c
> rename relay_host to print_host in log.c (reyk@)
~ hoststated.h ~ log.c
> add a function to print delays in hours, minutes, and seconds (reyk@)
~ parse.y
> store the table's port as the relay's dstport (reyk@)
~ hoststated.h
> remove unused flags field from the structure (reyk@)
~ control.c ~ hoststated.h
~ pfe.c ~ relay.c
> add an interface to dump running relay sessions to the control socket
> (reyk@)
kvm_mkdb
~ nlist.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
lpr
~ common_source/common.c ~ lpd/lpd.c
~ lpd/printjob.c ~ pac/pac.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
mailwrapper
~ mailwrapper.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
memconfig
~ memconfig.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
mrinfo
~ mrinfo.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
ppp
~ ppp/route.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
pppd
~ main.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
pppoe
~ client.c ~ server.c
> malloc(n * m) -> calloc(n, m); ok espie (deraadt@)
procmap
~ procmap.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
pstat
~ pstat.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
~ pstat.c
> malloc(n * m) -> calloc(n, m); ok espie (deraadt@)
quot
~ quot.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
repquota
~ repquota.c
> Fix use of arguments in usage().
> ok winiger (mbalmer@)
rtsold
~ rtsol.c
> unexpeced -> unexpected;
> from Wouter Schoot, netbsd-bugs #36931 (jmc@)
sasyncd
~ pfkey.c
> use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
> (deraadt@)
syslogd
~ syslogd.c
> Initialize length variable slen properly to avoid possible EINVAL
> errors from setsockopt(2) in function double_rbuf().
> ok markus@ mpf@ (bluhm@)
ypserv
~ mkalias/mkalias.c
> Use err(3) functions. input and ok millert. (fgsch@)
~ mkalias/mkalias.c
> use memrchr; ok millert at . (fgsch@)
===============================================================================
More information about the owc
mailing list