CVS commit: src/sys/arch/powerpc/oea

2012-05-07 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue May  8 05:15:45 UTC 2012

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
provide a BAT mapping for the PCI IO range on Grackle/Heathrow based macs
now drivers that need PCI IO access work again


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/powerpc/oea/ofwoea_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/dev/pci

2012-05-07 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue May  8 02:25:26 UTC 2012

Modified Files:
src/sys/dev/pci: machfb.c

Log Message:
don't enable IO access - we don't use it and at least on some macppc machines
the IO BAR contains garbage
should probably be pulled into 6.0


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/pci/machfb.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/powerpc

2012-05-07 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon May  7 23:04:22 UTC 2012

Modified Files:
src/sys/arch/powerpc/booke/dev: pq3etsec.c
src/sys/arch/powerpc/include/booke: etsecreg.h

Log Message:
Preserve some MACCFG2 bits


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/powerpc/booke/dev/pq3etsec.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/powerpc/include/booke/etsecreg.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/amd64/amd64

2012-05-07 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Mon May  7 21:09:29 UTC 2012

Modified Files:
src/sys/arch/amd64/amd64: vector.S

Log Message:
Rejig the way TRAP() and ZTRAP() are defined and add Z/TRAP_NJ() that
  excludes the 'jmp alltraps'.
Use the _NJ versions for trap entries with non-standard code.
Move all the KDTRACE_HOOKS code into a single block inside the
  IDTVEC(trap03) code. This removes a mis-predicted from every
  trap when KDTRACE_HOOKS are enabled.
Add a few blank lines, need some comments as well :-)
No functional changes intended.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/amd64/amd64/vector.S

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



CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-05-07 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon May  7 21:07:35 UTC 2012

Modified Files:
src/sys/uvm [matt-nb5-mips64]: uvm_anon.c

Log Message:
Move call to uvm_anon_dropswap to with #ifdef VMSWAP


To generate a diff of this commit:
cvs rdiff -u -r1.51.28.2 -r1.51.28.3 src/sys/uvm/uvm_anon.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/amd64/include

2012-05-07 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Mon May  7 21:04:10 UTC 2012

Modified Files:
src/sys/arch/amd64/include: frameasm.h

Log Message:
Add a ';' that got deleted in a slight tidyup.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/amd64/include/frameasm.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/amd64/include

2012-05-07 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Mon May  7 20:51:20 UTC 2012

Modified Files:
src/sys/arch/amd64/include: frameasm.h

Log Message:
Move all the XEN differences to a single conditional.
Merge the XEN/non-XEN versions of INTRFASTEXIT and
  INTR_RECURSE_HWFRAME by using extra defines.
Split INTRENTRY so that code can insert extra instructions
  inside user/kernel conditional.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/amd64/include/frameasm.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/zaurus/dev

2012-05-07 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Mon May  7 18:36:16 UTC 2012

Modified Files:
src/sys/arch/zaurus/dev: zkbdmap.h

Log Message:
Fix wrong raw keycode in xt_keymap_c860[] so that right shift properly works
on Xserver on C7x0/860.  From steleto.

Should be pulled up to netbsd-6.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/zaurus/dev/zkbdmap.h

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



CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-05-07 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon May  7 18:31:55 UTC 2012

Modified Files:
src/sys/uvm [matt-nb5-mips64]: uvm_pdaemon.c

Log Message:
Fix free wakeup


To generate a diff of this commit:
cvs rdiff -u -r1.93.4.2.4.14 -r1.93.4.2.4.15 src/sys/uvm/uvm_pdaemon.c

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



CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-05-07 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon May  7 18:31:25 UTC 2012

Modified Files:
src/sys/uvm [matt-nb5-mips64]: uvm_pdpolicy_clock.c

Log Message:
Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.12.16.8 -r1.12.16.9 src/sys/uvm/uvm_pdpolicy_clock.c

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



CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-05-07 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon May  7 18:30:56 UTC 2012

Modified Files:
src/sys/uvm [matt-nb5-mips64]: uvm_map.c

Log Message:
Use uvm_km_pagefree to free a kmap entry page.


To generate a diff of this commit:
cvs rdiff -u -r1.263.4.3.4.8 -r1.263.4.3.4.9 src/sys/uvm/uvm_map.c

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



CVS commit: src/sys

2012-05-07 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Mon May  7 18:16:38 UTC 2012

Modified Files:
src/sys/arch/amiga/include: bus.h pci_machdep.h
src/sys/arch/cesfic/include: bus.h
src/sys/arch/hp300/include: bus.h
src/sys/arch/luna68k/include: bus.h
src/sys/arch/news68k/include: bus.h
src/sys/sys: bus.h

Log Message:
Add dummy bus_dma(9) typedefs (enabled by __HAVE_NO_BUS_DMA) in 
for ports which don't bother to have unnecessary bus_dma(9) implementation
to appease MI driver modules that require bus_dma_tag_t.

For amiga, move  inclusion from 
to  since amiga will want actual bus_dma(9) in future
for PCI devices.

Fixes builds on sys/modules/if_axe etc on ancient ports.

"Sounds good" from martin@ on port-m68k@.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/amiga/include/bus.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/amiga/include/pci_machdep.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/cesfic/include/bus.h
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/hp300/include/bus.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/luna68k/include/bus.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/news68k/include/bus.h
cvs rdiff -u -r1.10 -r1.11 src/sys/sys/bus.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

2012-05-07 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Mon May  7 17:45:29 UTC 2012

Modified Files:
src/sys/arch/amd64/conf: files.amd64
src/sys/arch/i386/conf: files.i386
src/sys/arch/x86/conf: files.x86
src/sys/arch/xen/conf: files.xen
Added Files:
src/sys/arch/x86/x86: db_memrw.c
Removed Files:
src/sys/arch/amd64/amd64: db_memrw.c
src/sys/arch/i386/i386: db_memrw.c

Log Message:
Merge i386 and amd64 version of db_memrw.c.

Use this opportunity to skip calculating the VA of the page. Let the CPU
deal with the invalidation itself through invlpg + destination address to
avoid converting between canonical/non canonical forms.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r0 src/sys/arch/amd64/amd64/db_memrw.c
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/amd64/conf/files.amd64
cvs rdiff -u -r1.362 -r1.363 src/sys/arch/i386/conf/files.i386
cvs rdiff -u -r1.30 -r0 src/sys/arch/i386/i386/db_memrw.c
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/x86/conf/files.x86
cvs rdiff -u -r0 -r1.1 src/sys/arch/x86/x86/db_memrw.c
cvs rdiff -u -r1.125 -r1.126 src/sys/arch/xen/conf/files.xen

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



CVS commit: [netbsd-6] src/doc

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 17:07:01 UTC 2012

Modified Files:
src/doc [netbsd-6]: CHANGES-6.0

Log Message:
Ticket 231.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.81 -r1.1.2.82 src/doc/CHANGES-6.0

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



CVS commit: [netbsd-6] src/usr.bin/passwd

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 17:06:21 UTC 2012

Modified Files:
src/usr.bin/passwd [netbsd-6]: krb5_passwd.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #231):
usr.bin/passwd/krb5_passwd.c: revision 1.20
- fix non pam build
- merge duplicated error code
- fix opt struct leak


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.19.6.1 src/usr.bin/passwd/krb5_passwd.c

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



CVS commit: [netbsd-6] src/doc

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 17:03:23 UTC 2012

Modified Files:
src/doc [netbsd-6]: CHANGES-6.0

Log Message:
Tickets 220-225, 228.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.80 -r1.1.2.81 src/doc/CHANGES-6.0

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



CVS commit: [netbsd-6] src/usr.sbin/makemandb

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 17:02:08 UTC 2012

Modified Files:
src/usr.sbin/makemandb [netbsd-6]: makemandb.c

Log Message:
Pull up following revision(s) (requested by wiz in ticket #228):
usr.sbin/makemandb/makemandb.c: revision 1.8
The new apropos(1) incorrectly displays hyphens in the first line
of the search results for a few man pages (for man(7) based man
pages).
Use patch from Abhinav Upadhyay in PR 46408 to fix this.


To generate a diff of this commit:
cvs rdiff -u -r1.2.2.3 -r1.2.2.4 src/usr.sbin/makemandb/makemandb.c

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



CVS commit: [netbsd-6] src/lib/libossaudio

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 16:55:33 UTC 2012

Modified Files:
src/lib/libossaudio [netbsd-6]: Makefile ossaudio.c soundcard.h

Log Message:
Apply patches (requested by christos in ticket #225):
lib/libossaudio/Makefilepatch
lib/libossaudio/ossaudio.c  patch
lib/libossaudio/soundcard.h patch

Fix compilation of ioctls without the 3rd argument in ossaudio.
[christos, ticket #225]


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.8.8.1 src/lib/libossaudio/Makefile
cvs rdiff -u -r1.26 -r1.26.4.1 src/lib/libossaudio/ossaudio.c
cvs rdiff -u -r1.19 -r1.19.4.1 src/lib/libossaudio/soundcard.h

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



CVS commit: [netbsd-6] src/usr.bin/calendar/calendars

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 16:52:04 UTC 2012

Modified Files:
src/usr.bin/calendar/calendars [netbsd-6]: calendar.christian
calendar.holiday calendar.judaic calendar.netbsd calendar.usholiday

Log Message:
Pull up following revision(s) (requested by jnemeth in ticket #224):
usr.bin/calendar/calendars/calendar.christian: revision 1.4
usr.bin/calendar/calendars/calendar.usholiday: revision 1.4
usr.bin/calendar/calendars/calendar.holiday: revision 1.20
usr.bin/calendar/calendars/calendar.judaic: revision 1.4
usr.bin/calendar/calendars/calendar.netbsd: revision 1.21
Update all variable days
- religious holidays taken from Wikipedia where available
- floating days (i.e. X day of Y month) taken from cal(1)
- NetBSD releases taken from http://www.netbsd.org/releases/formal.html#history
  - hopefully somebody will update this for the 6.0 release
Hopefully, these days will be correct for the first year of NetBSD 6.0.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.20.1 \
src/usr.bin/calendar/calendars/calendar.christian \
src/usr.bin/calendar/calendars/calendar.judaic \
src/usr.bin/calendar/calendars/calendar.usholiday
cvs rdiff -u -r1.19 -r1.19.8.1 \
src/usr.bin/calendar/calendars/calendar.holiday
cvs rdiff -u -r1.20 -r1.20.8.1 src/usr.bin/calendar/calendars/calendar.netbsd

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



CVS commit: [netbsd-6] src/lib/libc/gen

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 16:49:49 UTC 2012

Modified Files:
src/lib/libc/gen [netbsd-6]: makecontext.3

Log Message:
Pull up following revision(s) (requested by joerg in ticket #223):
lib/libc/gen/makecontext.3: revision 1.10
Drop obsolete pthread restriction.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.9.8.1 src/lib/libc/gen/makecontext.3

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



CVS commit: [netbsd-6] src

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 16:47:23 UTC 2012

Modified Files:
src/include [netbsd-6]: stdlib.h
src/lib/libc/compat/include [netbsd-6]: stdlib.h
src/lib/libc/compat/stdlib [netbsd-6]: Makefile.inc
Added Files:
src/lib/libc/compat/stdlib [netbsd-6]: compat_putenv.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #222):
include/stdlib.h: revision 1.98
lib/libc/compat/stdlib/Makefile.inc: revision 1.3
lib/libc/compat/include/stdlib.h: revision 1.5
lib/libc/compat/stdlib/compat_putenv.c: revision 1.1
lib/libc/compat/stdlib/compat_putenv.c: revision 1.2
PR/46360: YAMAMOTO Takashi: Restore NetBSD-5 compatibility with putenv()
copying the passed string (which is not ToG compliant), instead of using
it directly in the environment arrat as it should. Needs to be pulled up
to NetBSd-6.
use setenv so that we don't leak memory.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.97.6.1 src/include/stdlib.h
cvs rdiff -u -r1.4 -r1.4.10.1 src/lib/libc/compat/include/stdlib.h
cvs rdiff -u -r1.2 -r1.2.46.1 src/lib/libc/compat/stdlib/Makefile.inc
cvs rdiff -u -r0 -r1.2.2.2 src/lib/libc/compat/stdlib/compat_putenv.c

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



CVS commit: [netbsd-6] src/sys/arch/i386/i386

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 16:38:43 UTC 2012

Modified Files:
src/sys/arch/i386/i386 [netbsd-6]: compat_16_machdep.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #221):
sys/arch/i386/i386/compat_16_machdep.c: revision 1.22
>From Bob Lee [glee at force10networks dot com], Preserve the have fpu context
bit for compat_16 signals, because the old 1.6 context does not deal with the
fpu.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.21.14.1 src/sys/arch/i386/i386/compat_16_machdep.c

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



CVS commit: [netbsd-6] src/sys/arch/x86

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 16:37:19 UTC 2012

Modified Files:
src/sys/arch/x86/include [netbsd-6]: specialreg.h
src/sys/arch/x86/x86 [netbsd-6]: identcpu.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #220):
sys/arch/x86/x86/identcpu.c: revision 1.31
sys/arch/x86/include/specialreg.h: revision 1.58
PR/41267: Andrius V: 5.0 RC4 does not detect second CPU in VIA. VIA Eden cpuid
lies about it's ability to do cmpxchg8b. Turn the feature on using the FCR MSR.
Needs pullup to both 5 and 6.
Add VIA Eden FCR MSR.


To generate a diff of this commit:
cvs rdiff -u -r1.55.2.2 -r1.55.2.3 src/sys/arch/x86/include/specialreg.h
cvs rdiff -u -r1.29.2.1 -r1.29.2.2 src/sys/arch/x86/x86/identcpu.c

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



CVS commit: [netbsd-6] src/doc

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 16:31:11 UTC 2012

Modified Files:
src/doc [netbsd-6]: CHANGES-6.0

Log Message:
Tickets 212, 213, 215-219.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.79 -r1.1.2.80 src/doc/CHANGES-6.0

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



CVS commit: [netbsd-6] src/external/gpl3/gcc/dist/gcc/config/m68k

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 16:30:20 UTC 2012

Modified Files:
src/external/gpl3/gcc/dist/gcc/config/m68k [netbsd-6]: constraints.md

Log Message:
Pull up following revision(s) (requested by christos in ticket #219):
external/gpl3/gcc/dist/gcc/config/m68k/constraints.md: revision 1.2
Bring in fix from:
http://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=43804
Allows libmudflap to compile on m68k:
/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c: In function
'__mf_wrap_alloca_indirect':
/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c:492:1: error:
insn does not satisfy its constraints:
(insn 360 142 68 13
/usr/src/external/gpl3/gcc/dist/libmudflap/mf-impl.h:257 (set (reg/f:SI
6 %d6 [159])
(const:SI (unspec:SI [
(symbol_ref:SI ("__mf_state_1") [flags 0x50]
)
 (const_int 1 [0x1])
 ] 6))) 36 {*movsi_m68k}
(nil))/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c:492:1:
internal compiler error: in reload_cse_simplify_operands, at postreload.c:396


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.4.1 \
src/external/gpl3/gcc/dist/gcc/config/m68k/constraints.md

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



CVS commit: [netbsd-6] src/sys/dev/usb

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 16:28:42 UTC 2012

Modified Files:
src/sys/dev/usb [netbsd-6]: ums.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #218):
sys/dev/usb/ums.c: revision 1.84
kern/46391: Nat Sloss:  ums.c doesn't support digitizers or touchscreens


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.83.2.1 src/sys/dev/usb/ums.c

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



CVS commit: [netbsd-6] src/usr.bin/m4

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 16:26:47 UTC 2012

Modified Files:
src/usr.bin/m4 [netbsd-6]: main.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #217):
usr.bin/m4/main.c: revision 1.42
Fix wrong loop index leading to infinite loop
ifdef(`FOO',
)
XXX: Pullup to 6.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.41.4.1 src/usr.bin/m4/main.c

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



CVS commit: [netbsd-6] src/sys/dev/usb

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 16:25:42 UTC 2012

Modified Files:
src/sys/dev/usb [netbsd-6]: ubt.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #216):
sys/dev/usb/ubt.c: revision 1.47
PR/46338: Nat Sloss: Prevent ubt synchronization loss from overwriting memory.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.44.2.1 src/sys/dev/usb/ubt.c

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



CVS commit: [netbsd-6] src/usr.bin/login

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 16:24:07 UTC 2012

Modified Files:
src/usr.bin/login [netbsd-6]: Makefile common.c common.h k5login.c
login.c login_pam.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #215):
usr.bin/login/login.c: revision 1.100
usr.bin/login/login.c: revision 1.101
usr.bin/login/login.c: revision 1.102
usr.bin/login/common.c: revision 1.4
usr.bin/login/common.h: revision 1.2
usr.bin/login/k5login.c: revision 1.28
usr.bin/login/k5login.c: revision 1.29
usr.bin/login/login.c: revision 1.99
usr.bin/login/login_pam.c: revision 1.21
usr.bin/login/Makefile: revision 1.53
usr.bin/login/Makefile: revision 1.54
usr.bin/login/Makefile: revision 1.55
usr.bin/login/k5login.c: revision 1.30
usr.bin/login/k5login.c: revision 1.31
usr.bin/login/k5login.c: revision 1.32
usr.bin/login/k5login.c: revision 1.33
make krb5 compile again. XXX: one function left that is deprecated, what's
the new equivalent?
centralize error function processing.
fix the USE_KERBEROS=no USE_PAM=no build.
remove obsolete comment.
make kerberos work again:
1. make notickets external
2. don't use the tty as part of the credential cache, since pts/1 will not work.
3. Attempt to use the newer functions, but punt for now since it does not work
yet.
don't abuse the instance variable
move more of the compat code in the compat block.
last commit before I nuke the old code.
no more KRB5_DEPRECATED


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.52.6.1 src/usr.bin/login/Makefile
cvs rdiff -u -r1.3 -r1.3.8.1 src/usr.bin/login/common.c
cvs rdiff -u -r1.1 -r1.1.8.1 src/usr.bin/login/common.h
cvs rdiff -u -r1.27 -r1.27.46.1 src/usr.bin/login/k5login.c
cvs rdiff -u -r1.98 -r1.98.4.1 src/usr.bin/login/login.c
cvs rdiff -u -r1.20 -r1.20.8.1 src/usr.bin/login/login_pam.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

2012-05-07 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon May  7 16:16:44 UTC 2012

Modified Files:
src/sys/arch/amd64/include: vmparam.h
src/sys/arch/i386/include: vmparam.h

Log Message:
Raise per-image text size limit to 256MB. 64MB has seen already, so
provide some margin of grows.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/amd64/include/vmparam.h
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/i386/include/vmparam.h

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



CVS commit: [netbsd-6] src/usr.bin/su

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 15:59:37 UTC 2012

Modified Files:
src/usr.bin/su [netbsd-6]: su.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #213):
usr.bin/su/su.c: revision 1.70
make this compile again.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.69.4.1 src/usr.bin/su/su.c

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



CVS commit: [netbsd-6] src/sys/arch/amd64/amd64

2012-05-07 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon May  7 15:58:04 UTC 2012

Modified Files:
src/sys/arch/amd64/amd64 [netbsd-6]: machdep.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #212):
sys/arch/amd64/amd64/machdep.c: revision 1.181
Fix check_mcontext for PK_32 binaries. Makes gdb work for i386 binaries on
amd64.


To generate a diff of this commit:
cvs rdiff -u -r1.175.2.3 -r1.175.2.4 src/sys/arch/amd64/amd64/machdep.c

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



CVS commit: src/bin/rcp

2012-05-07 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Mon May  7 15:22:54 UTC 2012

Modified Files:
src/bin/rcp: rcp.c

Log Message:
allocate a separate buffer in each call to sink().
reusing the buffer across recursive calls just doesn't work right.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/bin/rcp/rcp.c

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



CVS commit: src/bin/ps

2012-05-07 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon May  7 13:14:31 UTC 2012

Modified Files:
src/bin/ps: ps.c

Log Message:
Push logic to convert a ttyname to a device number into its own
function. Improve dealing with ptyfs by explicitly handling missing
pts/%d entries, if the kernel supports the pts device (PR 40813).


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/bin/ps/ps.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/i386/i386

2012-05-07 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Mon May  7 12:23:05 UTC 2012

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

Log Message:
For correctness: do not forget VA_SIGN_NEG().


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/i386/i386/db_memrw.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/amd64/amd64

2012-05-07 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Mon May  7 12:20:27 UTC 2012

Modified Files:
src/sys/arch/amd64/amd64: db_memrw.c

Log Message:
invlpg on a non canonical address is a noop, so no chance to invalidate
the TLB and the CPU will not notice the access right change.

This results in write protection faults in supervisor mode when patching
kernel code through ddb(4) (originally mapped as read only).

Bug reported by David Laight on port-amd64@ (thanks!), patch and test by
me.

i386 is unaffected as PG_LGFRAME does not mask the sign bits. For the
sake of correctness, use VA_SIGN_NEG(...) anyway.

XXX this is the patch that will be pulled-up to -5 and -6.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/amd64/amd64/db_memrw.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

2012-05-07 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Mon May  7 12:12:04 UTC 2012

Modified Files:
src/sys/arch/amd64/amd64: db_memrw.c
src/sys/arch/i386/i386: db_memrw.c

Log Message:
Use the current destination address to compute PTE, not the address of
origin.

Harmless, except when db_write_text() passes a page boundary.

>From Bug Hunting.

XXX has to be pulled up to -5 and -6.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/amd64/amd64/db_memrw.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/i386/i386/db_memrw.c

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



CVS commit: src

2012-05-07 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon May  7 11:20:24 UTC 2012

Modified Files:
src: UPDATING

Log Message:
Mention that you should run makemandb -f, or wait for the weekly script.


To generate a diff of this commit:
cvs rdiff -u -r1.236 -r1.237 src/UPDATING

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



CVS commit: src/usr.sbin/makemandb

2012-05-07 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon May  7 11:18:16 UTC 2012

Modified Files:
src/usr.sbin/makemandb: DBSCHEMA apropos-utils.c apropos-utils.h
makemandb.c

Log Message:
PR 46419 by Abhinav Upadhyay using his updated patch:
Clean up after removing man page aliases.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/makemandb/DBSCHEMA
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/makemandb/apropos-utils.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/makemandb/apropos-utils.h
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/makemandb/makemandb.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/bzip2

2012-05-07 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon May  7 08:55:46 UTC 2012

Added Files:
src/external/bsd/bzip2: bzip2netbsd
Removed Files:
src/external/bsd/bzip2/dist: bzip2netbsd

Log Message:
Move dist2netbsd script out of dist/ and adapt for new path.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/bsd/bzip2/bzip2netbsd
cvs rdiff -u -r1.1 -r0 src/external/bsd/bzip2/dist/bzip2netbsd

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



CVS commit: src

2012-05-07 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon May  7 08:51:48 UTC 2012

Modified Files:
src/lib/libbz2: Makefile
src/tests/usr.bin/bzip2: Makefile
src/usr.bin/bzip2: Makefile
src/usr.bin/bzip2recover: Makefile

Log Message:
Adapt to repository move of dist from external/bsd/bzip2 to
external/bsd/bzip2/dist.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libbz2/Makefile
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/bzip2/Makefile
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/bzip2/Makefile
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/bzip2recover/Makefile

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