CVS: cvs.openbsd.org: src

2012-12-10 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:src
Changes by: jas...@cvs.openbsd.org  2012/12/10 03:12:12

Modified files:
usr.bin/pkg-config: pkg-config pkg-config.1 

Log message:
Document --{exact,max}-version



CVS: cvs.openbsd.org: src

2012-12-10 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2012/12/10 03:39:01

Modified files:
sbin/dhclient  : dhclient.c 

Log message:
add -i to usage(); ok krw



CVS: cvs.openbsd.org: src

2012-12-10 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2012/12/10 06:01:26

Modified files:
share/man/man9 : bus_dma.9 

Log message:
Mention the BUS_DMA_NOCACHE flag, prodded by oga, reads ok to jmc@



CVS: cvs.openbsd.org: src

2012-12-10 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2012/12/10 08:06:45

Modified files:
sys/arch/amd64/amd64: aesni.c 

Log message:
Implement support for Extended Sequence Numbers for the aesni driver
exercising the same approach as in sys/crypto/cryptosoft.c rev1.67.



CVS: cvs.openbsd.org: src

2012-12-10 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2012/12/10 09:32:13

Modified files:
sys/arch/macppc/pci: macobio.c macobio.h 

Log message:
Correct macobio functions to only read and write one byte of data instead
of four. This fix a kernel panic on PowerMac G5 present since r1.22 of
i2s.c, issue reported by Chris Jackman, thanks!



CVS: cvs.openbsd.org: src

2012-12-10 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2012/12/10 10:36:10

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

Log message:
adjust mbuf chain data pointer so that ip header would appear
word aligned; remove pool constraints insanity while here



CVS: cvs.openbsd.org: src

2012-12-10 Thread Martynas Venckus
CVSROOT:/cvs
Module name:src
Changes by: marty...@cvs.openbsd.org2012/12/10 11:06:12

Modified files:
gnu/gcc/gcc/config/alpha: alpha.md 

Log message:
Fix unaligned memory loads on Alpha.  GCC used to generate them in
the following manner:
([reg:A  -8]  (64 - (((reg:FP+reg:B)  0x7)  3)))  56

This fails when we're doing loads with the offset from the frame
pointer %8.  Since it's aligned, optimizer makes it a zero.  The
correct expression is:
([reg:A  -8]  (56 - (((reg:FP+reg:B-1)  0x7)  3)))  56

This is actually a 13-year-old bug.  Checked by Miod;  a few files
in the kernel were affected.  Spotted with SSP for Alpha.
OK miod@.  Tested by naddy@.



CVS: cvs.openbsd.org: src

2012-12-10 Thread Martynas Venckus
CVSROOT:/cvs
Module name:src
Changes by: marty...@cvs.openbsd.org2012/12/10 11:07:46

Modified files:
gnu/gcc/gcc: c-bounded.c 

Log message:
Fix c-bounded when arrays are declared without the size expression.
The array_size was uninitialized and used to work by accident.
Spotted with SSP on MIPS.
OK miod@.  Tested by jasper@.



CVS: cvs.openbsd.org: src

2012-12-10 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2012/12/10 14:35:52

Modified files:
sbin/atactl: atactl.8 

Log message:
escape some exclamation marks to avoid unwanted double spacing;



CVS: cvs.openbsd.org: src

2012-12-10 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2012/12/10 15:32:00

Modified files:
sys/sys: types.h 

Log message:
does not need cdefs.h
(it might come back if guenther and i cleanup the endian.h mess)
ok guenther



CVS: cvs.openbsd.org: src

2012-12-10 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2012/12/10 15:34:54

Modified files:
sys/nfs: nfs_syscalls.c 

Log message:
Ensure NFS will only consume up to 1/4 of the available buffer
mapping kva when busying up buffers in an nfsiod. (this in
addition to the previous check for 1/4 of the total buffer space)
This makes sparc installs work over nfsv2.
ok deraadt@



CVS: cvs.openbsd.org: src

2012-12-10 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2012/12/10 15:42:54

Modified files:
sys/uvm: uvm_pdaemon.c 

Log message:
Always back the buffer cache off on any page daemon wakeup. This avoids
a few problems noticed by phessler@ and beck@ where certain allocations
would repeatedly wake the page daemon even though the page daemon's targets
were met already so it didn't do any work. We can avoid this problem when
the buffer cache has pages to throw away by always doing so any time
the page daemon is woken, rather than only when we are under the free
page target.
ok phessler@ deraadt@



CVS: cvs.openbsd.org: src

2012-12-10 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2012/12/10 15:58:04

Modified files:
sys/ufs/ffs: ffs_softdep.c 

Log message:
Fix potential for use-after-free of bufs in softdep.

Softdep uses it's own getdirtybuf which has (always) potentially
slept - this wasn't noticable when buffers were static and never freed,
however now that the bufs it was trying to busy is might have been
written out and freed by someone else we can see use-after free if we
fast-recycle buffers. We fix this by either re-trying operations
or ensuring we don't use the buf pointer after waiting.

ok guenther@ (in coimbra)



CVS: cvs.openbsd.org: src

2012-12-10 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2012/12/10 18:57:28

Modified files:
distrib/sets/lists/comp: mi 

Log message:
sync