Module Name:src
Committed By: maxv
Date: Sun Dec 28 12:19:21 UTC 2014
Modified Files:
src/sys/fs/ntfs: ntfs.h
Log Message:
Two typos:
- reserver4 - reserved4 (in struct bootfile)
- inducates - indicates (comment)
To generate a diff of this commit:
cvs rdiff -u -r1.20
Module Name:src
Committed By: maxv
Date: Sun Dec 28 12:57:44 UTC 2014
Modified Files:
src/sys/fs/ntfs: ntfs_vfsops.c
Log Message:
Ensure bps != 0 to prevent a division by zero. Zero byte per sector makes
no sense.
To generate a diff of this commit:
cvs rdiff -u -r1.98
Module Name:src
Committed By: maxv
Date: Sun Dec 28 13:11:52 UTC 2014
Modified Files:
src/sys/fs/ntfs: ntfs_vfsops.c
Log Message:
Prevent another division by zero in ntfs_loadntnode() by ensuring
spc != 0.
To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100
Module Name:src
Committed By: maxv
Date: Sun Dec 28 14:42:56 UTC 2014
Modified Files:
src/sys/fs/ntfs: ntfs_subr.c
Log Message:
Make this more readable (KNF).
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/fs/ntfs/ntfs_subr.c
Please note that
Module Name:src
Committed By: maxv
Date: Mon Dec 29 16:37:27 UTC 2014
Modified Files:
src/sys/fs/ntfs: ntfs_subr.c
Log Message:
Typos:
- nessesary - necessary (comment)
- UNEXISTED - NON-EXISTENT (dprintf)
- NON-EXISTANT - NON-EXISTENT (dprintf)
- reach - reaches
Module Name:src
Committed By: maxv
Date: Mon Dec 29 17:02:39 UTC 2014
Modified Files:
src/sys/fs/hfs: libhfs.c
Log Message:
I started to KNF this file but quickly ended up figuring out I was not
courageous enough for such ugliness. So I only KNF'ed the first 300
lines.
Module Name:src
Committed By: maxv
Date: Mon Dec 29 17:17:54 UTC 2014
Modified Files:
src/sys/fs/hfs: hfs_vfsops.c
Log Message:
Small cleanup:
- KNF
- malloc + memset - malloc(|M_ZERO)
- no need to check data == NULL
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: maxv
Date: Sat Feb 7 10:40:57 UTC 2015
Modified Files:
src/sys/fs/nilfs: nilfs_vfsops.c
Log Message:
Revert previous, it was a false positive.
In nilfs_mount_device() there's one branch where the node is not released:
when the device is
Module Name:src
Committed By: maxv
Date: Fri Feb 6 18:19:22 UTC 2015
Modified Files:
src/sys/kern: kern_malloc.c
src/sys/rump/librump/rumpkern: rump.c
src/sys/uvm: uvm_extern.h uvm_km.c
Log Message:
Kill kmeminit().
To generate a diff of this commit:
Module Name:src
Committed By: maxv
Date: Fri Feb 6 18:21:29 UTC 2015
Modified Files:
src/sys/kern: kern_malloc.c
Log Message:
Don't include uvm/uvm_extern.h
To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 src/sys/kern/kern_malloc.c
Please note that
Module Name:src
Committed By: maxv
Date: Fri Jan 16 17:02:13 UTC 2015
Modified Files:
src/sys/fs/ntfs: ntfs_subr.c
Log Message:
Fix a node leak.
Sent on tech-kern@, tested by martin@
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59
Module Name:src
Committed By: maxv
Date: Sun Feb 15 11:04:44 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_appleufs.c
Log Message:
Revert a change in my previous commit that broke the checksum calculation.
Noted by dholland@
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: maxv
Date: Thu Feb 19 21:31:45 UTC 2015
Modified Files:
src/sys/ufs/ext2fs: ext2fs_vfsops.c
Log Message:
e2fs_sbcheck(): add a check to ensure e2fs_bpg!=0. Otherwise the kernel
panics with a division by zero.
While here, remove the #ifdef's.
Module Name:src
Committed By: maxv
Date: Fri Feb 13 13:26:50 UTC 2015
Modified Files:
src/sys/kern: kern_pmf.c
Log Message:
Remove this MALLOC_DEFINE (M_PMF unused).
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/kern/kern_pmf.c
Please note that
Module Name:src
Committed By: maxv
Date: Fri Feb 13 15:28:56 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
Make this a bit more readable. No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.305 -r1.306
Module Name:src
Committed By: maxv
Date: Fri Feb 13 17:13:20 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
ffs_superblock_validate(): ensure fs-fs_cssize!=0, otherwise the kernel
panics with kmem_alloc(0).
To generate a diff of this commit:
cvs
Module Name:src
Committed By: maxv
Date: Fri Feb 13 15:52:29 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
Add a new function: ffs_superblock_validate(). And add a new check to
ensure fs_size!=0; otherwise the kernel panics with a division by zero.
Module Name:src
Committed By: maxv
Date: Fri Feb 13 16:59:53 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
Add some checks in ffs_superblock_validate():
- fs_bsize MINBSIZE
- !powerof2(fs_bsize)
- !powerof2(fs-fs_fsize)
- fs_bsize fs-fs_fsize
Module Name:src
Committed By: maxv
Date: Fri Feb 13 17:55:24 UTC 2015
Removed Files:
src/sys/kern: kern_verifiedexec.c
Log Message:
... and I forgot to actually remove kern_verifiedexec.c.
As I said in the first revision of kern_veriexec.c: rename
kern_verifiedexec.c to
Module Name:src
Committed By: maxv
Date: Fri Feb 13 17:50:48 UTC 2015
Modified Files:
src/share/man/man9: veriexec.9
src/sys/conf: files
Added Files:
src/sys/kern: kern_veriexec.c
Log Message:
Rename kern_verifiedexec.c to kern_veriexec.c. Veriexec is the
Module Name:src
Committed By: maxv
Date: Sat Feb 14 10:21:29 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
ffs_superblock_validate(): compute fs_bshift and fs_fshift, and ensure
they are consistent with what is indicated in the superblock. This
Module Name:src
Committed By: maxv
Date: Sat Feb 14 09:55:53 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
In fact, we need to sanitize the superblock *after* swapping it. Therefore,
move the swap code inside the loop.
'fs-fs_sbsize' is swapped
Module Name:src
Committed By: maxv
Date: Sat Feb 14 13:43:28 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
ffs_superblock_validate(): when checking the number of frag blocks, also
make sure it matches fs-fs_frag. This also prevents an infinite loop
Module Name:src
Committed By: maxv
Date: Sat Feb 14 07:11:34 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
ffs_reload(): call ffs_superblock_validate() with the new superblock.
To generate a diff of this commit:
cvs rdiff -u -r1.309 -r1.310
Module Name:src
Committed By: maxv
Date: Sat Feb 14 07:20:11 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
Style. No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.310 -r1.311 src/sys/ufs/ffs/ffs_vfsops.c
Please note that
Module Name:src
Committed By: maxv
Date: Sat Feb 14 07:41:40 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
Currently, in ffs_reload(), we don't handle the possibility that the
superblock location may have changed. But that implies that we don't
Module Name:src
Committed By: maxv
Date: Sat Feb 14 07:56:31 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_appleufs.c
Log Message:
KNF. No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/ufs/ffs/ffs_appleufs.c
Please note that
Module Name:src
Committed By: maxv
Date: Sat Feb 14 08:07:39 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_appleufs.c
Log Message:
ffs_appleufs_validate():
- remove superfluous printfs
- ensure ul_namelen!=0, otherwise the kernel accesses ul_name[-1] and
overwrites
Module Name:src
Committed By: maxv
Date: Sat Feb 14 09:00:12 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
ffs_superblock_validate(): sanitize the number of frag blocks.
To generate a diff of this commit:
cvs rdiff -u -r1.312 -r1.313
Module Name:src
Committed By: maxv
Date: Sat Feb 14 09:06:11 UTC 2015
Modified Files:
src/sys/ufs/ffs: fs.h
Log Message:
Two typos:
- preferrably - preferably
- overriden - overridden
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66
Module Name:src
Committed By: maxv
Date: Sat Mar 14 19:52:54 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
ffs_superblock_validate(): ensure fs_ipg and fs_fpg are != 0. Otherwise
division by zero in several places.
To generate a diff of this
Module Name:src
Committed By: maxv
Date: Sun Mar 15 09:21:01 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
ffs_reload(): fix a bug that prevents Big Endian FSes from being reloaded.
'newfs' should be tagged as FS_SWAPPED, not 'fs'.
Was here before
Module Name:src
Committed By: maxv
Date: Fri Mar 20 20:36:28 UTC 2015
Modified Files:
src/sys/compat/linux/common: linux_exec_elf32.c
src/sys/compat/linux32/common: linux32_exec_elf32.c
src/sys/compat/netbsd32: netbsd32_exec_elf32.c
Module Name:src
Committed By: maxv
Date: Tue Mar 10 12:59:32 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
ffs_superblock_validate(): check the number of inodes per block. Otherwise
a malformed value could panic the system.
To generate a diff of
Module Name:src
Committed By: maxv
Date: Fri Mar 6 19:03:30 UTC 2015
Modified Files:
src/sys/nfs: krpc_subr.c
Log Message:
Fix uninitialized variable.
Found by The Brainy Code Scanner in FreeBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38
Module Name:src
Committed By: maxv
Date: Sat Mar 28 19:24:06 UTC 2015
Modified Files:
src/share/man/man9: buffercache.9
src/sys/fs/adosfs: advfsops.c advnops.c
src/sys/fs/cd9660: cd9660_lookup.c cd9660_rrip.c cd9660_vfsops.c
cd9660_vnops.c
Module Name:src
Committed By: maxv
Date: Sat Mar 28 19:29:16 UTC 2015
Modified Files:
src/sys/sys: param.h
Log Message:
7.99.8 (bread, breadn)
To generate a diff of this commit:
cvs rdiff -u -r1.467 -r1.468 src/sys/sys/param.h
Please note that diffs are not public
Module Name:src
Committed By: maxv
Date: Sat Mar 28 16:55:21 UTC 2015
Modified Files:
src/sys/kern: vfs_bio.c
Log Message:
Remove the 'cred' argument from bio_doread().
To generate a diff of this commit:
cvs rdiff -u -r1.252 -r1.253 src/sys/kern/vfs_bio.c
Please note
Module Name:src
Committed By: maxv
Date: Sat Mar 28 17:23:43 UTC 2015
Modified Files:
src/share/man/man9: buffercache.9
src/sys/fs/cd9660: cd9660_vnops.c
src/sys/kern: vfs_bio.c
src/sys/sys: buf.h
src/sys/ufs/chfs: chfs_vnops.c
Module Name:src
Committed By: maxv
Date: Tue Mar 3 17:56:51 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
ffs_reload(): release 'bp' earlier
To generate a diff of this commit:
cvs rdiff -u -r1.320 -r1.321 src/sys/ufs/ffs/ffs_vfsops.c
Please note
Module Name:src
Committed By: maxv
Date: Tue Mar 3 17:46:39 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
ffs_reload(): the current implementation blindly guesses critical fields
of the superblock didn't change. Add checks to ensure they didn't
Module Name:src
Committed By: maxv
Date: Sun Feb 22 14:12:48 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_quota2.c
Log Message:
KNF, and simplify a bit.
No functional change
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/ufs/ffs/ffs_quota2.c
Module Name:src
Committed By: maxv
Date: Sun Feb 22 14:22:34 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
ffs_superblock_validate(): sanitize fs_fragshift, fs_bmask and fs_fmask.
To generate a diff of this commit:
cvs rdiff -u -r1.317 -r1.318
Module Name:src
Committed By: maxv
Date: Sun Feb 22 14:55:23 UTC 2015
Modified Files:
src/sys/ufs/ext2fs: ext2fs_vfsops.c
Log Message:
Merge _sbcompute() and _sbcheck() into _sbfill().
In ext2fs_sbfill(), check more fields of the superblock, to prevent
several kernel
Module Name:src
Committed By: maxv
Date: Mon Feb 23 13:38:54 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
Small changes:
- instead of always calling DPRINTF with __func__, put __func__ directly
in the macro
- ffs_mountfs(): rename fsblockloc -
Module Name:src
Committed By: maxv
Date: Mon Feb 23 17:05:59 UTC 2015
Modified Files:
src/sys/ufs/ext2fs: ext2fs_vfsops.c
Log Message:
Hum. Perhaps I missed a bit of the specification. Let's not be that
severe when checking the superblock.
Should fix ATF.
To generate a
Module Name:src
Committed By: maxv
Date: Fri Feb 20 17:44:54 UTC 2015
Modified Files:
src/sys/ufs/ext2fs: ext2fs_vfsops.c
Log Message:
Several fixes:
- rename ext2fs_checksb() - ext2fs_sbcheck(): more consistent
- in ext2fs_sbcheck(), add a check to ensure
Module Name:src
Committed By: maxv
Date: Fri Feb 20 17:08:13 UTC 2015
Modified Files:
src/sys/fs/ntfs: ntfs_compr.c ntfs_conv.c ntfs_ihash.c ntfs_subr.c
ntfs_vfsops.c
Log Message:
Cosmetic changes:
- add a ffs-like ntfs_superblock_validate function
- remove
Module Name:src
Committed By: maxv
Date: Fri Feb 20 17:10:17 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
Style, and fix a DPRINTF
No functional change
To generate a diff of this commit:
cvs rdiff -u -r1.316 -r1.317 src/sys/ufs/ffs/ffs_vfsops.c
Module Name:src
Committed By: maxv
Date: Mon Apr 20 14:10:31 UTC 2015
Modified Files:
src/usr.sbin/sysinst: msg.mbr.fr msg.mi.fr
Log Message:
Fix the French translation.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/msg.mbr.fr
cvs
Module Name:src
Committed By: maxv
Date: Sat Apr 25 19:10:29 UTC 2015
Modified Files:
src/sys/kern: kern_veriexec.c
Log Message:
Make veriexec_renamechk() more readable. Also add a KASSERT on vte_count.
No real functional change
To generate a diff of this commit:
cvs
Module Name:src
Committed By: maxv
Date: Sun Apr 26 06:19:36 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
ffs_superblock_validate(): check the size of cylinder groups.
To generate a diff of this commit:
cvs rdiff -u -r1.329 -r1.330
Module Name:src
Committed By: maxv
Date: Sun Apr 26 09:16:06 UTC 2015
Modified Files:
src/sys/kern: kern_veriexec.c
Log Message:
If we already have an entry for the file being loaded, return EEXIST, don't
silently skip it.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: maxv
Date: Sun Apr 26 09:20:10 UTC 2015
Modified Files:
src/sbin/veriexecctl: veriexecctl.c
Log Message:
Be a bit more verbose if the kernel rejects a file
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38
Module Name:src
Committed By: maxv
Date: Sun Apr 26 09:38:01 UTC 2015
Modified Files:
src/sys/dev: verified_exec.c
Log Message:
KNF
To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/dev/verified_exec.c
Please note that diffs are not public domain;
Module Name:src
Committed By: maxv
Date: Sun Apr 26 09:45:40 UTC 2015
Modified Files:
src/sys/dev: verified_exec.c
Log Message:
Not to add even more confusion in an already overcomplicated subsystem,
remove the FreeBSD code. This code is likely to be outdated, and
Module Name:src
Committed By: maxv
Date: Sat Apr 25 09:08:51 UTC 2015
Modified Files:
src/sys/kern: kern_veriexec.c
Log Message:
Don't mix veriexec lock and file lock in veriexec_file_verify().
Now:
- 'veriexec_op_lock' needs to be held when calling
Module Name:src
Committed By: maxv
Date: Sat Apr 25 08:19:06 UTC 2015
Modified Files:
src/sys/kern: kern_veriexec.c
Log Message:
KNF
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/kern/kern_veriexec.c
Please note that diffs are not public domain;
Module Name:src
Committed By: maxv
Date: Sun Apr 19 16:14:04 UTC 2015
Modified Files:
src/usr.sbin/sysinst: msg.mbr.fr msg.mi.fr
Log Message:
Several fixes for the French translation. Looks like the '{\n' break the
interface: the No buttons sometimes disappear.
Actually
Module Name:src
Committed By: maxv
Date: Wed Apr 22 07:27:09 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
Instead of duplicating code, create ffs_is_appleufs(): returns 1 if the
device is an AppleUFS FS, 0 otherwise.
This changes the behavior a
Module Name:src
Committed By: maxv
Date: Mon Apr 27 09:17:31 UTC 2015
Modified Files:
src/sys/kern: kern_veriexec.c
Log Message:
Remove FreeBSD.
ok elad@
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/kern/kern_veriexec.c
Please note that diffs
Module Name:src
Committed By: maxv
Date: Mon Apr 27 09:19:58 UTC 2015
Modified Files:
src/sys/kern: exec_elf.c
Log Message:
Remove #ifdef notyet.
To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/kern/exec_elf.c
Please note that diffs are not public
Module Name:src
Committed By: maxv
Date: Thu May 14 07:27:14 UTC 2015
Modified Files:
src/sys/dev/pci: hifn7751.c
Log Message:
Use-after-free. Found by Brainy.
ok christos@
To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/dev/pci/hifn7751.c
Please
Module Name:src
Committed By: maxv
Date: Sat Apr 4 06:00:12 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
ffs_superblock_validate(): ensure fs_ncg!=0 and fs_maxbpg!=0 to prevent
several divisions by zero.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: maxv
Date: Sun Jun 21 13:40:25 UTC 2015
Modified Files:
src/sys/fs/hfs: libhfs.c
Log Message:
KNF
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/fs/hfs/libhfs.c
Please note that diffs are not public domain; they are
Module Name:src
Committed By: maxv
Date: Sun Jun 21 14:09:48 UTC 2015
Modified Files:
src/sys/fs/hfs: unicode.c
Log Message:
KNF
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/hfs/unicode.c
Please note that diffs are not public domain; they are
Module Name:src
Committed By: maxv
Date: Sun Jun 21 14:00:40 UTC 2015
Modified Files:
src/sys/fs/hfs: libhfs.h
Log Message:
KNF
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/fs/hfs/libhfs.h
Please note that diffs are not public domain; they are
Module Name:src
Committed By: maxv
Date: Sun Jun 21 13:43:58 UTC 2015
Modified Files:
src/sys/fs/hfs: hfs_subr.c
Log Message:
KNF
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/fs/hfs/hfs_subr.c
Please note that diffs are not public domain; they
Module Name:src
Committed By: maxv
Date: Sun Jun 21 13:50:34 UTC 2015
Modified Files:
src/sys/fs/hfs: hfs_vnops.c
Log Message:
KNF
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/fs/hfs/hfs_vnops.c
Please note that diffs are not public domain;
Module Name:src
Committed By: maxv
Date: Sat Jul 4 06:13:01 UTC 2015
Modified Files:
src/sys/arch/amiga/amiga: disksubr.c
Log Message:
Remove a dead continue.
Harmless, found by Brainy
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63
Module Name:src
Committed By: maxv
Date: Sat Jul 4 06:14:41 UTC 2015
Modified Files:
src/sys/arch/ofppc/ofppc: disksubr.c
Log Message:
Remove a dead continue.
Harmless, found by Brainy
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26
Module Name:src
Committed By: maxv
Date: Mon Jun 29 12:27:41 UTC 2015
Modified Files:
src/sys/dev/pci: if_et.c
Log Message:
Use-after-free.
ok christos@
Found by Brainy.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/if_et.c
Please note
Module Name:src
Committed By: maxv
Date: Sun Jun 28 10:04:32 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_snapshot.c
Log Message:
Small fixes.
ok hannken@
To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/sys/ufs/ffs/ffs_snapshot.c
Please note that
Module Name:src
Committed By: maxv
Date: Mon Jun 29 16:36:17 UTC 2015
Modified Files:
src/sys/arch/mips/atheros: ar_intr.c
Log Message:
Remove a dead branch. Could look like a memory leak, but ih cannot be
NULL.
Found by Brainy.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: maxv
Date: Sun Jun 28 15:13:29 UTC 2015
Modified Files:
src/sys/arch/arm/xscale: ixp425_if_npe.c
Log Message:
Initialize 'error'.
Can't test, but obvious enough apparently.
Found by Brainy.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: maxv
Date: Sun Jun 28 09:15:45 UTC 2015
Modified Files:
src/sys/arch/pmax/tc: dt.c
Log Message:
Use-after-free.
ok christos@
Found by The Brainy Code Scanner.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12
Module Name:src
Committed By: maxv
Date: Sat May 23 16:59:13 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
Add a missing goto.
(was here before my changes)
ok christos@
To generate a diff of this commit:
cvs rdiff -u -r1.333 -r1.334
Module Name:src
Committed By: maxv
Date: Sat May 23 17:05:03 UTC 2015
Modified Files:
src/share/man/man9: malloc.9
Log Message:
Remove the DIAGNOSTIC section, and two references to MALLOC and FREE.
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52
Module Name:src
Committed By: maxv
Date: Tue Jul 28 08:59:48 UTC 2015
Modified Files:
src/share/man/man9: kmem.9
Log Message:
Document KMEM_SIZE, KMEM_REDZONE and KMEM_GUARD.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man9/kmem.9
Please
rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Maxime Villard.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions
Module Name:src
Committed By: maxv
Date: Sun Aug 2 07:37:57 UTC 2015
Modified Files:
src/sys/compat/netbsd32: netbsd32_ioctl.c
Log Message:
Wrong logic. Here, userland can control the size and the data copied, which
basically means it can overflow kernel memory.
ok
Module Name:src
Committed By: maxv
Date: Tue Aug 4 12:44:04 UTC 2015
Modified Files:
src/sys/kern: kern_veriexec.c
Log Message:
Remove uvm_extern.h and exec.h (unused).
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/kern/kern_veriexec.c
Please
Module Name:src
Committed By: maxv
Date: Tue Aug 4 11:42:08 UTC 2015
Modified Files:
src/sys/kern: kern_veriexec.c
Log Message:
Small changes:
- remove the per-page stuff. It has been disabled for 10 years, and it is
not implemented properly.
- typo in comment
-
Module Name:src
Committed By: maxv
Date: Fri Jul 31 07:37:17 UTC 2015
Modified Files:
src/sys/kern: kern_exec.c kern_pax.c
src/sys/sys: pax.h
Log Message:
Small changes:
- rename pax_aslr_init() to pax_aslr_init_vm()
- remove the PAX_ flags (unused)
- fix a
- * Simulation Facility, NASA Ames Research Center, and by Andrew Doran.
+ * Simulation Facility, NASA Ames Research Center; by Andrew Doran, and by
+ * Maxime Villard.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
Module Name:src
Committed By: maxv
Date: Wed Aug 5 15:58:01 UTC 2015
Modified Files:
src/sys/kern: exec_elf.c
Log Message:
stupid comment, and make sure we are not executing a lib
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/kern/exec_elf.c
Module Name:src
Committed By: maxv
Date: Thu Jul 30 08:11:44 UTC 2015
Modified Files:
src/sys/kern: sys_pset.c
Log Message:
Don't forget to unlock the LWP.
ok rmind@
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/kern/sys_pset.c
Please note that
Module Name:src
Committed By: maxv
Date: Thu Jul 30 09:55:57 UTC 2015
Modified Files:
src/sys/compat/netbsd32: netbsd32_netbsd.c
src/sys/uvm: uvm_swap.c uvm_swap.h
Log Message:
Lock before calling uvm_swap_stats(). Otherwise a race condition could
corrupt memory.
Module Name:src
Committed By: maxv
Date: Fri Aug 7 13:53:28 UTC 2015
Modified Files:
src/sys/arch/acorn26/conf: FOURMEG INSTALL
src/sys/arch/acorn32/conf: NC
src/sys/arch/arc/conf: M403 PICA
src/sys/arch/evbarm/conf: ADI_BRH ARMADILLO210 BCM5301X
Module Name:src
Committed By: maxv
Date: Fri Aug 7 13:56:48 UTC 2015
Modified Files:
src/share/man/man9: malloc.9
Log Message:
Remove KMEMSTATS.
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/share/man/man9/malloc.9
Please note that diffs are not
Module Name:src
Committed By: maxv
Date: Sat Aug 8 12:02:35 UTC 2015
Modified Files:
src/sys/compat/osf1: osf1_socket.c
Log Message:
easy kmem_alloc(0)
ok shm@
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/compat/osf1/osf1_socket.c
Please note
Module Name:src
Committed By: maxv
Date: Sat Aug 8 06:24:40 UTC 2015
Modified Files:
src/sys/kern: exec_elf.c
Log Message:
revert; but still fix the comment
To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/kern/exec_elf.c
Please note that diffs
Module Name:src
Committed By: maxv
Date: Sat Aug 8 06:36:26 UTC 2015
Modified Files:
src/sys/arch/alpha/conf: GENERIC
src/sys/arch/amd64/conf: ALL GENERIC XEN3_DOM0
src/sys/arch/arc/conf: GENERIC
src/sys/arch/bebox/conf: GENERIC
Module Name:src
Committed By: maxv
Date: Fri Aug 7 07:14:43 UTC 2015
Modified Files:
src/share/man/man4: options.4
Log Message:
Remove the malloc debug options. They no longer exist.
To generate a diff of this commit:
cvs rdiff -u -r1.445 -r1.446
Module Name:src
Committed By: maxv
Date: Fri Aug 7 07:34:56 UTC 2015
Modified Files:
src/share/man/man4: options.4
Log Message:
Remove KMEMSTATS
To generate a diff of this commit:
cvs rdiff -u -r1.446 -r1.447 src/share/man/man4/options.4
Please note that diffs are not
Module Name:src
Committed By: maxv
Date: Fri Aug 7 07:29:34 UTC 2015
Modified Files:
src/sys/arch/alpha/conf: RAWHIDE
src/sys/arch/evbarm/conf: IMX31LITE IXM1200 NAPPI OSK5912 TEAMASA_NPWR
VIPER
src/sys/arch/evbmips/conf: ADM5120 ADM5120-NB
Module Name:src
Committed By: maxv
Date: Tue Aug 4 18:28:10 UTC 2015
Modified Files:
src/sys/kern: exec_elf.c kern_pax.c
src/sys/sys: pax.h
src/sys/uvm: uvm_mmap.c
Log Message:
Some changes, to reduce a bit my tech-kern@ patch:
- move the P_PAX_ flags
Module Name:src
Committed By: maxv
Date: Fri Aug 7 15:53:24 UTC 2015
Modified Files:
src/doc: CHANGES CHANGES.prev
Log Message:
Document some of my most important changes
(a bit late...)
To generate a diff of this commit:
cvs rdiff -u -r1.2087 -r1.2088 src/doc/CHANGES
Module Name:src
Committed By: maxv
Date: Fri Aug 7 14:12:05 UTC 2015
Modified Files:
src/sys/arch/dreamcast/conf: GENERIC
src/sys/arch/evbmips/conf: ALCHEMY AP30 CPMBR1400 DB120 MERAKI RB433UAH
XLSATX ZYXELKX
src/sys/arch/evbppc/conf:
Module Name:src
Committed By: maxv
Date: Sat Aug 15 10:18:07 UTC 2015
Modified Files:
src/share/man/man9: pool.9
Log Message:
Remove POOL_INIT() (does not exist).
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/share/man/man9/pool.9
Please note that
101 - 200 of 2508 matches
Mail list logo