CVS commit: src/lib/librumphijack

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 09:17:12 UTC 2011

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
g/c unused global


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/lib/librumphijack/hijack.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/nand

2011-03-09 Thread Adam Hoka
Module Name:src
Committed By:   ahoka
Date:   Wed Mar  9 10:05:08 UTC 2011

Modified Files:
src/sys/dev/nand: files.nand nand.c nand.h
Added Files:
src/sys/dev/nand: nand_micron.c

Log Message:
Add support for legacy devices not supporting the ONFI READ_PARAMETER_PAGE
command with example usage for Micron chips


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/nand/files.nand
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/nand/nand.c src/sys/dev/nand/nand.h
cvs rdiff -u -r0 -r1.1 src/sys/dev/nand/nand_micron.c

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



CVS commit: src/sys/modules/nand

2011-03-09 Thread Adam Hoka
Module Name:src
Committed By:   ahoka
Date:   Wed Mar  9 10:05:28 UTC 2011

Modified Files:
src/sys/modules/nand: Makefile

Log Message:
+ nand_micron.c


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/nand/Makefile

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



CVS commit: src/sys/rump/include/rump

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 10:10:19 UTC 2011

Modified Files:
src/sys/rump/include/rump: rump.h

Log Message:
Duh, the nfsd hacks in tests still used RUMP_SYS_NETWORKING.  It
appears that using nxr to search for users wasn't a very good idea.
Put networking back and make the test of the defines give out
#errors.

me be fixink this


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/rump/include/rump/rump.h

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



CVS commit: src/sys/opencrypto

2011-03-09 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Wed Mar  9 11:36:43 UTC 2011

Modified Files:
src/sys/opencrypto: deflate.c deflate.h

Log Message:
-start to make the GZIP code similar to DEFLATE: make error handling
 work the same way, grow output buffer exponentially and kill
 reallocation of metadata
-minor cleanup, make definitions private which are implementation
 details of deflate.gzip


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/opencrypto/deflate.c
cvs rdiff -u -r1.8 -r1.9 src/sys/opencrypto/deflate.h

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



CVS commit: src/sys/opencrypto

2011-03-09 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Wed Mar  9 11:43:36 UTC 2011

Modified Files:
src/sys/opencrypto: xform.c xform.h

Log Message:
const'fy algorithm descriptors


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/opencrypto/xform.c
cvs rdiff -u -r1.12 -r1.13 src/sys/opencrypto/xform.h

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



CVS commit: src/sys/rump/dev/lib/libcgd

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 11:56:17 UTC 2011

Modified Files:
src/sys/rump/dev/lib/libcgd: component.c

Log Message:
Create cgd block device files in the right directory.
hi pooka!


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/rump/dev/lib/libcgd/component.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/nand

2011-03-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Mar  9 12:13:42 UTC 2011

Modified Files:
src/sys/dev/nand: nand.c

Log Message:
Use %zu for size_t


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/nand/nand.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/nand

2011-03-09 Thread Adam Hoka
Module Name:src
Committed By:   ahoka
Date:   Wed Mar  9 12:33:59 UTC 2011

Modified Files:
src/sys/dev/nand: nand.c

Log Message:
Add some PRIxxx macros to correctly print stdint types


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/nand/nand.c

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



CVS commit: src/usr.bin/shmif_dumpbus

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 12:56:09 UTC 2011

Modified Files:
src/usr.bin/shmif_dumpbus: shmif_dumpbus.c

Log Message:
print processing details only if we've not outputting a pcap file
to stdout


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/shmif_dumpbus/shmif_dumpbus.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/newsmips/newsmips

2011-03-09 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar  9 13:21:36 UTC 2011

Modified Files:
src/sys/arch/newsmips/newsmips: autoconf.c machdep.c news3400.c
news5000.c

Log Message:
Fix newsmips interrupt handling for new mips interrupt/spl framework:
 - make news3400_badaddr() work even if interrupts are disabled
   (in the old world bus error interrupt is enabled even during splhigh())
 - make ipl_sr_map values model dependent

Now GENERIC kernel boots to single user properly on R3000 NWS-3470D,
though sh(1) still gets floating point exceptions during /etc/rc scripts.
news5000 is untested (yet).


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/newsmips/newsmips/autoconf.c
cvs rdiff -u -r1.112 -r1.113 src/sys/arch/newsmips/newsmips/machdep.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/newsmips/newsmips/news3400.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/newsmips/newsmips/news5000.c

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



CVS commit: src/lib/librumphijack

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 15:03:18 UTC 2011

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
Add a bunch of process-wide hijack calls.  Among other things, it's
now possible to use unmodified userspace binaries (rpcbind, mountd,
nfsd) to start a rump nfs service and mount file systems from it.

pain-rustique:42:~> mount
rumpfs on / type rumpfs (local)
10.1.1.1:/export on /mnt type nfs


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/lib/librumphijack/hijack.c

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



CVS commit: src/lib/librumpclient

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 15:09:21 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
* use _exit() instead of exit() in retryconn=die: atexit() handlers
  may hang if the server is dead
* consistent use of data


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/lib/librumpclient/rumpclient.c

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



CVS commit: src/lib/libc/arch/mips/gen

2011-03-09 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar  9 16:10:29 UTC 2011

Modified Files:
src/lib/libc/arch/mips/gen: _setjmp.S

Log Message:
Reorder insns to fix more load delay hazard botches on R3000.
Fixes floating point exceptions in _longjmp() during /etc/rc and
now NWS-3470D boots up to multi user with -current userland binaries.

Also fill BDslots in error path properly.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/arch/mips/gen/_setjmp.S

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



CVS commit: src/usr.bin/window

2011-03-09 Thread Julio Merino
Module Name:src
Committed By:   jmmv
Date:   Wed Mar  9 17:32:03 UTC 2011

Added Files:
src/usr.bin/window: export.sh

Log Message:
Add a script to generate a distfile of window from the verbatim sources on
cvs.  This will be used for the upcoming pkgsrc package of window.

I am not copying the code to othersrc because I want to keep things as
simple as possible for now.  When we remove window from src, the code will
be moved to othersrc and any improvements (such as autoconfification) can
be done there.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/usr.bin/window/export.sh

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



CVS commit: src/share/misc

2011-03-09 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Mar  9 17:52:45 UTC 2011

Modified Files:
src/share/misc: acronyms.comp

Log Message:
ADD, enough said.

AAA, ADD, ADS, AM, ARR, ASC, ASD, ASE, ASPM, ASQ, AV, AVL, AVX, BDD, BDUF,
BLC, BPB, BPM, BT, BTC, BTR, BTS, CA, CASE, CD, CLF, CLTT, CM, CMA, CSV,
CUT, CV, DA, DAA, DEA, DGL, DH, DIRT, DMS, DOE, DPST, DRRS, DSB, DSN, DTS,
DVCS, EBR, EH, EMI, EMR, FDE, FEA, FET, FLOSS, FMR, FRR, FS, FSK, FTA, FUS,
GR, HOOD, HTCC, HVM, IA, IBC, IDPS, IMS, IPE, IS, IV, JFET, LAR, LBS, LDA,
LDR, LFO, LL, LLMNR, LM, LPS, LSL, LTCC, LWP, MCM, MMIC, MO, MOSFET, MSE,
NCO, ND, NE, NW, OFET, OU, PA, PAC, PCD, PCE, PDAG, PDB, PDM, PE, PEP, PGE,
PIM, PIV, PLTM, PM, POF, PP, PSD, PSK, PTV, PVI, QAM, QDI, RA, RBF, RBT,
RFI, RIB, RMPM, RMS, RMW, RS, SA, SASD, SC, SCA, SCC, SCCS, SMA, SNR, SOC,
SQA, SS, SSB, STC, STD, TA, TAI, TB, TDC, TDM, TDOA, TK, TM, TOS, TSD, TSL,
UMPC, UT, VA, VCA, VCF, VCO, VFO, VME, W, WP, WS, ZBR.


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/share/misc/acronyms.comp

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



CVS commit: src/lib/librumphijack

2011-03-09 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Mar  9 18:06:22 UTC 2011

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
Fix last entries, make it work again.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/lib/librumphijack/hijack.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/ufs

2011-03-09 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Mar  9 18:12:04 UTC 2011

Modified Files:
src/sys/ufs/ufs: quota2.h

Log Message:
typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/ufs/ufs/quota2.h

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



CVS commit: src/sys/rump/librump/rumpkern

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 18:15:39 UTC 2011

Modified Files:
src/sys/rump/librump/rumpkern: locks.c

Log Message:
Mark cv_wait mutex as locked before doing any further dances.
Fixes a LOCKDEBUG panic in case the uncommon condition is hit.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/rump/librump/rumpkern/locks.c

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



CVS commit: src/lib/librumphijack

2011-03-09 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Mar  9 18:45:31 UTC 2011

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
Add quotactl(2)


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/lib/librumphijack/hijack.c

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



CVS commit: src/distrib/sets/lists/xserver

2011-03-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Mar  9 18:55:56 UTC 2011

Modified Files:
src/distrib/sets/lists/xserver: md.alpha md.amd64 md.bebox md.cats
md.dreamcast md.ews4800mips md.hp300 md.hpcarm md.hpcmips md.hpcsh
md.i386 md.macppc md.netwinder md.ofppc md.prep md.sgimips md.shark
md.sparc md.sparc64 md.zaurus mi

Log Message:
move xorg-server.m4 into the MD files that build xorg-server.
this should fix most of the recent build issues on xorg without
xorg-server platforms.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/distrib/sets/lists/xserver/md.alpha
cvs rdiff -u -r1.60 -r1.61 src/distrib/sets/lists/xserver/md.amd64
cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/xserver/md.bebox \
src/distrib/sets/lists/xserver/md.zaurus
cvs rdiff -u -r1.40 -r1.41 src/distrib/sets/lists/xserver/md.cats \
src/distrib/sets/lists/xserver/md.sgimips
cvs rdiff -u -r1.12 -r1.13 src/distrib/sets/lists/xserver/md.dreamcast \
src/distrib/sets/lists/xserver/md.ofppc
cvs rdiff -u -r1.7 -r1.8 src/distrib/sets/lists/xserver/md.ews4800mips \
src/distrib/sets/lists/xserver/md.prep
cvs rdiff -u -r1.9 -r1.10 src/distrib/sets/lists/xserver/md.hp300
cvs rdiff -u -r1.11 -r1.12 src/distrib/sets/lists/xserver/md.hpcarm
cvs rdiff -u -r1.17 -r1.18 src/distrib/sets/lists/xserver/md.hpcmips
cvs rdiff -u -r1.10 -r1.11 src/distrib/sets/lists/xserver/md.hpcsh
cvs rdiff -u -r1.80 -r1.81 src/distrib/sets/lists/xserver/md.i386
cvs rdiff -u -r1.58 -r1.59 src/distrib/sets/lists/xserver/md.macppc
cvs rdiff -u -r1.25 -r1.26 src/distrib/sets/lists/xserver/md.netwinder
cvs rdiff -u -r1.35 -r1.36 src/distrib/sets/lists/xserver/md.shark
cvs rdiff -u -r1.49 -r1.50 src/distrib/sets/lists/xserver/md.sparc
cvs rdiff -u -r1.46 -r1.47 src/distrib/sets/lists/xserver/md.sparc64
cvs rdiff -u -r1.31 -r1.32 src/distrib/sets/lists/xserver/mi

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



CVS commit: src/sys/sys

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 19:02:04 UTC 2011

Modified Files:
src/sys/sys: param.h

Log Message:
Bump version for new quota code -- even if ABIs didn't change, it's
still a major feature.


To generate a diff of this commit:
cvs rdiff -u -r1.384 -r1.385 src/sys/sys/param.h

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



CVS commit: src

2011-03-09 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Mar  9 19:04:58 UTC 2011

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/fs/ffs: t_clearquota.sh t_getquota.sh t_miscquota.sh
t_quotalimit.sh t_setquota.sh
Removed Files:
src/tests/fs/ffs/clients: Makefile quota_rumpops.c

Log Message:
Use librumphijack for quota commands instead of rumpifed versions.


To generate a diff of this commit:
cvs rdiff -u -r1.261 -r1.262 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.2 -r1.3 src/tests/fs/ffs/t_clearquota.sh \
src/tests/fs/ffs/t_getquota.sh src/tests/fs/ffs/t_miscquota.sh \
src/tests/fs/ffs/t_quotalimit.sh src/tests/fs/ffs/t_setquota.sh
cvs rdiff -u -r1.3 -r0 src/tests/fs/ffs/clients/Makefile
cvs rdiff -u -r1.2 -r0 src/tests/fs/ffs/clients/quota_rumpops.c

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



CVS commit: [rmind-uvmplock] src/sys/arch/hppa

2011-03-09 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Mar  9 19:13:21 UTC 2011

Modified Files:
src/sys/arch/hppa/hppa [rmind-uvmplock]: pmap.c
src/sys/arch/hppa/include [rmind-uvmplock]: pmap.h

Log Message:
Drop per-page locking i.e. pvh_lock and rely on locking provided by
upper layer, UVM.  Sprinkle asserts.


To generate a diff of this commit:
cvs rdiff -u -r1.71.2.4 -r1.71.2.5 src/sys/arch/hppa/hppa/pmap.c
cvs rdiff -u -r1.25.2.4 -r1.25.2.5 src/sys/arch/hppa/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/tests/fs/ffs

2011-03-09 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Wed Mar  9 20:13:47 UTC 2011

Modified Files:
src/tests/fs/ffs: Makefile

Log Message:
Don't descend into non-existing subdirectory "clients".


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/tests/fs/ffs/Makefile

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



CVS commit: src/sys/arch/sandpoint/sandpoint

2011-03-09 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed Mar  9 20:33:57 UTC 2011

Modified Files:
src/sys/arch/sandpoint/sandpoint: satmgr.c

Log Message:
DLink DSM-G600 button handling.
There are no commands to reboot or poweroff a G600, though.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sandpoint/sandpoint/satmgr.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/sandpoint/stand/altboot

2011-03-09 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed Mar  9 20:35:56 UTC 2011

Modified Files:
src/sys/arch/sandpoint/stand/altboot: pciide.c

Log Message:
Check the PCI-interface for legacy/native mode, not the PCI-revision.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sandpoint/stand/altboot/pciide.c

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



CVS commit: src/lib/librumphijack

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 20:48:57 UTC 2011

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
Make this compile/work on NetBSD 5 once again.


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/lib/librumphijack/hijack.c

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



CVS commit: src/tests/lib/librumphijack

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 21:26:00 UTC 2011

Modified Files:
src/tests/lib/librumphijack: t_tcpip.sh

Log Message:
nfsd + mount_nfs test with stock system binaries


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/lib/librumphijack/t_tcpip.sh

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



CVS commit: src/sys/kern

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 21:52:31 UTC 2011

Modified Files:
src/sys/kern: syscalls.master

Log Message:
mark old quotactl rump too


To generate a diff of this commit:
cvs rdiff -u -r1.246 -r1.247 src/sys/kern/syscalls.master

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



CVS commit: src/sys/netiso

2011-03-09 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Wed Mar  9 22:04:53 UTC 2011

Modified Files:
src/sys/netiso: if_eon.c

Log Message:
Remove ifa == NULL check, ifa cannot be NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/netiso/if_eon.c

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



CVS commit: src/sys/netnatm

2011-03-09 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Wed Mar  9 22:06:42 UTC 2011

Modified Files:
src/sys/netnatm: natm.c

Log Message:
unifdef -U__OpenBSD__ -D__NetBSD__ -U__FreeBSD__ for readability.  No
functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/netnatm/natm.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

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 22:12:45 UTC 2011

Modified Files:
src/sys/kern: syscalls.master

Log Message:
actually, revert previous for now.  quotactl doesn't play with the
same rules as all the other compat functions.


To generate a diff of this commit:
cvs rdiff -u -r1.247 -r1.248 src/sys/kern/syscalls.master

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



CVS commit: src/bin/csh

2011-03-09 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Mar  9 22:26:36 UTC 2011

Modified Files:
src/bin/csh: csh.1

Log Message:
Fix sub-section references.


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

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



CVS commit: src

2011-03-09 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Mar  9 23:10:09 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: mi
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
src/lib/libc: Makefile
src/lib/libc/misc: initfini.c
src/lib/libpthread: pthread.c pthread_int.h
src/libexec/ld.elf_so: Makefile TODO headers.c map_object.c rtld.c
rtld.h symbol.c
src/rescue: list.ldd
src/sys/sys: Makefile
src/tests/lib/libc: Makefile
src/usr.bin/ldd: Makefile.elf ldd.c
src/usr.bin/ldd/elf32: Makefile
src/usr.bin/ldd/elf64: Makefile
Added Files:
src/lib/libc/tls: Makefile.inc tls.c
src/libexec/ld.elf_so: README.TLS tls.c
src/sys/sys: tls.h
src/tests/lib/libc/tls: Makefile t_tls_dlopen.c t_tls_dynamic.c
t_tls_static.c t_tls_static_helper.c
src/tests/lib/libc/tls/dso: Makefile h_tls_dlopen.c
src/tests/lib/libc/tls_dso: Makefile h_tls_dynamic.c

Log Message:
Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports
_rtld_tls_allocate and _rtld_tls_free. libpthread uses this functions to
setup the thread private area of all new threads. ld.elf_so is
responsible for setting up the private area for the initial thread.
Similar functions are called from _libc_init for static binaries, using
dl_iterate_phdr to access the ELF Program Header.

Add test cases to exercise the different TLS storage models. Test cases
are compiled and installed on all platforms, but are skipped on
platforms not marked for TLS support.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

It is inspired by the TLS support in FreeBSD by Doug Rabson and the
clean ups of the DragonFly port of the original FreeBSD modifications.


To generate a diff of this commit:
cvs rdiff -u -r1.1594 -r1.1595 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.262 -r1.263 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.30 -r1.31 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r1.143 -r1.144 src/lib/libc/Makefile
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/misc/initfini.c
cvs rdiff -u -r0 -r1.1 src/lib/libc/tls/Makefile.inc src/lib/libc/tls/tls.c
cvs rdiff -u -r1.120 -r1.121 src/lib/libpthread/pthread.c
cvs rdiff -u -r1.75 -r1.76 src/lib/libpthread/pthread_int.h
cvs rdiff -u -r1.102 -r1.103 src/libexec/ld.elf_so/Makefile
cvs rdiff -u -r0 -r1.1 src/libexec/ld.elf_so/README.TLS \
src/libexec/ld.elf_so/tls.c
cvs rdiff -u -r1.4 -r1.5 src/libexec/ld.elf_so/TODO
cvs rdiff -u -r1.39 -r1.40 src/libexec/ld.elf_so/headers.c
cvs rdiff -u -r1.41 -r1.42 src/libexec/ld.elf_so/map_object.c
cvs rdiff -u -r1.138 -r1.139 src/libexec/ld.elf_so/rtld.c
cvs rdiff -u -r1.100 -r1.101 src/libexec/ld.elf_so/rtld.h
cvs rdiff -u -r1.54 -r1.55 src/libexec/ld.elf_so/symbol.c
cvs rdiff -u -r1.4 -r1.5 src/rescue/list.ldd
cvs rdiff -u -r1.131 -r1.132 src/sys/sys/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/sys/tls.h
cvs rdiff -u -r1.37 -r1.38 src/tests/lib/libc/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/tls/Makefile \
src/tests/lib/libc/tls/t_tls_dlopen.c \
src/tests/lib/libc/tls/t_tls_dynamic.c \
src/tests/lib/libc/tls/t_tls_static.c \
src/tests/lib/libc/tls/t_tls_static_helper.c
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/tls/dso/Makefile \
src/tests/lib/libc/tls/dso/h_tls_dlopen.c
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/tls_dso/Makefile \
src/tests/lib/libc/tls_dso/h_tls_dynamic.c
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/ldd/Makefile.elf
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/ldd/ldd.c
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/ldd/elf32/Makefile
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/ldd/elf64/Makefile

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



CVS commit: src/lib/librumphijack

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 23:26:20 UTC 2011

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
Make getfh() a pathcall instead of a fhcall.  while it does pertain
to file handles, it still gets passed a path and we can DTRT based
on that.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/lib/librumphijack/hijack.c

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



CVS commit: src/lib/librumphijack

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 23:40:44 UTC 2011

Modified Files:
src/lib/librumphijack: rumphijack.3

Log Message:
document vfs and sysctl knobs to RUMPHIJACK


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/librumphijack/rumphijack.3

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



CVS commit: src/sys/rump/librump/rumpkern

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 23:41:25 UTC 2011

Modified Files:
src/sys/rump/librump/rumpkern: locks.c

Log Message:
track lockdebug data even in the special path


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/rump/librump/rumpkern/locks.c

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



CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2011-03-09 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Wed Mar  9 23:49:07 UTC 2011

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: spa_config.c

Log Message:
If the config is zero size, don't try to read it.

OK haad@


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/spa_config.c

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



CVS commit: src/lib/libc/tls

2011-03-09 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Mar  9 23:50:41 UTC 2011

Modified Files:
src/lib/libc/tls: tls.c

Log Message:
Define namespace remap macros before including sys/tls.h.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/tls/tls.c

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



CVS commit: src/external/cddl/osnet/dist/common/acl

2011-03-09 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Wed Mar  9 23:55:46 UTC 2011

Modified Files:
src/external/cddl/osnet/dist/common/acl: acl_common.c

Log Message:
#include  (from the ZFS sources) so that ASSERT() is
defined, and we don't get problems like kern/44430.  This is
more a workaround than a fix, but at least I can load zfs now.

ok haad@


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/cddl/osnet/dist/common/acl/acl_common.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/usb

2011-03-09 Thread Steve Woodford
Module Name:src
Committed By:   scw
Date:   Thu Mar 10 00:11:59 UTC 2011

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
Add entry for Toshiba version of a Novatel EU870D 3G/HSDPA WWAN Card.


To generate a diff of this commit:
cvs rdiff -u -r1.578 -r1.579 src/sys/dev/usb/usbdevs

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



CVS commit: src/sys/dev/usb

2011-03-09 Thread Steve Woodford
Module Name:src
Committed By:   scw
Date:   Thu Mar 10 00:12:51 UTC 2011

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
Regen for Toshiba version of Novatel EU870D 3G/HSDPA WWAN Card


To generate a diff of this commit:
cvs rdiff -u -r1.571 -r1.572 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.572 -r1.573 src/sys/dev/usb/usbdevs_data.h

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



CVS commit: src/sys/dev/usb

2011-03-09 Thread Steve Woodford
Module Name:src
Committed By:   scw
Date:   Thu Mar 10 00:13:56 UTC 2011

Modified Files:
src/sys/dev/usb: u3g.c

Log Message:
Match a Toshiba-branded version of Novatel's EU870D 3G/HSDPA WWAN Card.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/usb/u3g.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

2011-03-09 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Mar 10 03:35:38 UTC 2011

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

Log Message:
Shorten infinite loop.  Tames atactl(8) atabus reset on mvsata(4).


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/ic/mvsata.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/arm

2011-03-09 Thread Hiroyuki Bessho
Module Name:src
Committed By:   bsh
Date:   Thu Mar 10 07:47:16 UTC 2011

Modified Files:
src/sys/arch/arm/arm: cpufunc.c
src/sys/arch/arm/arm32: pmap.c
src/sys/arch/arm/conf: files.arm
src/sys/arch/arm/include: armreg.h cpuconf.h cpufunc.h
src/sys/arch/arm/include/arm32: pmap.h pte.h
Added Files:
src/sys/arch/arm/mpcore: files.mpcore mpcore_a2x_io.S
mpcore_a2x_space.c mpcore_a4x_io.S mpcore_a4x_space.c mpcore_axi.c
mpcore_clock.c mpcore_pmr.c mpcore_space.c mpcorereg.h mpcorevar.h

Log Message:
Preliminary ARM11 MPCore support.

I have confirmed this commit doesn't affect existing evbarm kernels by
comparing binaries.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/arch/arm/arm/cpufunc.c
cvs rdiff -u -r1.220 -r1.221 src/sys/arch/arm/arm32/pmap.c
cvs rdiff -u -r1.100 -r1.101 src/sys/arch/arm/conf/files.arm
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/arm/include/armreg.h
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/include/cpuconf.h
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/arm/include/cpufunc.h
cvs rdiff -u -r1.98 -r1.99 src/sys/arch/arm/include/arm32/pmap.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/include/arm32/pte.h
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/mpcore/files.mpcore \
src/sys/arch/arm/mpcore/mpcore_a2x_io.S \
src/sys/arch/arm/mpcore/mpcore_a2x_space.c \
src/sys/arch/arm/mpcore/mpcore_a4x_io.S \
src/sys/arch/arm/mpcore/mpcore_a4x_space.c \
src/sys/arch/arm/mpcore/mpcore_axi.c \
src/sys/arch/arm/mpcore/mpcore_clock.c \
src/sys/arch/arm/mpcore/mpcore_pmr.c \
src/sys/arch/arm/mpcore/mpcore_space.c \
src/sys/arch/arm/mpcore/mpcorereg.h src/sys/arch/arm/mpcore/mpcorevar.h

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