re: CVS commit: src/sbin/resize_ffs

2017-09-29 Thread matthew green
> Modified Files:
>   src/sbin/resize_ffs: resize_ffs.c
> 
> Log Message:
> Fix the most obvious integer overflow errors which can lead to superblock
> corruption. Thanks to riastradh@

nicely done.

these two give me pause too, maybe make then size_t:

int i;  /* Generic loop index */
int n;  /* Generic count */


.mrg.


Re: CVS commit: src/sys/arch/x86/include

2017-09-29 Thread Maxime Villard

Le 29/09/2017 à 05:17, Ryota Ozaki a écrit :

Module Name:src
Committed By:   ozaki-r
Date:   Fri Sep 29 03:17:18 UTC 2017

Modified Files:
src/sys/arch/x86/include: pmap.h

Log Message:
Fix build

sys/arch/x86/x86/cpu.c:920:20: error: 'pmap_largepages' undeclared (first use 
in this function)
   smp_data.large = (pmap_largepages != 0);
 ^


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/x86/include/pmap.h

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


mmh yes, I patched my test machine but apparently didn't commit the updated
diff