CVS: cvs.openbsd.org: src

2010-06-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/20 04:24:57

Modified files:
sys/dev/pci: pcidevs.h pcidevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2010-06-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/20 04:36:03

Modified files:
sys/dev/pci: if_em_hw.h 

Log message:
sync the list of device and phy ids with FreeBSD



CVS: cvs.openbsd.org: src

2010-06-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/21 04:48:12

Modified files:
usr.sbin/ikectl: ikeca.c 

Log message:
use the full path to zip



CVS: cvs.openbsd.org: src

2010-06-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/21 14:43:44

Modified files:
sys/dev/pci: if_em.c if_em_hw.c 

Log message:
Add some more ids for existing mac and phy types found
in the FreeBSD driver.

ok claudio@



CVS: cvs.openbsd.org: src

2010-06-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/21 15:11:53

Modified files:
sys/dev/pci: if_em.c if_em_hw.c if_em_hw.h 

Log message:
Initial support for PCH based em adapters with 82577 PHY,
from Laurence Tratt based on FreeBSD code.  Confirmed to
work on lenovo t410i/t410s/x201.

Desktop machines with PCH tend to be paired with a 82578 PHY,
these will at some point be supported but not yet.

ok claudio@



CVS: cvs.openbsd.org: src

2010-06-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/23 10:01:01

Modified files:
usr.sbin/ikectl: ikeca.c ikectl.8 ikectl.c parser.c parser.h 

Log message:
Add a ca export command for EAP mode where we only require the CA cert,
and make both export commands optionally take an argument that will be
added to a peer.txt file in the exported output.   Additionally
include any site specific notes from /usr/share/iked if present.

man page bits and help with the parser from reyk



CVS: cvs.openbsd.org: src

2010-06-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/23 11:10:49

Modified files:
usr.sbin/ikectl: ikeca.c 

Log message:
More appropriate contents for the exported ca tarball.



CVS: cvs.openbsd.org: src

2010-06-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/23 13:28:18

Modified files:
usr.sbin/ikectl: ikeca.c 

Log message:
fix the permissions on directories inside the exported tarball
in the cert case.



CVS: cvs.openbsd.org: src

2010-06-26 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/26 12:32:39

Modified files:
sys/dev/pci: if_em_hw.h if_em_hw.c 

Log message:
PCH needs its own Low Power Link Up code as it it is configured
in the PHY instead of the MAC like ICH8.



CVS: cvs.openbsd.org: src

2010-06-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/27 14:13:04

Modified files:
sys/dev/pci: if_em.c if_em_hw.c if_em_hw.h 

Log message:
More PCH/82577 bits from FreeBSD, this does not include
all the workarounds but is enough to make things run at
faster than 10 Mbit speeds, though these aren't always
reflecting in ifmedia properly just yet.

ok claudio@



CVS: cvs.openbsd.org: src

2010-06-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/27 23:43:46

Modified files:
sys/dev/ic : ami.c 

Log message:
add back the initialisation of a loop condition that
was mistakenly removed in 1.208

ok dlg@ marco@



CVS: cvs.openbsd.org: src

2010-06-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/28 14:24:39

Modified files:
sys/dev/pci: if_em.c if_em_hw.c if_em_hw.h 

Log message:
Initial 82578 support from Mike Belopuhov.

ok claudio@



CVS: cvs.openbsd.org: src

2010-06-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/28 19:46:19

Modified files:
lib/libssl/src/crypto/engine: hw_cryptodev.c 

Log message:
VIA xcrypt for amd64, simpler version of a diff from deraadt
with suggestions from miod.

The codepath doesn't seem to be called yet, this will be
investigated later.

looks good miod@, ok deraadt@



CVS: cvs.openbsd.org: src

2010-06-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/29 03:58:23

Modified files:
sys/dev: spdmem.c 

Log message:
fix a logic error found by lint



CVS: cvs.openbsd.org: src

2010-06-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/29 13:14:09

Modified files:
sys/dev/pci: if_em_hw.h if_em_hw.c 

Log message:
More workarounds adapted from FreeBSD to make the 82577/82578 happy,
from Mike Belopuhov and me.

looks good reyk@ ok claudio@



CVS: cvs.openbsd.org: src

2010-06-30 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/30 21:22:12

Modified files:
sys/sys: cdefs.h 
sys/arch/i386/i386: acpi_machdep.c 
sys/arch/amd64/amd64: acpi_machdep.c 

Log message:
mark acpi_savecpu with the gcc returns_twice attribute as suggested
by deraadt so the stack will be sane during suspend/resume with gcc4.
Noticed on i386 due to the lack of general purpose registers compared
to amd64.

ok deraadt@ mlarkin@



CVS: cvs.openbsd.org: src

2010-06-30 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/30 21:31:08

Modified files:
sys/dev/usb: usbdevs 

Log message:
Add the Intel Rate Matching Hub, which is builtin to 3400/PCH chipsets
to remove the need for a companion uhci controller.



CVS: cvs.openbsd.org: src

2010-06-30 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/06/30 21:31:48

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2010-07-01 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/01 18:20:49

Modified files:
sys/net: route.c 

Log message:
remove prototype of okaytoclone, which got removed in 1.117



CVS: cvs.openbsd.org: src

2010-07-01 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/01 23:20:17

Modified files:
sys/dev/pci: ahci.c 

Log message:
add more MCP79 AHCI ids to the list of devices that need special handling,
lets ahci work on jcr's Alienware M17x.

ok dlg@



CVS: cvs.openbsd.org: src

2010-07-02 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/02 10:11:19

Modified files:
sys/arch/i386/pci: pcibiosvar.h pci_addr_fixup.c 

Log message:
remove unused pciaddr_search function.
ok kettenis@



CVS: cvs.openbsd.org: src

2010-07-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/05 16:47:42

Modified files:
sys/arch/i386/i386: est.c 
sys/arch/amd64/amd64: est.c 

Log message:
Rework somewhat for safety, so that we only interpret the values of
the PERF_STATUS MSR on earlier processors when we can't find the values
via acpi and have a bus clock value to use.  And let processors we
don't set a bus clock on (ie nehalem) use speedstep again.

Expanded/changed version of a diff from gwk who isn't around right now.




CVS: cvs.openbsd.org: src

2010-07-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/08 13:42:46

Modified files:
sys/netinet6   : in6.c in6.h in6_proto.c in6_var.h ip6_input.c 
 ip6_output.c ip6_var.h 

Log message:
remove some unused netinet6 code
ok stsp@ henning@ claudio@



CVS: cvs.openbsd.org: src

2010-07-13 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/13 15:55:52

Modified files:
sys/dev/pci: if_em_hw.c 

Log message:
use PHY semaphore on 8275/82576 adapters in addition to 80003es2lan.
From SAITOH Masanobu.
Confirmed to fix pr 6427, and should fix 6301 as well.

Tested by a bunch of people, and discussed with claudio
during c2k10.



CVS: cvs.openbsd.org: src

2010-07-22 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/22 04:31:10

Modified files:
gnu/usr.bin/cvs/src: main.c 

Log message:
As per OpenCVS, general usage in coversation and apparently newer
upstream versions of this code, add blame as an alias for annotate.

ok henning@ fgsch@ deraadt@ thib@ krw@



CVS: cvs.openbsd.org: src

2010-07-22 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/22 11:16:45

Modified files:
sbin/iked  : parse.y 

Log message:
Don't deref a NULL pointer if tap or tag are not specified in the
config file.



CVS: cvs.openbsd.org: src

2010-07-22 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/22 15:52:17

Modified files:
sys/dev/ic : wdc.c 

Log message:
ansi. no binary change



CVS: cvs.openbsd.org: src

2010-07-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/23 01:47:13

Modified files:
sys/dev/ata: ata.c ata_wdc.c atareg.h atavar.h wd.c wdvar.h 
sys/dev/atapiscsi: atapiscsi.c 
sys/dev/ic : siop.c siop_common.c siopreg.h siopvar.h 
 siopvar_common.h wdc.c 
sys/dev/microcode/siop: siop.ss 
sys/dev/mii: exphy.c gentbi.c icsphy.c inphy.c iophy.c 
 lxtphy.c mii.h nsphy.c nsphyter.c qsphy.c 
 sqphy.c tlphy.c tlphyreg.h tqphy.c ukphy.c 
sys/dev/pci: pciide.c pciide_acer_reg.h pciide_apollo_reg.h 
 pciide_cmd_reg.h pciide_cy693_reg.h 
 pciide_hpt_reg.h pciide_pdc202xx_reg.h 
 pciide_piix_reg.h pciide_sis_reg.h siop_pci.c 
 siop_pci_common.c siop_pci_common.h 
usr.sbin/rpc.lockd: lockd_lock.c 

Log message:
Manuel Bouyer rescinded clauses 3 and 4 of his license text.



CVS: cvs.openbsd.org: src

2010-07-25 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/25 17:36:31

Modified files:
sys/net: if_pfsync.c 

Log message:
Add missing braces so a loop will function as intended.
ok dlg@



CVS: cvs.openbsd.org: www

2010-07-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2010/07/28 05:03:23

Modified files:
.  : want.html 

Log message:
some cards with newer unsupported em(4) chips



CVS: cvs.openbsd.org: src

2010-07-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/28 09:45:04

Modified files:
sbin/iked  : ikev2_pld.c 

Log message:
Change back to the pre rev 1.11 behaviour of not treating unexpected
id payloads as errors.  Lets interop with strongSwan which sends
both IDi and IDr work again.



CVS: cvs.openbsd.org: src

2010-07-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/29 08:41:21

Modified files:
sbin/iked  : ikev2.c 

Log message:
some error cases returned 01 when they should have been returning -1
spotted by Mike Belopuhov.



CVS: cvs.openbsd.org: src

2010-07-30 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/30 07:31:47

Modified files:
sys/dev/pci/drm: radeon_drv.c 

Log message:
The device table entry for HD3470 was incorrectly using a logical or
instead of a binary or.  Found via lint.
ok oga@



CVS: cvs.openbsd.org: src

2010-08-02 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/02 03:29:54

Modified files:
usr.sbin/npppd/npppd: eap.c 

Log message:
Fix use of logical and where binary and was intended.
Spotted by Mike Belopuhov, ok yasuoka@



CVS: cvs.openbsd.org: src

2010-08-02 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/02 04:17:10

Modified files:
usr.sbin/pcidump: pcidump.c 

Log message:
Show PCIe link speed/width, earlier version ok miod@/kettenis@ then
tweaked to show both negotiated and capable as well as fixing a mask
after comments from damien@

ok deraadt@



CVS: cvs.openbsd.org: src

2010-08-03 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/03 04:08:03

Modified files:
usr.sbin/tcpdump: print-gtp.c 

Log message:
Fix a usage of logical and where binary and was intended.
Spotted by Mike Belopuhov. ok jsing@ deraadt@



CVS: cvs.openbsd.org: src

2010-08-03 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/03 10:11:57

Modified files:
sys/dev/pci: if_bnx.c 

Log message:
Correct use of logical and where binary and was intended.
Spotted by lint, but mirrors a similiar change in the
original FreeBSD code from over a year ago.

ok deraadt@



CVS: cvs.openbsd.org: src

2010-08-03 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/03 10:21:52

Modified files:
sys/dev/pci: if_em.c 

Log message:
Disable hardware VLAN stripping/insertion on 8257[56] for now.  While
stripping works insertion seems to have trouble in certain conditions,
which needs to be fixed before we want to enable hardware support for this.

ok deraadt@



CVS: cvs.openbsd.org: src

2010-08-03 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/03 10:39:34

Modified files:
sys/dev/pci: if_em_hw.c if_em_hw.h 

Log message:
Add support for 82576 fiber adapters based on Intel code in FreeBSD.
Thanks to Fridiric URBAN for setting up a test network to develop this on.
Tested by various people on copper adapters and fiber support
also tested by mickey.

ok deraadt@



CVS: cvs.openbsd.org: src

2010-08-04 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/04 11:10:34

Modified files:
sys/dev/pci: if_em.c 

Log message:
Correct a problem reported by Holger Mikolon that turns out to be
a bug in the initial EP80579 commit from dms that was exposed by gcc4.

Lots of help tracking down the block of code at fault from
Mike Belopuhov, but I spotted the problem in the end :)

ok kettenis@ deraadt@



CVS: cvs.openbsd.org: src

2010-08-06 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/06 08:32:13

Modified files:
usr.sbin/bgpd  : printconf.c 

Log message:
Correct a problem which could cause the wrong af to be displayed.
Found via the clang static analyser.
ok henning@ claudio@ deraadt@



CVS: cvs.openbsd.org: www

2010-08-09 Thread Jonathan Gray
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2010/08/09 05:06:25

Modified files:
.  : want.html 

Log message:
82576 fiber works now



CVS: cvs.openbsd.org: src

2010-08-11 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/11 04:03:29

Modified files:
sbin/pfctl : pfctl.c 

Log message:
Fix a logic problem which could in theory cause pfctl
to recursively print anchors with wildcards when not
requested via the command line but in practice only
applied to automatically generated inline anchors
(which don't have wildcards) or when recursion
was requested.

Found by the clang static analyser and behaviour explained
by mcbride@

ok henning@ mcbride@



CVS: cvs.openbsd.org: src

2010-08-11 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/11 05:35:09

Modified files:
sys/dev/pci: if_ix.c 

Log message:
Use the correct offsets when reading/writing to DCA_TXCTRL in the 82599
case.  Adapted from Intel code in FreeBSD and tested on 82598/82599.



CVS: cvs.openbsd.org: src

2010-08-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/20 11:00:40

Modified files:
sys/dev/ic : trm.c 
sys/netbt  : hci_event.c 

Log message:
add format strings implied by surplus arguments
found via the clang static analyser



CVS: cvs.openbsd.org: src

2010-08-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/21 12:42:12

Modified files:
sys/dev/usb: usbdevs 

Log message:
Huawei E1820, from David Zeillinger.



CVS: cvs.openbsd.org: src

2010-08-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/21 12:44:26

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2010-08-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/21 12:46:30

Modified files:
sys/dev/usb: umsm.c 

Log message:
Match the Huawei E1820, from David Zeillinger.



CVS: cvs.openbsd.org: src

2010-08-26 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/26 04:12:18

Modified files:
sys/dev/pci: pcidevs 

Log message:
Add HP iLO3 devices and another PLX bridge.



CVS: cvs.openbsd.org: src

2010-08-26 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/26 04:13:01

Modified files:
sys/dev/pci: pcidevs.h pcidevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2010-08-26 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/26 11:07:46

Modified files:
usr.sbin/rarpd : rarpd.8 rarpd.c 

Log message:
Allow multiple interfaces to be specified instead of all or one.
ok krw@ claudio@



CVS: cvs.openbsd.org: src

2010-08-26 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/26 12:25:38

Modified files:
usr.sbin/rarpd : rarpd.c 

Log message:
remove a silly comment that duplicates the usage string at the start of
the file.
spotted by jmc@



CVS: cvs.openbsd.org: src

2010-08-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/08/27 11:08:01

Modified files:
sys/dev/ic : acx.c an.c ath.c athn.c bwi.c malo.c pgt.c re.c 
 rt2560.c rt2661.c rt2860.c 
sys/dev/pci: if_age.c if_alc.c if_ale.c if_bce.c if_et.c 
 if_ipw.c if_iwi.c if_iwn.c if_jme.c if_lii.c 
 if_nfe.c if_se.c if_vge.c if_wpi.c 
sys/dev/pcmcia : if_malo.c 
sys/dev/usb: if_otus.c if_ral.c if_rum.c if_run.c if_uath.c 
 if_upgt.c if_urtw.c if_urtwreg.h if_zyd.c 
 ueagle.c 
sys/net: if.c if.h 
sys/arch/vax/qbus: if_de.c 

Log message:
remove the unused if_init callback in struct ifnet
ok deraadt@ henning@ claudio@



CVS: cvs.openbsd.org: src

2010-09-09 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/09 13:16:50

Modified files:
gnu/gcc/gcc/config/sh: lib1funcs.asm sh-protos.h sh.c sh.h 
gnu/usr.bin/cc : Makefile.tgt 
gnu/usr.bin/cc/cc_tools: Makefile 
gnu/usr.bin/cc/libgcc: Makefile 
Added files:
gnu/gcc/gcc/config/sh: openbsd.h 

Log message:
let gcc4 build on landisk
initial diff from jasper, finished by me with help from miod

ok jasper@ miod@ kettenis@



CVS: cvs.openbsd.org: www

2010-09-10 Thread Jonathan Gray
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2010/09/10 05:35:23

Modified files:
.  : 48.html 

Log message:
add some new drivers



CVS: cvs.openbsd.org: www

2010-09-10 Thread Jonathan Gray
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2010/09/10 06:43:30

Modified files:
.  : 48.html 

Log message:
more hardware improvements and correct OpenSSH version.



CVS: cvs.openbsd.org: src

2010-09-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/19 05:29:27

Modified files:
sys/dev/pci: if_em_hw.c 

Log message:
Check the right mask for additional functions in phy code for 82575
and don't treat a MNG read timeout as fatal as per the Intel code
in FreeBSD.

With these changes Peter Bisroev no longer sees problems with phy
initialisation across reboots on ET quad 82575 cards.

ok claudio@



CVS: cvs.openbsd.org: src

2010-09-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/19 18:11:37

Modified files:
sys/dev/ic : atw.c 

Log message:
After the gcc4 switch the stack protector triggers in atw
when a buffer is overflowed.  Fix this and increase the
size of the rate buffer (which is still  IEEE80211_RATE_MAXSIZE
due to hardware restrictions) while here.

ok claudio@ damien@



CVS: cvs.openbsd.org: src

2010-09-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/19 21:28:48

Modified files:
sys/dev/usb: uhci.c 

Log message:
Fix unitialised variable access in the suspend/resume case
that crept in with rev 1.77, spotted by the clang static analyser.

ok deraadt@



CVS: cvs.openbsd.org: src

2010-09-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/19 22:26:10

Modified files:
distrib/amd64/ramdisk_cd: list.local 
distrib/i386/ramdisk_cd: list.local 
distrib/landisk/ramdisk: list 
distrib/macppc/ramdisk: list 
distrib/socppc/ramdisk: list 
distrib/sparc64/bsd.rd: list 

Log message:
add some missing ral/run firmware to install media
ok deraadt@



CVS: cvs.openbsd.org: www

2010-09-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2010/09/20 00:14:04

Modified files:
.  : 48.html 

Log message:
add a few more things



CVS: cvs.openbsd.org: src

2010-09-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/21 02:02:49

Modified files:
sys/dev/usb: if_axe.c if_axereg.h 

Log message:
Better PHY probing adapted from FreeBSD by Laurent Ghigonis
fixes problems seen with Linksys USB300M.



CVS: cvs.openbsd.org: src

2010-09-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/21 05:41:34

Modified files:
sys/dev/pci: pcidevs 

Log message:
Add some devices from submitted dmesgs and correct some devices
that were mislabeled as MCP89 AHCI.



CVS: cvs.openbsd.org: src

2010-09-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/21 05:42:24

Modified files:
sys/dev/pci: pcidevs.h pcidevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2010-09-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/21 18:32:48

Modified files:
usr.sbin/npppd/npppdctl: npppdctl.c 

Log message:
make the arguments match the format string in usage
ok yasuoka@



CVS: cvs.openbsd.org: src

2010-09-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/21 18:35:19

Modified files:
sys/dev/ic : aic79xx.c 

Log message:
remove a leftover debug printf
ok krw@ marco@



CVS: cvs.openbsd.org: src

2010-09-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/21 20:28:37

Modified files:
sys/arch/amd64/amd64: rbus_machdep.c 
sys/arch/i386/i386: rbus_machdep.c 
sys/dev/cardbus: rbus.c rbus.h 
sys/arch/hppa/dev: dino.c elroy.c 
sys/arch/hppa64/dev: elroy.c 
sys/arch/macppc/macppc: rbus_machdep.c 
sys/arch/sgi/pci: macepcibridge.c 
sys/arch/sgi/xbow: xbridge.c 
sys/arch/sparc64/sparc64: rbus_machdep.c 

Log message:
remove unused offset argument to rbus functions
ok krw@ kettenis@



CVS: cvs.openbsd.org: src

2010-09-22 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/22 19:45:10

Modified files:
usr.sbin/npppd/npppd: Makefile npppd.c npppd_subr.c 
Removed files:
usr.sbin/npppd/common: rt_zebra.c rt_zebra.h rt_zebra_local.h 

Log message:
remove support for talking to the zebra routing socket which
was not enabled, we use a kernel routing socket for such things.

ok yasuoka@ claudio@



CVS: cvs.openbsd.org: src

2010-09-22 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/22 22:47:40

Modified files:
usr.sbin/npppd/common: ipsec_util.c ipsec_util_local.h 
   time_utils.c time_utils.h 
usr.sbin/npppd/npppdctl: npppdctl.8 

Log message:
Add the same license text to these files as the rest of npppd.
ok yasuoka@



CVS: cvs.openbsd.org: src

2010-09-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/23 18:00:41

Modified files:
usr.sbin/nsd   : nsd-checkconf.c 

Log message:
fix a overflow found by parfait
ok jakob@



CVS: cvs.openbsd.org: src

2010-09-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/09/23 18:55:48

Modified files:
sys/net: pf.c 

Log message:
kill some unused arguments to pf_create_state
ok henning@



CVS: cvs.openbsd.org: src

2010-10-07 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/10/07 09:17:38

Modified files:
usr.sbin/ikectl: ikeca.c 

Log message:
only try to setup a passfile when creating a CA



CVS: cvs.openbsd.org: src

2010-10-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/10/08 04:13:47

Modified files:
usr.sbin/ikectl: ikeca.c ikectl.8 ikectl.c parser.c parser.h 

Log message:
allow optional paths for the install commands so we can
install into the isakmpd directory hierarchy for example.



CVS: cvs.openbsd.org: src

2010-10-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/10/08 05:41:56

Modified files:
usr.sbin/ikectl: ikeca.c ikectl.c 

Log message:
if non absolute paths are specified in install commands assume they
are relative to /etc



CVS: cvs.openbsd.org: src

2010-10-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/10/08 05:51:56

Modified files:
usr.sbin/ikectl: ikectl.8 

Log message:
tweak for nroff



CVS: cvs.openbsd.org: src

2010-10-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/10/08 09:45:34

Modified files:
usr.sbin/ikectl: ikeca.c 

Log message:
check if a directory exists before trying to create it in the export
case as well, spotted by mikeb



CVS: cvs.openbsd.org: src

2010-10-13 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/10/13 02:14:23

Modified files:
bin/rcp: Makefile 
kerberosV/libexec/hprop: Makefile 
kerberosV/libexec/hpropd: Makefile 
kerberosV/libexec/ipropd-master: Makefile 
kerberosV/libexec/ipropd-slave: Makefile 
kerberosV/libexec/kadmind: Makefile 
kerberosV/libexec/kdc: Makefile 
kerberosV/libexec/kfd: Makefile 
kerberosV/libexec/kpasswdd: Makefile 
kerberosV/usr.bin/afslog: Makefile 
kerberosV/usr.bin/kauth: Makefile 
kerberosV/usr.bin/kdestroy: Makefile 
kerberosV/usr.bin/kf: Makefile 
kerberosV/usr.bin/kinit: Makefile 
kerberosV/usr.bin/klist: Makefile 
kerberosV/usr.bin/pagsh: Makefile 
kerberosV/usr.bin/string2key: Makefile 
kerberosV/usr.bin/verify_krb5_conf: Makefile 
kerberosV/usr.sbin/kadmin: Makefile 
kerberosV/usr.sbin/kstash: Makefile 
kerberosV/usr.sbin/ktutil: Makefile 
libexec/login_chpass: Makefile 
libexec/login_krb5: Makefile 
libexec/login_krb5-or-pwd: Makefile 
libexec/rshd   : Makefile 
usr.bin/ssh/ssh: Makefile 
usr.bin/ssh/sshd: Makefile 
usr.sbin/afs/usr.sbin/bos: Makefile 
usr.sbin/afs/usr.sbin/pts: Makefile 

Log message:
The heimdal code switched to using DES from libcrypto when 0.7.2
was imported over four years ago, so we don't need to link libdes
for kerberos anymore.

ok mikeb@ deraadt@



CVS: cvs.openbsd.org: src

2010-10-15 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/10/15 03:51:15

Modified files:
sbin/dhclient  : dhclient.c dhcp.h 

Log message:
Add and ignore DHCP option 66/0x42 TFTP server name.
ok krw@ phessler@



CVS: cvs.openbsd.org: src

2010-10-15 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/10/15 04:18:42

Modified files:
distrib/miniroot: makeconf.awk 
libexec/login_tis: Makefile login_tis.c 
libexec/login_token: Makefile token.c 
sbin/isakmpd   : Makefile crypto.c crypto.h 
usr.bin/passwd : Makefile krb5_passwd.c 
usr.bin/sectok : Makefile cyberflex.c 
usr.bin/telnet : Makefile enc_des.c 
usr.bin/x99token: Makefile x99token.c 
usr.sbin/ppp/ppp: Makefile chap_ms.c 
usr.sbin/tokenadm: Makefile 
usr.sbin/tokeninit: Makefile 
gnu/usr.bin/cvs: configure configure.in 
gnu/usr.bin/cvs/src: server.c 

Log message:
Switch the remaining users of libdes in src to libcrypto,
telnet portion partially from the latest heimdal.

ok mikeb@



CVS: cvs.openbsd.org: src

2010-10-15 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/10/15 04:39:12

Modified files:
regress/sbin/isakmpd/crypto: Makefile 
regress/sys/crypto/enc: Makefile des3.c 

Log message:
libdes - libcrypto



CVS: cvs.openbsd.org: src

2010-10-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/10/28 10:13:03

Modified files:
lib: Makefile 

Log message:
unlink libdes src/ports users have been switched to libcrypto



CVS: cvs.openbsd.org: src

2010-10-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/10/28 10:23:00

Removed files:
lib/libdes : COPYRIGHT MODES.DES Makefile README VERSION 
 cbc3_enc.c cbc_cksm.c cbc_enc.c cfb64ede.c 
 cfb64enc.c cfb_enc.c des.c des.doc des_crypt.3 
 des_enc.c des_locl.h des_locl.org des_opts.c 
 ecb3_enc.c ecb_enc.c ede_enc.c enc_read.c 
 enc_writ.c fcrypt.c ncbc_enc.c ofb64ede.c 
 ofb64enc.c ofb_enc.c options.txt pcbc_enc.c 
 podd.h qud_cksm.c rand_key.c read_pwd.c 
 rnd_keys.c rpc_enc.c set_key.c shlib_version 
 sk.h spr.h str2key.c supp.c xcbc_enc.c 
lib/libdes/asm : des-som2.pl des-som3.pl des586.pl des686.pl 
 desboth.pl dx86-cpp.s dx86unix.cpp readme 
 win32.asm win32.uu x86ms.pl x86unix.pl 

Log message:
remove libdes src/ports users have been switched to libcrypto



Re: CVS: cvs.openbsd.org: src

2010-10-28 Thread Jonathan Gray
On Thu, Oct 28, 2010 at 06:23:49PM +0059, Jason McIntyre wrote:
 On Thu, Oct 28, 2010 at 06:19:01PM +0100, Jason McIntyre wrote:
  
  so, what place is correct? des_crypt.3 looks like the best candidate,
  but note that FILES is now totally irrelevant. the other candidate
  appears to be crypt(3)...
  
 
 err, it's obviously not des_crypt(3), since this commit removed it!
 so, crypt(3)?
 
 jmc

lib/libssl/src/doc/crypto/des.pod
lib/libssl/src/doc/crypto/des_modes.pod

we don't currently install these however



CVS: cvs.openbsd.org: src

2010-11-03 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/11/03 06:01:10

Modified files:
usr.sbin/amd/amd: Makefile 

Log message:
$OpenBSD$



CVS: cvs.openbsd.org: src

2010-11-03 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/11/03 09:11:01

Modified files:
bin/pax: cpio.1 tar.1 

Log message:
remove $OpenBSD$ lines that duplicate earlier ones



CVS: cvs.openbsd.org: src

2010-11-09 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/11/09 10:59:30

Modified files:
sys/dev/pci/drm: drm_drv.c 

Log message:
correct some bit tests spotted by -Wparentheses in newer gcc.
ok oga@



CVS: cvs.openbsd.org: src

2010-11-09 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/11/09 14:14:47

Modified files:
sbin/ifconfig  : ifconfig.c 

Log message:
when setting the rdomain, use the same define as the kernel
for the maximum route-id instead of a currently incorrect number
ok claudio@



CVS: cvs.openbsd.org: src

2010-11-16 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/11/16 08:31:01

Modified files:
usr.sbin/relayd: pfe.c relay.c 

Log message:
Add support for enable/disable table when using relays instead of redirects.
From Patrik Lundin and Linus Widstromer.

ok reyk@



CVS: cvs.openbsd.org: src

2010-11-24 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/11/24 06:57:07

Modified files:
usr.sbin/relayd: relay.c 

Log message:
When disabling and enabling tables set the number of hosts that are up
to zero, consistent with pfe and makes other parts of the code better
behaved.  From Patrik Lundin.

ok reyk@



CVS: cvs.openbsd.org: www

2010-11-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2010/11/28 05:23:43

Modified files:
.  : want.html 

Log message:
remove a few things



CVS: cvs.openbsd.org: src

2010-12-01 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/12/01 03:35:19

Modified files:
sbin/pfctl : parse.y 

Log message:
remove some unused tokens
ok henning@ mcbride@



CVS: cvs.openbsd.org: src

2010-12-07 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/12/07 04:39:40

Modified files:
sys/net: if_pflog.c pf.c pfvar.h 

Log message:
remove a bunch of unused arguments
ok henning@



CVS: cvs.openbsd.org: src

2010-12-11 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/12/11 15:42:24

Modified files:
sys/dev/usb: usbdevs 

Log message:
ZTE MF112



CVS: cvs.openbsd.org: src

2010-12-11 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/12/11 15:45:02

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2010-12-11 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/12/11 15:53:30

Modified files:
sys/dev/usb: umsm.c 
share/man/man4 : umsm.4 

Log message:
Add support for the ZTE MF112 from MERIGHI Marcus.



CVS: cvs.openbsd.org: src

2010-12-12 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/12/12 06:55:23

Modified files:
share/man/man4 : rsu.4 
sys/dev/usb: if_rsu.c 

Log message:
Match the Planex GW-USNano.
ok damien@



CVS: cvs.openbsd.org: src

2010-12-12 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/12/12 15:29:40

Modified files:
usr.sbin/smtpd : dns.c 

Log message:
use memcpy instead of a cast/deref dance that was reading past
the end of the buffer.

tested by and ok gilles@



CVS: cvs.openbsd.org: src

2010-12-15 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/12/15 04:09:03

Modified files:
sys/dev/usb: uticom.c 

Log message:
make this not panic on attach
from Daniel Gracia



CVS: cvs.openbsd.org: src

2010-12-15 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/12/15 04:24:29

Modified files:
sys/arch/i386/conf: GENERIC 
sys/arch/amd64/conf: GENERIC 

Log message:
enable uticom(4) now it is known to work



CVS: cvs.openbsd.org: src

2010-12-15 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/12/15 17:07:25

Modified files:
sys/crypto : cryptodev.h 
lib/libssl/src/crypto/engine: hw_cryptodev.c 

Log message:
The VIA ciphers are added to an array of CRYPTO_ALGORITHM_MAX length
which should have been declared as CRYPTO_ALGORITHM_MAX + 1,
fix this and reserve enough space for the VIA additions as well.

ok/comments from mikeb  deraadt



<    4   5   6   7   8   9   10   11   12   13   >