CVS commit: src/lib/librumpuser

2014-07-10 Thread Justin Cormack
Module Name:src
Committed By:   justin
Date:   Thu Jul 10 08:17:43 UTC 2014

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Reinstate include of netdb.h, needed on some cross builds


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet

2014-07-10 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Thu Jul 10 14:05:19 UTC 2014

Modified Files:
src/sys/netinet: tcp_usrreq.c

Log Message:
tcp_accept: simplify a little.


To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 src/sys/netinet/tcp_usrreq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2014-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 10 15:00:28 UTC 2014

Modified Files:
src/sys/kern: kern_fileassoc.c

Log Message:
table can't be NULL here.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/kern/kern_fileassoc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2014-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 10 15:15:54 UTC 2014

Modified Files:
src/sys/ufs/ffs: ffs_wapbl.c

Log Message:
CID 975226: hande error from UFS_WAPBL_BEGIN


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/ufs/ffs/ffs_wapbl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/ic

2014-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 10 15:26:30 UTC 2014

Modified Files:
src/sys/dev/ic: smc91cxx.c

Log Message:
add missing fallthrough


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/dev/ic/smc91cxx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2014-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 10 15:32:10 UTC 2014

Modified Files:
src/sys/net: bpf.c

Log Message:
initialize args the same way we do in filter.


To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 src/sys/net/bpf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2014-07-10 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jul 10 19:12:07 UTC 2014

Modified Files:
src/sys/kern: sys_module.c

Log Message:
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.

ok christos@


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/kern/sys_module.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2014-07-10 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jul 10 19:21:46 UTC 2014

Modified Files:
src/sys/kern: sys_module.c

Log Message:
Simplify a bit


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/sys_module.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/fsck_msdos

2014-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 10 21:00:52 UTC 2014

Modified Files:
src/sbin/fsck_msdos: fat.c

Log Message:
Bring in a regression for the previous fix from OpenBSD


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sbin/fsck_msdos/fat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/fsck_msdos

2014-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 10 21:06:20 UTC 2014

Modified Files:
src/sbin/fsck_msdos: check.c

Log Message:
Well, if you set FSFIXFAT, better do it... Try running fsck on:

$ newfs_msdos -C 1M ./poc.fs
$ dd if=/dev/zero of=poc.fs conv=notrunc bs=1 count=1 seek=512

multiple times and see that it does not get fixed.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sbin/fsck_msdos/check.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2014-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 10 21:13:52 UTC 2014

Modified Files:
src/sys/kern: subr_extent.c subr_prof.c sys_module.c

Log Message:
don't cast void * in c.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/kern/subr_extent.c
cvs rdiff -u -r1.46 -r1.47 src/sys/kern/subr_prof.c
cvs rdiff -u -r1.16 -r1.17 src/sys/kern/sys_module.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2014-07-10 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Jul 11 02:23:44 UTC 2014

Modified Files:
src/sys/dev/pci: if_wm.c if_wmreg.h

Log Message:
Fix some bugs realted to semaphore. This change fixes a problem which
was exposed in if_wm.c rev. 1.271. Tested by riastradh@.
- Clear the SMBI bit in SWSM register before accessing NVM and PHY in
  wm_attach(). Same as FreeBSD.
- Fix a bug that 82573 doesn't put the hardware semaphore. Same as
  FreeBSD r256200.


To generate a diff of this commit:
cvs rdiff -u -r1.272 -r1.273 src/sys/dev/pci/if_wm.c
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/pci/if_wmreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.