[owc] Weekly src changes ending 2007-01-07
OWC
auto at squish.net
Mon Jan 8 07:17:27 GMT 2007
OpenBSD src changes summary for 2006-12-31 to 2007-01-07 inclusive
==================================================================
distrib/sets etc/etc.landisk/MAKEDEV
etc/etc.landisk/MAKEDEV.md etc/hostapd.conf
etc/mtree/4.4BSD.dist etc/rc
etc/rc.conf gnu/usr.bin/binutils
gnu/usr.bin/gcc lib/libpcap
lib/libssl libexec/spamd
libexec/spamlogd regress/sbin
sbin/brconfig sbin/dhclient
sbin/ipsecctl sbin/nmeaattach
sbin/sysctl share/man
share/mk sys/arch/amd64/stand/boot
sys/arch/amd64/stand/cdboot sys/arch/amd64/stand/libsa
sys/arch/amd64/stand/pxeboot sys/arch/hp300/conf
sys/arch/hp300/dev sys/arch/hp300/hp300
sys/arch/hp300/include sys/arch/i386/pci
sys/arch/i386/stand/boot sys/arch/i386/stand/cdboot
sys/arch/i386/stand/libsa sys/arch/i386/stand/pxeboot
sys/arch/mac68k/dev sys/arch/macppc/dev
sys/arch/sparc64/conf sys/arch/sparc64/sparc64
sys/dev sys/dev/acpi
sys/dev/i2c sys/dev/ic
sys/dev/isa sys/dev/microcode
sys/dev/mii sys/dev/pci
sys/dev/usb sys/dev/wscons
sys/kern sys/lib/libsa
sys/miscfs/procfs sys/netinet
sys/scsi sys/sys
sys/ufs/ffs usr.bin/cvs
usr.bin/make usr.bin/rcs
usr.bin/ssh usr.bin/top
usr.sbin/acpidump usr.sbin/adduser
usr.sbin/afs usr.sbin/bgpd
usr.sbin/bind usr.sbin/dhcpd
usr.sbin/dhcrelay usr.sbin/eeprom
usr.sbin/hostapd usr.sbin/hostated
usr.sbin/pkg_add usr.sbin/sensorsd
usr.sbin/spamdb usr.sbin/syslogc
usr.sbin/syslogd usr.sbin/tcpdump
usr.sbin/watchdogd usr.sbin/ypbind
usr.sbin/ypset
== distrib =========================================================== 01/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
sets
~ lists/base/mi ~ lists/man/mi
> sync (deraadt@)
~ lists/base/md.alpha ~ lists/base/md.amd64
~ lists/base/md.armish ~ lists/base/md.aviion
~ lists/base/md.cats ~ 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/comp/mi
> sync (deraadt@)
~ lists/man/mi
> sync (deraadt@)
== etc =============================================================== 02/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/etc
etc.landisk/MAKEDEV
~ etc.landisk/MAKEDEV
> sync (todd@)
~ etc.landisk/MAKEDEV
> sync (drahn@)
etc.landisk/MAKEDEV.md
~ etc.landisk/MAKEDEV.md
> fix typo observed by Diana Eichert
> ok drahn@ (todd@)
~ etc.landisk/MAKEDEV.md
> without bktr, there is no tuner, comment it out as well (fixes the other
> half of Diana's problem) ok todd (drahn@)
hostapd.conf
~ hostapd.conf
> add examples for the optional channel hopper (reyk@)
mtree/4.4BSD.dist
~ mtree/4.4BSD.dist
> rndc will now create output files of 'rndc dumpdb', 'rndc
> stats' and 'rndc recursing' commands in /var/named/tmp (instead of
> /var/named), which is writable by the 'named' user.
> feedback and ok jakob@ deraadt@, also agreed by fkr@ and msf@ (aanriot@)
rc
~ rc
> remove acpid references. ok gwk@, steven@, grange@ and janus at .atthieu@)
rc.conf
~ rc.conf
> remove acpid references. ok gwk@, steven@, grange@ and janus at .atthieu@)
== gnu =============================================================== 03/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/gnu
usr.bin/binutils
~ gdb/Makefile.in ~ gdb/sparc64-tdep.h
~ gdb/sparc64nbsd-nat.c ~ gdb/sparc64obsd-tdep.c
> Make unwinding through kernel trap frames work on sparc64. (kettenis@)
usr.bin/gcc
~ gcc/varasm.c
> Make gcc(1) really ignore __attribute__((visibility)) if HAVE_GAS_HIDDEN
> isn't
> defined.
> ok miod@ (kettenis@)
== lib =============================================================== 04/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libpcap
~ gencode.c ~ gencode.h
~ grammar.y ~ scanner.l
> define bpf filters to match address and header fields in IEEE 802.11
> wlan frames (DLT_IEEE802_11 and DLT_IEEE802_11_RADIO linktypes). see
> tcpdump(8) for details.
> "Works for me" claudio@
> ok jmc@ deraadt@ (reyk@)
~ gencode.c
> remove extra \n in bpf_error() calls.
> figured out by claudio@ (reyk@)
libssl
~ src/ssl/kssl.c
> Fix format string misuse in kssl_err_set(), which is not
> called with user-supplied strings at the moment.
> ok markus@ (moritz@)
== libexec =========================================================== 05/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/libexec
spamd
~ grey.c
> Using DB_BTREE for spamd is wrong, order is never required
> and the rebalancing really slags big databases. Make spamd use DB_HASH
> instead, and convert if the old type is noticed on startup.
> Testing by me, djm, ian, others
> ok deraadt@, millert@, djm@ (beck@)
spamlogd
~ spamlogd.c
> Using DB_BTREE for spamd is wrong, order is never required
> and the rebalancing really slags big databases. Make spamd use DB_HASH
> instead, and convert if the old type is noticed on startup.
> Testing by me, djm, ian, others
> ok deraadt@, millert@, djm@ (beck@)
== regress =========================================================== 06/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/regress
sbin
~ ipsecctl/Makefile + ipsecctl/ike56.in
+ ipsecctl/ike56.ok
> don't pass -1 as a netmask; report vicviq at gmail.com (markus@)
== sbin ============================================================== 07/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
brconfig
~ brconfig.c
> -A before -a; (jmc@)
~ brconfig.8 ~ brconfig.c
> - merge first two synopses
> - standard options list
> - sync usage()
> started by a diff from stevesk;
> usage() help from dlg;
> ok reyk; (jmc@)
~ brconfig.8
> sort the list of parameters brconfig(8) accepts; (jmc@)
~ brconfig.8
> - use "interface", not "interface-name", consistently
> - mark up "interface" consistently
> - a little .Sx (jmc@)
~ brconfig.8
> find a better place for EXAMPLES; (jmc@)
~ brconfig.8
> some minor improvements; (jmc@)
dhclient
~ dhcpd.h
> <sys/un.h> not needed (stevesk@)
~ bpf.c ~ dhclient.c
~ dhcpd.h ~ dispatch.c
~ options.c
> Another round of cleanup. There is only one instance of struct
> dhcp_packet and it is contained in the global *client. So don't pass
> around pointers to a struct that contains a pointer to the dhcp_packet
> instance. Just use the global client->packet. Eliminate unused struct
> packet members and parameter lists accordingly.
> No functional change.
> Suggestions by stevesk at . stevesk@ (krw@)
~ bpf.c ~ dhclient.c
~ dhcpd.h
> Eliminate the 'len' parameter from send_packet() since it always
> contains the global value client->packet_length. Use
> client->packet_length. No functional change.
> Suggested by stevesk at .rw@)
~ options.c
> Fix options parsing. Last commit lost the proper length of the
> incoming packet. But since we bzero() the packet buffer before
> copying the incoming data into it, and the options are at the end, and
> we use a fixed sized buffer, and 0's are ignored as pad options, and
> proper option lists end with 0xff, it's simplier to always try to scan
> the whole buffer.
> Problem found by, and patch tested by kettenis at .rw@)
ipsecctl
~ parse.y
> better support for IPv6 hostname/numeric representation.
> hostname/prefixlen works only for IPv4-only hostname.
> markus ok (regress tested) (itojun@)
~ ipsecctl.8 ~ ipsecctl.c
~ ipsecctl.h ~ pfkdump.c
> do not print secret keys by default, -k restores old behaviour; ok hshoexer
> (markus@)
~ parse.y
> don't pass -1 as a netmask; report vicviq at gmail.com (markus@)
nmeaattach
~ nmeaattach.c
> return is no function. (mbalmer@)
sysctl
~ sysctl.c
> pretty up the sensor outputs a wee bit more; partly spotted by jsg
> (deraadt@)
== share ============================================================= 08/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man8/netstart.8
> - newly-created -> newly created
> - hostname.if(5) and bridgename.if(5) are the same files, so don;t list
> them both in SEE ALSO
> - +.Xr ifconfig 8 (jmc@)
~ man4/man4.macppc/macobio.4 ~ man4/man4.macppc/Makefile
+ man4/man4.macppc/esp.4
> Add manpage for esp(4) on macppc.
> "yeah, that's fine." jmc@ (gwk@)
~ man9/mbuf_tags.9
> Sync with reality. m_tag_free() and m_tag_unlink() where removed and
> m_tag_delete_chain() was a simplified. OK dhartmei@ (claudio@)
~ man4/bcw.4
> Bump firmware package; The previous firmware revision was to new for
> the "specs" we are using to write the driver. Therefore done a small
> downgrade (reduces firmware about two files). (mglocker@)
~ man4/isa.4
> Missing Xr in It (miod@)
~ man4/aps.4
> Remove unknown sensor that seems to always be fixed at 7
> on all ThinkPad models. (jsg@)
~ man4/bcw.4
> Bump firmware package to version 1.2; Reduce from fifteen to one single
> firmware file (files are concatenated). (mglocker@)
~ man4/malo.4
> Better wording.
> From Brad.
> CVS ----------------------------------------------------------------------
> (mglocker@)
~ man8/man8.landisk/MAKEDEV.8
> sync (drahn@)
~ man4/bcw.4
> Bump to firmware 1.3; network byte ordered firmware file. (mglocker@)
~ man4/isa.4 ~ man4/man4.hp300/Makefile
~ man4/man4.hp300/frodo.4 + man4/man4.hp300/isabr.4
> Document hp300 isabr(4). (miod@)
~ man4/iic.4 ~ man4/man4.macppc/fcu.4
> fcu fans are PWM, express as %; from murenin (deraadt@)
mk
~ bsd.xorg.mk
> - XORG_PREFIX is now X11BASE
> - define X11ETC here to avoid bootstrap problems noticed by Pierre-Yves
> Dampure and Frederick C. Druseikis. (matthieu@)
~ bsd.lib.mk
> actually echo what's being executed; ok espie@ (otto@)
== sys =============================================================== 09/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/amd64/stand/boot
~ conf.c
> Issue the BIOS "check for keystroke" call before "get keystroke", as
> now required on i386 for Intel Macs.
> Bump versions of boot, cdboot and pxeboot accordingly.
> Reminded by deraadt at .om@)
arch/amd64/stand/cdboot
~ conf.c
> Issue the BIOS "check for keystroke" call before "get keystroke", as
> now required on i386 for Intel Macs.
> Bump versions of boot, cdboot and pxeboot accordingly.
> Reminded by deraadt at .om@)
arch/amd64/stand/libsa
~ bioscons.c
> Issue the BIOS "check for keystroke" call before "get keystroke", as
> now required on i386 for Intel Macs.
> Bump versions of boot, cdboot and pxeboot accordingly.
> Reminded by deraadt at .om@)
arch/amd64/stand/pxeboot
~ conf.c
> Issue the BIOS "check for keystroke" call before "get keystroke", as
> now required on i386 for Intel Macs.
> Bump versions of boot, cdboot and pxeboot accordingly.
> Reminded by deraadt at .om@)
arch/hp300/conf
~ GENERIC
> Add commented out ISA entries. (miod@)
~ files.hp300
> Preliminary support for the hp300 single ISA slot found in 4xx `t' models.
> Everything works well but interrupts, where no two devices causes the frodo
> chip to behave in the same way... (polling will work nicely) (miod@)
arch/hp300/dev
~ apci.c ~ dnkbd.c
~ frodo.c ~ frodovar.h
~ hil_intio.c ~ intio.c
~ intiovar.h ~ sgc.c
~ sgcvar.h ~ sti_sgc.c
> Propagate bus_space_tag_t through device attachment args structures, rather
> than having them build their own. No functional change. (miod@)
~ hil_intio.c ~ intio.c
~ sgc.c ~ sti_sgc.c
> Turn bus_space_tag_t into real structures containing a bunch of function
> pointers, to be used for the various bus_space operations.
> intio devices no longer need to pass an intiobase-relative address to
> bus_space_map. (miod@)
~ frodo.c ~ frodoreg.h
~ frodovar.h + isa_machdep.h
+ isabr.c + isabrreg.h
> Preliminary support for the hp300 single ISA slot found in 4xx `t' models.
> Everything works well but interrupts, where no two devices causes the frodo
> chip to behave in the same way... (polling will work nicely) (miod@)
~ dnkbd.c
> Skip optional dash when parsing the layout code. (miod@)
~ dioreg.h
> Hardcode DIO_SCMAX if kernel is built without model 320 support. (miod@)
~ diofbreg.h ~ gbox.c
> Get rid of PROM font-related defines. (miod@)
arch/hp300/hp300
~ bus_space.c
> Turn bus_space_tag_t into real structures containing a bunch of function
> pointers, to be used for the various bus_space operations.
> intio devices no longer need to pass an intiobase-relative address to
> bus_space_map. (miod@)
~ autoconf.c
> Trim include files list. (miod@)
arch/hp300/include
~ bus.h
> Turn bus_space_tag_t into real structures containing a bunch of function
> pointers, to be used for the various bus_space operations.
> intio devices no longer need to pass an intiobase-relative address to
> bus_space_map. (miod@)
arch/i386/pci
~ glxsb.c
> Use bus_space_write_region_4() instead of doing the same thing bit by
> bit (well, uint32 by uint32). Inspired by a claudio commit to malo.c.
> Still disabled (awaiting a code review), but works for me here.
> ok claudio@ (tom@)
arch/i386/stand/boot
~ conf.c
> Fix the keyboard problem seen on Intel Macs, where only the first
> keypress is seen by boot.
> It appears that on the Intel Mac, we have to issue the "check for
> keystroke" BIOS call before the "get keystroke" call will get it
> (unlike any other BIOS I have seen in over 20 years).
> It would not have been possible to fix this problem without the
> donation from Steven N. Fettig (steve (at) anywheretechnology.com);
> many thanks.
> Bump versions of boot, cdboot and pxeboot accordingly.
> Testing kettenis@, otto@, and others; ok weingart at .om@)
arch/i386/stand/cdboot
~ conf.c
> Fix the keyboard problem seen on Intel Macs, where only the first
> keypress is seen by boot.
> It appears that on the Intel Mac, we have to issue the "check for
> keystroke" BIOS call before the "get keystroke" call will get it
> (unlike any other BIOS I have seen in over 20 years).
> It would not have been possible to fix this problem without the
> donation from Steven N. Fettig (steve (at) anywheretechnology.com);
> many thanks.
> Bump versions of boot, cdboot and pxeboot accordingly.
> Testing kettenis@, otto@, and others; ok weingart at .om@)
arch/i386/stand/libsa
~ bioscons.c
> Fix the keyboard problem seen on Intel Macs, where only the first
> keypress is seen by boot.
> It appears that on the Intel Mac, we have to issue the "check for
> keystroke" BIOS call before the "get keystroke" call will get it
> (unlike any other BIOS I have seen in over 20 years).
> It would not have been possible to fix this problem without the
> donation from Steven N. Fettig (steve (at) anywheretechnology.com);
> many thanks.
> Bump versions of boot, cdboot and pxeboot accordingly.
> Testing kettenis@, otto@, and others; ok weingart at .om@)
arch/i386/stand/pxeboot
~ conf.c
> Fix the keyboard problem seen on Intel Macs, where only the first
> keypress is seen by boot.
> It appears that on the Intel Mac, we have to issue the "check for
> keystroke" BIOS call before the "get keystroke" call will get it
> (unlike any other BIOS I have seen in over 20 years).
> It would not have been possible to fix this problem without the
> donation from Steven N. Fettig (steve (at) anywheretechnology.com);
> many thanks.
> Bump versions of boot, cdboot and pxeboot accordingly.
> Testing kettenis@, otto@, and others; ok weingart at .om@)
arch/mac68k/dev
~ if_ae.c
> shorten dmesg a bit (martin@)
arch/macppc/dev
~ if_mc.c
> Some spaces to tabs and cosmetic tweaking of the code,
> From brad at .ts more spacing cleanup by myself.
> Tested on Power Macintosh 9600 (gwk@)
~ esp.c
> Cover the other case we need to unload the dmamap, in espdmaintr(),
> While here fix some spacing too.
> Bus probing and some commands such as eject tested on a Power
> Macintosh 9600, still unable to mount a cdrom on a SONY CD-ROM
> model CDU-8003A. (gwk@)
~ if_mc.c
> Change IF_DEQUEUE to IFQ_DEQUEUE for ALTQ, and some purely cosmetic
> 0 -> NULL fixes.
> From brad@
> Tested on PM 9600MP. (gwk@)
~ openpicreg.h
> Fix (unused) OPENPIC_IPI macro. (miod@)
arch/sparc64/conf
~ GENERIC
> Fix mbg comment: time base -> radio clocks. (mbalmer@)
arch/sparc64/sparc64
~ locore.s
> Remove some unreachable code.
> ok jason@ (kettenis@)
~ pmap.c
> Use VM_MAX_KERNEL_ADDRESS instead of KERNEND in pmap_growkernel().
> (kettenis@)
~ locore.s
> Remove bogus code for flushing 32-bit tlb entries. This makes it possible
> to
> go to more than 4G va space. (kettenis@)
~ cpu.c
> Print out mask set revision. (kettenis@)
~ cpu.c
> The associativity of the cache is already taken into account for
> [ide]cache-size, so don't multiply it with [ide]cache-associativity.
> (kettenis@)
dev
~ audio.c
> Protect against zero blocksize (causing a divide by zero) in
> audiogetinfo(). (miod@)
dev/acpi
~ acpi.c
> On some systems EC must be attached as the first device. Move EC from
> generic _HID devices to its own routine to force first attach. Bug found
> and debugged by joris@
> Code mostly written by joris@ (marco@)
~ acpiac.c
> Consistent naming for the sensors.
> From Constantine Murenin <mureninc at gmail dot com> (marco@)
~ acpidev.h
> Oops forgot this bit as part of the cleanup for acpiac. From Constantine
> Murinen. (marco@)
dev/i2c
~ adt7460.c
> correct the code to handle the adt7475, which stupidly is missing some
> of the registers.... tested by dhartmei and others (deraadt@)
~ i2c_scan.c
> when i2c_dumping, instead of just skipping 0xff value registers,
> skip the most common value read (which is often 0xff anyways) (deraadt@)
~ fcu.c
> fcu fans are PWM, express as %; from murenin (deraadt@)
dev/ic
~ acx.c
> Bye bye unused acx_shutdown() we won't miss you. (claudio@)
~ malo.c
> Use #ifdef MALO_DEBUG else a simple #define MALO_DEBUG will not work.
> (claudio@)
~ malo.c
> malo_stop() never fails so no need to return an error. OK mglocker@
> (claudio@)
~ malo.c
> Use a bus_space_barrier instead of those stupid 0x0c14 reads to make sure
> that access is done in correct order. OK mglocker@ (claudio@)
~ malo.c
> Add a debug printf to warn when malo_init() fails and resets the card.
> (claudio@)
~ malo.c
> In malo_init() check for firmware loading errors and in case of an error
> reset the card so that we have a chance that a later malo_init() works.
> OK mglocker@ (claudio@)
~ malo.c
> There is no need to busy wait in malo_send_cmd(). 0x0c14 only stores the
> current state of the card (not running, loading FW, running). Now instead
> wait after loading the boot firmware for the magical 0x5 to appear.
> Also add a few missing bus_dmamap_sync() calls. OK mglocker@ (claudio@)
~ bcw.c
> Uncomment bcw_powercontrol_crystal_off() for now because it leads to
> a panic later. (mglocker@)
~ bcw.c ~ bcwvar.h
> Add first shot of the firmware upload. Tested on i386 and amd64.
> (mglocker@)
~ bcw.c
> Spacing, comments. (mglocker@)
~ bcw.c
> Replace bus_space_write_4() by the BCW_WRITE macro. (mglocker@)
~ bcw.c
> Replace bus_space_read_4() by the BCW_READ macro. (mglocker@)
~ bcw.c
> Replace bus_space_write_2() by the BCW_WRITE16 macro. (mglocker@)
~ bcw.c
> Replace bus_space_read_2() by the BCW_READ16 macro. (mglocker@)
~ bcw.c ~ bcwvar.h
> Avoid mixing of u_int* and uint* in the same code. uint* wins. (mglocker@)
~ bcw.c
> Pretty printing of debug messages. (mglocker@)
~ bcw.c
> Rename bcw_shm_write_4() to bcw_shm_ctl_word(). We need the original
> name space for the new routines. (mglocker@)
~ an.c ~ ath.c
~ atw.c ~ rt2560.c
~ rt2661.c ~ rtw.c
> M_DUP_PKTHDR() cleanup. On static buffers M_DUP_PKTHDR() will leak mbuf
> tags.
> See similar rum(4) commit for more info. OK mglocker@ (claudio@)
~ bcw.c ~ bcwreg.h
> After the firmware has been loaded to the chip, read the exact firmware
> revision from the chip and print it in a debug line. Verify that the
> firmware has the right revision for us. (mglocker@)
~ bcw.c ~ bcwvar.h
> First shot of making the driver capable to parse several firmware files
> from one single file.
> Suggested and help by deraadt@ (mglocker@)
~ bcw.c
> Make the upload of initialization values work again, after implementing
> the single firmware file. (mglocker@)
~ bcw.c
> Prototypes spacing. (mglocker@)
~ bcw.c
> Report about correct firmware filename if not found. (mglocker@)
~ bcw.c
> If the firmware load routines fail, be sure the ucode gets freed.
> (mglocker@)
~ bcw.c
> Check that ucode size doesn't get exceeded when parsing for a firmware
> file.
> Spotted by deraadt@ (mglocker@)
~ bcw.c
> Make the driver able to read the network byte ordered firmware file.
> ok deraadt@ (also for the last dev/microcode/bcw import). (mglocker@)
~ bcw.c
> Fix error string for loadfirmware(). (mglocker@)
~ bcw.c ~ bcwreg.h
~ bcwvar.h
> Initialize GPIO. (mglocker@)
~ bcw.c
> Spacing, comments. (mglocker@)
~ lm78.c ~ lm78var.h
> Fix VCore voltage detection on w83637hf.
> Based on a diff from Constantine A. Murenin (kettenis@)
dev/isa
~ aps.c ~ apsvar.h
> Change slightly to not need one of the softc members.
> From Constantine A. Murenin (jsg@)
~ aps.c
> Switch to indicator type for sensors with boolean values.
> From Constantine A. Murenin (jsg@)
~ aps.c ~ apsvar.h
> Remove unknown sensor that seems to always be fixed at 7
> on all ThinkPad models. (jsg@)
- apsreg.h - apsvar.h
~ aps.c
> Don't pollute userspace with uneeded headers. (jsg@)
~ isavar.h
> Preliminary support for the hp300 single ISA slot found in 4xx `t' models.
> Everything works well but interrupts, where no two devices causes the frodo
> chip to behave in the same way... (polling will work nicely) (miod@)
~ if_eg.c
> Replace infinite loops with appropriate constructs to fail operation if it
> takes much more time than it should. (miod@)
dev/microcode
~ yds/build.c
> make microcode file byte-order independent so that the file is the same
> on all architectures, and have the driver cope with this as well
> tested by ian
> YOU MUST UPDATE YOUR MICROCODE FILE OR THE DRIVER WILL NOT BE HAPPY
> (deraadt@)
+ bcw/Makefile + bcw/build/Makefile
+ bcw/build/build.c + bcw/extract/Makefile
+ bcw/extract/extract.c
> build and extract program to merge bcw(4) firmware files into one single
> file. Doesn't get linked in make build. (mglocker@)
dev/mii
~ amphy.c ~ brgphy.c
~ ciphy.c ~ ipgphy.c
~ rgephy.c ~ xmphy.c
> Bring last few phys into line by calling their XXX_status() functions
> through mii_phy_status() rather than directly. No functional change.
> from brad@ ok mglocker@ (krw@)
~ eephy.c
> Now that all ethernet drivers that support flow control set MIIF_DOPAUSE,
> stop doing it here.
> From brad@ (kettenis@)
dev/pci
~ pcidevs.h ~ pcidevs_data.h
> regen. (mbalmer@)
~ pcidevs
> Add a new Intel host bridge chipset
> from brad@ (mbalmer@)
~ pcivar.h ~ pci_subr.c
> Provide a new function, pci_findproduct(), which is analog to
> pci_findvendor().
> Use these two functions in pci_devinfo() to remove some duplicated code and
> make it easier to read. Remove two now unused variables. This shrinks the
> size of the resulting object code.
> Drivers (or other kernel code) can now get at the PCI vendor and/or product
> strings using pci_findvendor() and pci_findproduct().
> ok claudio, deraadt, mglocker (mbalmer@)
~ mbg.c
> Use the value returned by pci_findproduct() as the timedelta sensor
> description
> instead of using static strings.
> ok deraadt (mbalmer@)
~ agp.c
> do not permit agp_ioctl if the methods are invalid; ok miod (deraadt@)
~ if_bcw_pci.c
> Don't wrap line before printing MAC address. (mglocker@)
~ if_msk.c ~ if_sk.c
> Don't say 'Marvell' twice for each sk/msk device in dmesg. No functional
> change.
> from brad@ ok mglocker@ (krw@)
~ mbg.c
> mbg(4) cards with ASIC take the internal timestamp at the very moment the
> first command byte is written to the card over the pci bus. the driver has
> to capture this moment to get a precise timedelta. so make sure the code
> fragment that takes the internal timestamp and sends the command byte can
> not
> be interrupted.
> this function is called with a low frequency (currently 0.1 Hz).
> ok claudio, mglocker (mbalmer@)
~ agp.c
> also bail if sc_chipc is NULL; spotted by miod (deraadt@)
~ if_ipw.c ~ if_iwi.c
~ if_wpi.c
> M_DUP_PKTHDR() cleanup. On static mbufs M_DUP_PKTHDR() will leak mbuf tags.
> See similar commit to dev/usb/if_rum.c for more info. With this commit
> all drivers have been switched away from the incorrect M_DUP_PKTHDR()
> usage.
> OK mglocker@ (claudio@)
~ agp.c
TAGGED OPENBSD_4_0
> Errata #7:
> Insufficient validation in vga(4) may allow an attacker to gain
> root privileges if the kernel is compiled with option PCIAGP and
> the actual device is not an AGP device. The PCIAGP option is
> present by default on i386 kernels only. (miod@)
~ vga_pci.c
TAGGED OPENBSD_3_9
> Errata #17:
> Insufficient validation in vga(4) may allow an attacker to gain
> root privileges if the kernel is compiled with option PCIAGP and
> the actual device is not an AGP device. The PCIAGP option is
> present by default on i386 kernels only. (miod@)
~ if_sk.c
TAGGED OPENBSD_3_9
> In sk_marv_miibus_writereg, wait for busy flag to clear instead of
> continuing when busy flag set. (kettenis@)
~ ahci.c
TAGGED OPENBSD_3_9
> use ISSET instead of &, cos it looks cleaner (dlg@)
~ ahci.c
TAGGED OPENBSD_3_9
> allocate the dmamem that each port will need, and hopefully point our
> structs at all the right bits of it. the dma addresses arent taken care of
> yet, just the kva ones. (dlg@)
~ ahci.c
TAGGED OPENBSD_3_9
> fix up some port regs so their names are more in line with what is in the
> spec. (dlg@)
~ ahci.c
TAGGED OPENBSD_3_9
> stash the dva for each command in the ccb, and program the hardware with
> the dva of the rfis and command list. (dlg@)
~ ahci.c
TAGGED OPENBSD_3_9
> use the right variable when finding a ports register window, not one that
> contains random garbage on the stack. (dlg@)
~ ahci.c
TAGGED OPENBSD_3_9
> macros for the bits in the ports CMD register. free %b fmt string for it
> while im here. (dlg@)
~ if_sk.c
TAGGED OPENBSD_3_9
> For Yukon-based cards, pass MIIF_DOPAUSE to mii_attach().
> From brad@ (kettenis@)
~ yds.c
TAGGED OPENBSD_3_9
> make microcode file byte-order independent so that the file is the same
> on all architectures, and have the driver cope with this as well
> tested by ian
> YOU MUST UPDATE YOUR MICROCODE FILE OR THE DRIVER WILL NOT BE HAPPY
> (deraadt@)
~ pcidevs
TAGGED OPENBSD_3_9
> Add Leadtek WinFast TV 2000 XP, from Tim Leslie (pedro@)
~ pcidevs.h ~ pcidevs_data.h
TAGGED OPENBSD_3_9
> regen (pedro@)
dev/usb
~ usbdevs.h ~ usbdevs_data.h
> sync (deraadt@)
~ usbdevs
> a few UPS products; from freebsd (deraadt@)
~ usb_quirks.c
> knock UPS products out from being matched as HID devices (deraadt@)
~ usbdevs.h ~ usbdevs_data.h
> regen. (mbalmer@)
~ usbdevs
> Add the Alcatel Telecom SpeedTouch 120g (WLAN adapter using pgt).
> ok mglocker (mbalmer@)
~ if_atu.c ~ if_ral.c
~ if_uath.c ~ if_zyd.c
> Don't use M_DUP_PKTHDR() in the driver bpf hook. Using M_DUP_PKTHDR() on a
> static mbuf results in a mbuf tag memory leak. Same change as in rum(4).
> OK mglocker@ (claudio@)
~ usbdevs.h ~ usbdevs_data.h
> sync (stevesk@)
~ usbdevs
> spacing and change comment for MC8755 to "MC8755 HSDPA"; ok fkr@ (stevesk@)
~ udcf.c
> return is not a function. (mbalmer@)
~ usbdevs.h ~ usbdevs_data.h
> sync (stevesk@)
~ usbdevs
> add Sierra Wireless Aircard 875; ok fkr@ (stevesk@)
~ usbdevs
> More Zyxel Zydas wireless adapters.
> from brad@ (krw@)
~ usbdevs.h ~ usbdevs_data.h
> Sync (krw@)
~ usbdevs.h ~ usbdevs_data.h
> sync (todd@)
~ usbdevs
> add Cannon CANOSCAN LiDE60, PowerShot A540, and Kensington Bluetooth
> devices
> ok brad@ (todd@)
dev/wscons
~ wsdisplay.c
> In wsscreen_attach(), allow wsemul->attach to fail (returning NULL) if the
> screen is not the console. (miod@)
~ wsemul_sun.c ~ wsemul_vt100.c
> Change allocations to M_NOWAIT in attach methods, and return NULL if they
> fail. (miod@)
~ wsemul_vt100.c ~ wsemul_vt100_chars.c
~ wsemul_vt100_subr.c ~ wsemul_vt100var.h
> Some dynamically allocated elements are not considered of vital importance
> for the vt100 emulation to work well enough for most cases (i.e. alternate
> character set tables, non-default tab settings, etc).
> However, code did not always check if these elements had been successfully
> allocated before trying to use them, or worse, would explicitely panic in
> DIAGNOSTIC kernels.
> Change this to work in a degraded mode (by ignoring related escape
> sequences)
> instead. (miod@)
kern
~ init_main.c
> 2007 (drahn@)
~ tty_nmea.c
> return is not a function. (mbalmer@)
~ uipc_mbuf2.c
> Remove two "unused" mbuf tag functions and kill the superfluous argument
> to the m_tag_delete_chain() function.
> m_tag_free() and m_tag_unlink() are only used by m_tag_delete() and I see
> no need to have these functions around.
> m_tag_delete_chain() has a second argument to specifiy a starting point
> from where the chain should be deleted. This feature is never used and is
> more complex because it is not possible to remove a SLIST element without
> doing a list walk. Instead use SLIST_FIRST() and SLIST_REMOVE_HEAD() to
> remove all items from the list. OK dhartmei@ (claudio@)
lib/libsa
~ loadfile.c
> Revert 1.11 and load .shstrtab, as it is currently needed for /dev/ksyms
> proper operation. (miod@)
miscfs/procfs
~ procfs_linux.c
> Allow reads of /proc/meminfo to be correctly terminated, okay thib@
> (pedro@)
netinet
~ in.c
> move local network route to real interface instead of carp interface; from
> mpf@ (markus@)
~ ip_icmp.c
> Remove two "unused" mbuf tag functions and kill the superfluous argument
> to the m_tag_delete_chain() function.
> m_tag_free() and m_tag_unlink() are only used by m_tag_delete() and I see
> no need to have these functions around.
> m_tag_delete_chain() has a second argument to specifiy a starting point
> from where the chain should be deleted. This feature is never used and is
> more complex because it is not possible to remove a SLIST element without
> doing a list walk. Instead use SLIST_FIRST() and SLIST_REMOVE_HEAD() to
> remove all items from the list. OK dhartmei@ (claudio@)
scsi
~ st.c
> As first brought to my attention by Russel Sutherland, our deletion of
> the mt_fileno and mt_blkno fields from the mtget struct was too hasty.
> Subsequent discussions with Kern Sibbold of the Bacula project
> revealed these are widely used by tape backup software on many
> unicies. The de facto standard is to return -1 if you can't determine
> the value.
> So add them back and always return -1 as their value. Should allow
> Bacula and similar software to at least compile while we investigate
> providing meaningful values.
> ok beck@ (krw@)
sys
~ mbuf.h
> Remove two "unused" mbuf tag functions and kill the superfluous argument
> to the m_tag_delete_chain() function.
> m_tag_free() and m_tag_unlink() are only used by m_tag_delete() and I see
> no need to have these functions around.
> m_tag_delete_chain() has a second argument to specifiy a starting point
> from where the chain should be deleted. This feature is never used and is
> more complex because it is not possible to remove a SLIST element without
> doing a list walk. Instead use SLIST_FIRST() and SLIST_REMOVE_HEAD() to
> remove all items from the list. OK dhartmei@ (claudio@)
~ mtio.h
> As first brought to my attention by Russel Sutherland, our deletion of
> the mt_fileno and mt_blkno fields from the mtget struct was too hasty.
> Subsequent discussions with Kern Sibbold of the Bacula project
> revealed these are widely used by tape backup software on many
> unicies. The de facto standard is to return -1 if you can't determine
> the value.
> So add them back and always return -1 as their value. Should allow
> Bacula and similar software to at least compile while we investigate
> providing meaningful values.
> ok beck@ (krw@)
ufs/ffs
~ ffs_alloc.c ~ ffs_subr.c
> stop printing messages when changing space/time optimizations.
> it's not all that important, and mostly seems to just scare people.
> ok pedro henning thib ...
> also remove dumb casts. (tedu@)
~ fs.h
> document the unit of sizes in struct fs (bytes or frags)
> some 'number' -> '#'
> ok pedro (sturm@)
~ ffs_alloc.c
> add some comments
> ok pedro (sturm@)
== usr.bin =========================================================== 10/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
cvs
~ commit.c
> minor nits; (xsa@)
~ admin.c
> add support for -m option. (xsa@)
~ admin.c
> client-side bits might be useful too for -m... (xsa@)
~ admin.c
> add support for [-s state[:rev]] (xsa@)
~ admin.c
> missing xfree()'s; spotted by joris. (xsa@)
+ edit.c + watch.c
> skeletons for the client-side part of the editors and watchers commands.
> not linked to build. (xsa@)
~ edit.c
> some unedit command bits; still work in progress for local mode. (xsa@)
~ client.c ~ commit.c
> - fix cvs_client_remove_entry to correctly handle the passed data
> - when commiting in a remote setup, allow the opencvs server to send
> the correct response to the client when a file has been removed (joris@)
~ edit.c
> set permissions back on the file after it got copied from the
> CVS/Base/ directory. (xsa@)
~ util.c ~ util.h
> bring back cvs_yesno() as is it going to be used pretty soon now. (xsa@)
~ client.c ~ remote.c
~ remote.h
> fix CVS_CLIENT_LOG logging, we were missing parts
> which was making it very hard to correctly debug remote connections.
> (joris@)
~ checkout.c ~ commit.c
~ cvs.h
> if we are commiting a file, do not let the server resend it
> with an 'Updated' response, seeing as the client will already have the
> latest version. Instead, send the correct 'Checked-in' response. (joris@)
~ client.c
> revert changes made in 1.40 - it breaks add in a remote setup
> because opencvs server does not support 'wrapper-sendme-rcsOptions'
> for the moment. (joris@)
~ checkout.c ~ client.c
~ commit.c ~ remote.h
~ remove.c ~ server.c
> add support for 'remove' in a remote setup.
> testing appriciated, as always. (joris@)
~ remove.c
> make sure remove -f also works in remote setup (joris@)
~ file.c ~ file.h
~ edit.c
> - introduce file comparison routine, cvs_file_cmp().
> - compare the <file> in working dir and the one in CVS/Base/<file>
> for the unedit command.
> hints otto@, input and ok ray@ niallo at .sa@)
~ edit.c
> starting bits for the edit command. more to come. (xsa@)
~ edit.c
> use correct hostname for notifications.
> also, in a near future, might be worth thinking about sharing
> some code between the edit and unedit commands, would shrink
> the mess a little bit... (xsa@)
~ edit.c
> correctly handle time in notifications. (xsa@)
~ edit.c
> use current working directory fullpath for notifications. (xsa@)
~ edit.c
> for edit: create the CVS/Base directory if it does not already exist.
> (xsa@)
~ edit.c ~ file.c
~ file.h
> add cvs_base_handle() routine to handle the CVS/Baserev* files.
> first bits for the edit command for now.
> definitly still more work to do for optimization... (xsa@)
~ util.c ~ util.h
> zap-o-matic 2007:
> - zap unused argument to cvs_exec() (joris@)
~ Makefile ~ commit.c
~ cvs.h + logmsg.c
> rewrite of the logmessage code, which allows you to
> enter a logmessage into your favorite editor when commiting. (joris@)
~ commit.c
> free the filelists we pass to cvs_logmsg_create()
> after we obtain our logmessage. (joris@)
~ import.c ~ logmsg.c
> and lets make import work with the new logmsg code too! (joris@)
~ commit.c
> use cvs_logmsg_read() for -F for simplicity. (joris@)
~ logmsg.c
> make the output when interrupting writing the log message consistent.
> ok joris@
> commiting with opencvs now btw :) (jasper@)
~ logmsg.c
> add the temporary file we create to the temp_files worklist (joris@)
make
~ var.c
> VarDelete is no longer used by list functions, so let it do type-checking
> correctly. (espie@)
~ compat.c ~ job.c
~ lst.h ~ lst.lib/lstForEachFrom.c
> having a function that iterates through node's datum so that we retrieve
> the list item with lst_member is non-sensical, create a new function
> (Lst_ForEachNodeWhile) that iterates through lstnodes directly and use
> it.
> Less obfuscated, slightly more efficient...
> okay otto@ (espie@)
~ cond.c
> extend make grammar slightly:
> - make it possible to have constructs like
> .if $A$B == "value"
> instead of simpler
> .if $A == "value"
> - make it possible to have explicit strings comparisons like:
> .if "string" == "string2"
> this comes in handy in .for loops, where the variable is expanded, and
> thus there is no longer any variable for make to look at.
> So in the end, the "" can sometimes be removed, but not always... small
> price to pay to get `better' expressions.
> okay otto@ (espie@)
rcs
~ diff3.c ~ rcs.c
~ rcsutil.c ~ rcsutil.h
> - fix support for checking out binary files.
> testing from xsa@ and Igor Sobrado <igor at string1.ciencias.uniovi.es>
> ok xsa@ (niallo@)
~ rcs.1
> manual page should not mention options which are not yet implemented.
> pointed out by Igor Sobrado <igor at string1.ciencias.uniovi.es>
> discussed with xsa@ ray@ jmc@ (niallo@)
ssh
~ sshd_config.5
> do not use lists for SYNOPSIS;
> from eric s. raymond via brad (jmc@)
~ ssh-keygen.c
> remove small dead code; arnaud.lacombe.1 at ulaval.caa Coverity scan
> (stevesk@)
~ auth2-chall.c ~ channels.c
~ dns.c ~ sftp.c
~ ssh-keygen.c ~ ssh.c
> spaces (stevesk@)
~ sftp.c
> ARGSUSED for lint (stevesk@)
~ sftp-server.c
> spaces (stevesk@)
top
~ Makefile ~ machine.c
> top(1) doesn't use any math.h function, so do not include math.h and
> do not link with libm. ok ray@ (otto@)
~ top.1
> Missing 'T' in interactive command list. From Mark Lumsden. (otto@)
~ machine.c ~ top.1
~ top.c
> Add a 'g' command to only show processes having a string in their
> command name. ok deraadt@ (otto@)
~ commands.c
> add new g command to interactive help; from Mark Lumsden (otto@)
~ commands.c
> tidy & sort help display (otto@)
== usr.sbin ========================================================== 11/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
acpidump
~ acpi_user.c
> mmap returns MAP_FAILED on error, not -1 or NULL; from xsa@ (otto@)
adduser
~ adduser.perl
> fix bug that sorted the groups and thus broke ottos group file:
> * stop sorting the group file
> * push the empty YP group to the end
> * leave other group entries where they are
> input & ok ray@, tested & ok otto@ (simon@)
afs
~ src/milko/bos/bosserver.c
> Limit fscanf. From Ulf Harnhammar (metaur at telia dot com) (biorn@)
bgpd
~ bgpd.c ~ rde.c
~ session.h
> Do not run rde_shutdown() unless bgpd is started with -d.
> On some of my systems rde_shutdown() takes more than 3min doing nothing
> more
> than calling free(3) over and over again. (claudio@)
~ bgpd.c
> ignore SIGPIPE, like the other 2 processes already do. we detect broken
> pipes without the signal just fine. ok claudio (henning@)
bind
~ bin/named/config.c ~ bin/rndc/rndc.c
> rndc will now create output files of 'rndc dumpdb', 'rndc
> stats' and 'rndc recursing' commands in /var/named/tmp (instead of
> /var/named), which is writable by the 'named' user.
> feedback and ok jakob@ deraadt@, also agreed by fkr@ and msf@ (aanriot@)
dhcpd
~ dhcpd.h
> <sys/un.h> not needed (stevesk@)
dhcrelay
~ dhcpd.h
> <sys/un.h> not needed (stevesk@)
eeprom
~ eehandlers.c
> Fix format string bugs by using strlcpy() instead of
> snprintf() and fix truncation checks.
> ok miod@ deraadt@ (moritz@)
hostapd
~ apme.c ~ hostapd.conf.5
~ hostapd.h ~ parse.y
~ privsep.c
> add a channel hopper for wireless interfaces. the channel hopper will
> jump to the next available channel after a configurable delay for the
> specified list of wireless "hostap" interfaces, see the new "set
> hostap hopper" commands in hostapd.conf(5).
> with help by jsg@ (reyk@)
hostated
~ hostated.conf.5 ~ hostated.h
~ parse.y ~ pfe_filter.c
> allow the sticky-address option for round-robin pools.
> From Pierre-Yves Ritschard (pyr at spootnik dot org) (reyk@)
~ check_icmp.c ~ hostated.h
~ parse.y
> spacing (reyk@)
~ pfe_filter.c
> Fix two small memleaks
> From Pierre-Yves Ritschard (pyr at spootnik dot org) (reyk@)
pkg_add
~ pkg_mklocatedb ~ pkg_mklocatedb.1
> commit really old stuff that lets pkg_mklocatedb record
> pkgpath/pkgnames/both. (espie@)
~ pkg_mklocatedb.1
> - standard list
> - zap extraneous list item
> - sort options list
> - kill trailing whitespace (jmc@)
~ pkg_mklocatedb
> sync usage(); (jmc@)
sensorsd
~ sensorsd.c
> increase buffer size; ie. for hw.sensors.ipmi0.indicator0
> from cnst+openbsd at bugmail.mojo.rueraadt@)
spamdb
~ spamdb.c
> Using DB_BTREE for spamd is wrong, order is never required
> and the rebalancing really slags big databases. Make spamd use DB_HASH
> instead, and convert if the old type is noticed on startup.
> Testing by me, djm, ian, others
> ok deraadt@, millert@, djm@ (beck@)
syslogc
~ syslogc.c ~ syslogc.8
> Support for continuous reading of syslog memory buffers.
> Works like ``tail -f'' on a log file.
> OK markus@, djm@ (mpf@)
syslogd
~ syslogd.c
> Support for continuous reading of syslog memory buffers.
> Works like ``tail -f'' on a log file.
> OK markus@, djm@ (mpf@)
tcpdump
~ tcpdump.8
> define bpf filters to match address and header fields in IEEE 802.11
> wlan frames (DLT_IEEE802_11 and DLT_IEEE802_11_RADIO linktypes). see
> tcpdump(8) for details.
> "Works for me" claudio@
> ok jmc@ deraadt@ (reyk@)
watchdogd
~ watchdogd.c
> tweaks. (mbalmer@)
ypbind
~ ypbind.c
> Fix setting up the more specific binding for the ypsetme
> functionality. We want to bind to the same ports as the general
> binding, but with a local address. with and ok deraadt@ (otto@)
~ ypbind.c
> return proper server error on failed ypset. Inspired by freebsd; ok
> deraadt@ (otto@)
ypset
~ ypset.c
> use err.h functions and report failure of ypset call. ok deraadt@ (otto@)
===============================================================================
More information about the owc
mailing list