CVS commit: [uebayasi-xip] src/sys/uvm

2010-07-15 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Jul 15 08:33:47 UTC 2010

Modified Files:
src/sys/uvm [uebayasi-xip]: uvm_bio.c uvm_fault.c uvm_page.c uvm_page.h

Log Message:
Rename PG_DIRECT to PG_XIP.  PG_XIP is marked to XIP vnode pages.


To generate a diff of this commit:
cvs rdiff -u -r1.68.2.8 -r1.68.2.9 src/sys/uvm/uvm_bio.c
cvs rdiff -u -r1.166.2.17 -r1.166.2.18 src/sys/uvm/uvm_fault.c
cvs rdiff -u -r1.153.2.44 -r1.153.2.45 src/sys/uvm/uvm_page.c
cvs rdiff -u -r1.59.2.25 -r1.59.2.26 src/sys/uvm/uvm_page.h

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



CVS commit: [uebayasi-xip] src/sys/miscfs/genfs

2010-07-15 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Thu Jul 15 14:13:11 UTC 2010

Modified Files:
src/sys/miscfs/genfs [uebayasi-xip]: genfs_io.c

Log Message:
s/PG_DIRECT/PG_XIP/


To generate a diff of this commit:
cvs rdiff -u -r1.36.2.15 -r1.36.2.16 src/sys/miscfs/genfs/genfs_io.c

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



CVS commit: src/doc

2010-07-15 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jul 15 16:29:42 UTC 2010

Modified Files:
src/doc: CHANGES

Log Message:
some recent changes


To generate a diff of this commit:
cvs rdiff -u -r1.1413 -r1.1414 src/doc/CHANGES

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



CVS commit: src/sys/arch/i386/i386

2010-07-15 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Thu Jul 15 18:55:27 UTC 2010

Modified Files:
src/sys/arch/i386/i386: locore.S

Log Message:
In Xen PAE case, fix argument size passed to init386(), by pushing the
upper bits onto stack (we do not expect first_avail to be above 4GiB, so
assume their value is 0).

Remove macros (PROC0PDIR and PROC0STACK) that were never used.


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/sys/arch/i386/i386/locore.S

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



CVS commit: src/sys/arch/i386/include

2010-07-15 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Thu Jul 15 18:58:41 UTC 2010

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

Log Message:
Purely cosmetic: move L2_SLOT_KERNBASE out of the PAE #ifdef/#endif block.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/arch/i386/include/pmap.h

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



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

2010-07-15 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Thu Jul 15 19:02:26 UTC 2010

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

Log Message:
Make the comment about PDPpaddr more thorough.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 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.



CVS commit: src/sys/netinet6

2010-07-15 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Thu Jul 15 19:15:31 UTC 2010

Modified Files:
src/sys/netinet6: nd6.c

Log Message:
To help find the cause of kernel complaints such as "/netbsd:
nd6_storelladdr: sdl_alen == 0, dst=... if=wm1", add printfs for some
"impossible" conditions, and make the nd6_storelladdr() printf more
informative by printing the value of sdl_alen.


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/sys/netinet6/nd6.c

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



CVS commit: src/external/bsd/cron/dist

2010-07-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 15 20:03:29 UTC 2010

Modified Files:
src/external/bsd/cron/dist: entry.c

Log Message:
remove bad cast.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/cron/dist/entry.c

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



CVS commit: src/external/bsd/cron/dist

2010-07-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 15 20:04:14 UTC 2010

Modified Files:
src/external/bsd/cron/dist: database.c

Log Message:
PR/43623: Takahiro Kambe: Allow /etc/crontab processing if it is not writable,
don't insist that it is mode 0600.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/cron/dist/database.c

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



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

2010-07-15 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Thu Jul 15 21:14:32 UTC 2010

Modified Files:
src/sys/arch/x86/x86: pmap.c

Log Message:
Check the virtual address 'va' for each PDIR_SLOT_PTE entry. PDP_SIZE
is 4 with PAE (Xen only currently), 1 otherwise: loop should be unrolled
when PDP_SIZE is 1.

pmap_alloc_level() is used by pmap_growkernel(), the PDE is a kernel
mapping: mark it so with PG_k. While here, use pmap_pa2pte() for physical
address 'pa'.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/arch/x86/x86/pmap.c

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



CVS commit: src/lib/libpuffs

2010-07-15 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jul 15 21:53:10 UTC 2010

Modified Files:
src/lib/libpuffs: subr.c

Log Message:
Default f_namemax to MAXNAMLEN, mostly for initial statvfs struct
passed to kernel in mount.

XXX: there's currently no way for a file server to override the
one passed in mount.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libpuffs/subr.c

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



CVS commit: src/sys/fs/puffs

2010-07-15 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jul 15 21:55:05 UTC 2010

Modified Files:
src/sys/fs/puffs: puffs_vfsops.c

Log Message:
f_namemax is one of the static fields overridden by copy_statvfs_info(),
so be sure to set it to the value coming from the file server as
part of mount args.

exposed, like so many other problems, by njoly's tests


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/fs/puffs/puffs_vfsops.c

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



CVS commit: src/external/bsd/cron/dist

2010-07-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 15 22:18:20 UTC 2010

Modified Files:
src/external/bsd/cron/dist: crontab.5

Log Message:
Document the format of the system crontab file, since cron(8) says that we do.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/cron/dist/crontab.5

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



CVS commit: src/sys/arch/i386/i386

2010-07-15 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Thu Jul 15 22:19:19 UTC 2010

Modified Files:
src/sys/arch/i386/i386: machdep.c

Log Message:
pte0 is used to map the page required by bioscall() trampoline code, so
add VM_PROT_EXECUTE protection for it.

Currently, this does not change much, as page execute permission is not
enforced for i386 (except for Xen, where BIOS calls are not used anyway).


To generate a diff of this commit:
cvs rdiff -u -r1.688 -r1.689 src/sys/arch/i386/i386/machdep.c

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



CVS commit: src/sys/arch

2010-07-15 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Thu Jul 15 23:20:34 UTC 2010

Modified Files:
src/sys/arch/i386/i386: machdep.c
src/sys/arch/xen/x86: x86_xpmap.c

Log Message:
With Xen, PDPpaddr should contain a guest physical address (== PFN).


To generate a diff of this commit:
cvs rdiff -u -r1.689 -r1.690 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/xen/x86/x86_xpmap.c

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



CVS commit: src/sys/netinet6

2010-07-15 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Thu Jul 15 23:46:55 UTC 2010

Modified Files:
src/sys/netinet6: udp6_output.c

Log Message:
Under some circumstances, udp6_output() would call ip6_clearpktopts()
with an uninitialized struct ip6_pktopts on the stack, opt.
ip6_clearpktopts(&opt, ...) could dereference dangling pointers,
leading to memory corruption or a crash.  Now, udp6_output() calls
ip6_clearpktopts(&opt, ...) only if opt was initialized. Thanks to
Clement LECIGNE for reporting this bug.

Fix a potential memory leak: it is udp6_output()'s responsibility
to free its mbuf arguments on error.  In the unlikely event that
sa6_embedscope() failed, udp6_output() would not free its mbuf
arguments.

I will ask for this to be pulled up to -4, -5, and -5-0.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/netinet6/udp6_output.c

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