Commit Graph

198860 Commits

Author SHA1 Message Date
riz
3406e189a5 #include <sys/debug.h> (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@
2011-03-09 23:55:46 +00:00
joerg
3b9c90a96e Define namespace remap macros before including sys/tls.h. 2011-03-09 23:50:40 +00:00
riz
c29d7160e5 If the config is zero size, don't try to read it.
OK haad@
2011-03-09 23:49:06 +00:00
pooka
df23472915 track lockdebug data even in the special path 2011-03-09 23:41:24 +00:00
pooka
bbc64bd6b0 document vfs and sysctl knobs to RUMPHIJACK 2011-03-09 23:40:44 +00:00
pooka
61f25f646e 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.
2011-03-09 23:26:19 +00:00
joerg
aad599979d 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.
2011-03-09 23:10:05 +00:00
njoly
ef6127c9f2 Fix sub-section references. 2011-03-09 22:26:36 +00:00
pooka
41f5ebb8ea actually, revert previous for now. quotactl doesn't play with the
same rules as all the other compat functions.
2011-03-09 22:12:45 +00:00
dyoung
acf9dcfe9b unifdef -U__OpenBSD__ -D__NetBSD__ -U__FreeBSD__ for readability. No
functional change intended.
2011-03-09 22:06:42 +00:00
dyoung
29c600c1cd Remove ifa == NULL check, ifa cannot be NULL. 2011-03-09 22:04:52 +00:00
pooka
bd56cf8b76 mark old quotactl rump too 2011-03-09 21:52:31 +00:00
pooka
1bafe88e56 nfsd + mount_nfs test with stock system binaries 2011-03-09 21:25:59 +00:00
pooka
9d51298cb8 Make this compile/work on NetBSD 5 once again. 2011-03-09 20:48:57 +00:00
phx
635fb9c2cc Check the PCI-interface for legacy/native mode, not the PCI-revision. 2011-03-09 20:35:56 +00:00
phx
64f00bc3be DLink DSM-G600 button handling.
There are no commands to reboot or poweroff a G600, though.
2011-03-09 20:33:57 +00:00
tron
4339a30cbc Don't descend into non-existing subdirectory "clients". 2011-03-09 20:13:47 +00:00
bouyer
37628c8c74 Use librumphijack for quota commands instead of rumpifed versions. 2011-03-09 19:04:57 +00:00
pooka
d0066d8269 Bump version for new quota code -- even if ABIs didn't change, it's
still a major feature.
2011-03-09 19:02:04 +00:00
mrg
24240024c0 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.
2011-03-09 18:55:55 +00:00
bouyer
48c24921f2 Add quotactl(2) 2011-03-09 18:45:30 +00:00
pooka
49bc93eb11 Mark cv_wait mutex as locked before doing any further dances.
Fixes a LOCKDEBUG panic in case the uncommon condition is hit.
2011-03-09 18:15:39 +00:00
dholland
6dcf83c49c typo in comment 2011-03-09 18:12:04 +00:00
bouyer
90848eb9f1 Fix last entries, make it work again. 2011-03-09 18:06:22 +00:00
jruoho
f06b42407c 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.
2011-03-09 17:52:45 +00:00
jmmv
66b2e37b2b 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.
2011-03-09 17:32:03 +00:00
tsutsui
7e1a38b9b3 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.
2011-03-09 16:10:29 +00:00
pooka
a7f297977b * use _exit() instead of exit() in retryconn=die: atexit() handlers
may hang if the server is dead
* consistent use of data
2011-03-09 15:09:21 +00:00
pooka
1af2e3a0a3 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
2011-03-09 15:03:18 +00:00
tsutsui
4fada584a6 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).
2011-03-09 13:21:36 +00:00
pooka
73fa5bcac3 print processing details only if we've not outputting a pcap file
to stdout
2011-03-09 12:56:08 +00:00
ahoka
e01dc4626a Add some PRIxxx macros to correctly print stdint types 2011-03-09 12:33:59 +00:00
martin
a7e0465d20 Use %zu for size_t 2011-03-09 12:13:42 +00:00
pooka
d469e02a3b Create cgd block device files in the right directory.
hi pooka!
2011-03-09 11:56:17 +00:00
drochner
5321a73544 const'fy algorithm descriptors 2011-03-09 11:43:36 +00:00
drochner
d4205293e5 -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
2011-03-09 11:36:43 +00:00
pooka
08f26b12e5 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
2011-03-09 10:10:19 +00:00
ahoka
be9d16386d + nand_micron.c 2011-03-09 10:05:28 +00:00
ahoka
14ce4ecc83 Add support for legacy devices not supporting the ONFI READ_PARAMETER_PAGE
command with example usage for Micron chips
2011-03-09 10:05:08 +00:00
pooka
a30ace437f g/c unused global 2011-03-09 09:17:12 +00:00
ahoka
e43298d4d8 cleanup comments, prototypes
remove unused leftover debug code
2011-03-09 07:49:15 +00:00
macallan
c3b14fbfbc change dbri's DMA segment size to a power of two value - the ship allows
segments up to 0x1fff bytes but even rounded to 32bit this seems to
confuse the rest of the audio code these days
TODO: we don't need to interrupt at every single segment
either way, with this mpg123 doesn't produce semi-random funny noises
anymore
2011-03-09 05:40:11 +00:00
yamt
b1563ea6d9 fix a typo in rev.1.283, which broke tcp dupack and duppack statistics. 2011-03-09 00:44:23 +00:00
riz
802dd4220f Revert previous, to fix build on Mac OS X again.
ok christos@
2011-03-08 23:55:19 +00:00
wiz
3bc5f349f0 Remove trailing whitespace. 2011-03-08 23:51:23 +00:00
pooka
7e4239caf4 some blanket tests 2011-03-08 22:21:52 +00:00
pooka
5ec619238a test case for runon prefixes 2011-03-08 21:36:25 +00:00
pooka
7a2f6e5362 Enforce that the path=/rump specifier specifies and actual path
prefix and doesn't accept e.g. /rumpdev (only /rump/dev).
2011-03-08 21:36:01 +00:00
pooka
94372010ba clarify blanket operation a bit more 2011-03-08 21:09:18 +00:00
pooka
964221c99c maybe typo 2011-03-08 21:02:22 +00:00