Commit Graph

195587 Commits

Author SHA1 Message Date
matt
f62094ba63 Since CLKF_BASEPRI isn't used any more, merge its test into CLKF_INTR which
results in a simplier comparision.
2010-12-14 23:29:02 +00:00
haad
e5d36b6393 Disable errors reported by unknown pragmas in dtrace module. 2010-12-14 23:27:47 +00:00
matt
57d4ba2384 Switch to use <sys/device_if.h> 2010-12-14 23:27:37 +00:00
christos
c2a9dfd59e handle lack of <sys/atomic.h> 2010-12-14 23:19:23 +00:00
christos
f4f6c00c90 silence gcc-3 uninitialized variable warning. 2010-12-14 23:18:31 +00:00
christos
30037bfd3f Handle NetBSD-5 and 4 lack of atomics by disabling threads. 2010-12-14 23:17:20 +00:00
christos
97caf9021f handle openssl versions less < 1. 2010-12-14 23:16:39 +00:00
wiz
c93380eba7 filesystem -> file system. 2010-12-14 21:49:21 +00:00
christos
e64c554fe8 fix uninitialized variable by elimination. 2010-12-14 21:32:43 +00:00
riz
a3a3268f75 Be explicit about byteswapped and ffsv2 file systems being currently
unsupported, while catching up to some changes in my local tree which
will hopefully support them at some time in the future.

Also, change "device" variable to "special", to reflect the fact
that resize_ffs will work on a plain file.
2010-12-14 20:45:22 +00:00
pooka
1d9fa0a3f8 Use a larger array to avoid overflow.
from Piotr Meyer
2010-12-14 20:09:43 +00:00
pooka
b6c04e07af Add an example for a server listening on a tcp port.
also, bump date to avoid problems with wizd
2010-12-14 19:52:14 +00:00
pooka
91ed45ab3f use ping -n, since technically we don't have dns 2010-12-14 19:08:22 +00:00
pooka
e5d7b7bef0 remove some leftover development garbage 2010-12-14 19:04:05 +00:00
pooka
49242e416d Make compile on non-NetBSD. 2010-12-14 19:03:21 +00:00
pgoyette
7ebf14078a Per private email (to myself and core@), cgd has agreed
I'm happy to assign all copyright to this file, ...

So replace original 4-clause cgd with a 2-clause NetBSD.
2010-12-14 18:51:56 +00:00
tteras
566286569e From Roman Hoog Antink <rha@open.ch>: Fix possible null derefence. 2010-12-14 17:57:31 +00:00
pooka
4273ad0aa6 add new, remove obsolete 2010-12-14 17:52:06 +00:00
pooka
4427b5725d Retire the old C helper in h_img2cgd since we can now write everything
with a shellscript in terms of rump.cgdconfig and dd.
2010-12-14 17:48:31 +00:00
pooka
5f732a29cb Convert from the oldstyle cgd_kops.op_open to the newstyle prog_open
and define RUMPPRG.  Get rid of the Makefile.inc stuff, since it was
useful only for the oldstyle regime.
2010-12-14 17:46:21 +00:00
jruoho
6a1d1f627b Remove functions/macros that are not in <tgmath.h> in NetBSD.
Use .Xr instead of .Fn for those functions/macros that have a manual page.
2010-12-14 17:27:32 +00:00
hannken
355e0e74e8 msdosfs_sync: check for dead vnode (denode == NULL) before testing denode flags. 2010-12-14 17:17:02 +00:00
jruoho
9c53985f97 Add a manual page for the makedev(), major(), and minor() macros.
Taken from FreeBSD. Written by Ed Schouten.
2010-12-14 17:09:27 +00:00
hannken
4d6cf788fb Make the definition of CRUNCHOPS independent of SMALLPROG_INET6 / USE_INET6.
Distrib/sparc64/instfs now builds again.
2010-12-14 17:07:08 +00:00
cegger
dce33a3d49 Initialize mutex and cv after sanity checks 2010-12-14 16:58:58 +00:00
pooka
dbc10b5a41 Add -d which can be used to register host-backed block devices in
the rump kernel.

It would be cool if this, and the other options, could be specified
in a config file (plist or other).
2010-12-14 16:40:05 +00:00
jruoho
15e0576436 Remove Xref to format(8) as it is available only on VAX and HP300. 2010-12-14 16:39:33 +00:00
cegger
c26582e6b3 back out rev. 1.285. The problem I try to hunt down
in PR 42455 is not in the network stack as shown by PR 44206.
2010-12-14 16:25:18 +00:00
jruoho
91e230c6b8 Fix xref; module(4) -> module(7). 2010-12-14 16:23:59 +00:00
jruoho
674e0899ee By majority vote, move module(4) to the section 7. 2010-12-14 16:18:15 +00:00
haad
fbca010861 Revert change made in revision 1.66 by ad@ this is not true and 64bit
atomic ops should be enabled in libc by default.
2010-12-14 15:50:07 +00:00
plunky
a8cbf485eb on reflection we can use uintmax_t here instead of trying to decode
the value manually, as only 17 bits are defined and the value is
unlikely to exceed UINTMAX_MAX (would only prevent decoding)
2010-12-14 15:18:20 +00:00
tron
4dd88e84a3 Get DTrace to build again. 2010-12-14 14:08:42 +00:00
jruoho
1c405e152e Fix small format error. Noted by pgoyette@. 2010-12-14 13:32:14 +00:00
tls
eaa351b215 When invoking a content handler specified via -C, set the REDIRECT_STATUS
CGI variable to "200".  This approximates the Apache behavior which is
required by phpcgi in PHP 5.3 (and by some compilations of older PHP
versions).

I have a revolutionary idea.  Perhaps instead of imposing bizarre
requirements on other programs in the name of "security", the PHP
developers should make their own code compile with oh, I don't know,
maybe -Wuninitialized.  That might have an effect on the security of
systems using PHP rather than on the "security" of such systems...

...excuse me, got to go now, I think my airquotes just wore out.
2010-12-14 13:27:39 +00:00
jruoho
5c1bce6b00 Reference strsuftoll(3) and orders(7) with each other. 2010-12-14 13:00:34 +00:00
pooka
756d5b62e3 Add another version of the simple ping test, this time written as a
shell script and using rump_server, rump.ifconfig and rump.ping.

XXX: uses rump_allserver for now, though, since i noticed a problem
where the rump kernel syscall vector does not get updated for
dlopen()'d libraries (and hence if you dlopen librumpnet.so, socket()
still gives ENOSYS).  Me be fixink it later.
2010-12-14 11:03:17 +00:00
pooka
72e657672d A few weeks ago when i added "linkstr" support I didn't know that
the string parser gives a proplib object which isn't a terminated
string.  Fix that mistake now.
2010-12-14 10:51:51 +00:00
skrll
355274ff7c bah set lists. expect this lot back soon(ish). 2010-12-14 10:02:02 +00:00
wiz
cb2cb67e97 Sort SECTIONS, fix xref. 2010-12-14 09:51:01 +00:00
wiz
863a4fa69c Wording. 2010-12-14 09:46:51 +00:00
wiz
d5dca2a9ff Fix Xr and use Sx. 2010-12-14 09:39:53 +00:00
jruoho
d2fb482d11 Xref number(1) and units(1). 2010-12-14 09:21:30 +00:00
haad
4d468780ce Use only cas versions of 64 bit atomic ops. 2010-12-14 09:19:14 +00:00
jruoho
4cda92a2b7 Note specifically that kernel modules can be loaded at securelevel 0.
In addition, some markup improvements.
2010-12-14 09:09:52 +00:00
pooka
57ec646236 Use a consistent approach for rump kernel calls made by libs.
Should investigate a dynamic approach in the future.
2010-12-14 08:04:14 +00:00
skrll
d56adbbf56 Remove references to delete tests. 2010-12-14 06:02:21 +00:00
skrll
be2356ad6f Convert a couple of old regress tests to ATF.
Remove the regress/usr.bin/rtld/dlopen/dlopen.c test as well as it's
covered by existing ATF test(s).
2010-12-14 05:57:31 +00:00
riz
16963047ea Don't special-case v1 superblocks - especially with an incorrect
calculation.
2010-12-14 04:04:20 +00:00
jmcneill
c618ceecc4 video(4) changes to support analog tv capture devices:
- support interlacing with VIDIOC_G_FMT
 - set V4L2_CAP_TUNER if driver implements the set_tuner/get_tuner
   callbacks
 - set V4L2_CAP_AUDIO if driver implements the set_audio/get_audio/enum_audio
   callbacks
 - add support for the following ioctls: VIDIOC_ENUMSTD, VIDIOC_G_STD,
   VIDIOC_S_STD, VIDIOC_ENUMINPUT, VIDIOC_G_INPUT, VIDIOC_S_INPUT,
   VIDIOC_ENUMAUDIO, VIDIOC_G_AUDIO, VIDIOC_S_AUDIO, VIDIOC_G_TUNER,
   VIDIOC_S_TUNER, VIDIOC_G_FREQUENCY, VIDIOC_S_FREQUENCY
 - in video_submit_payload(), fix support for signaling sample complete
   using frame numbers
 - new optional callbacks for drivers: enum_standard, get_standard,
   set_standard, enum_input, get_input, set_input, enum_audio, get_audio,
   set_audio, get_tuner, set_tuner, get_frequency, set_frequency

for drivers that don't provide enum_standard, get_standard, set_standard,
enum_input, get_input and set_input, the original stub implementations are
provided
2010-12-14 03:25:16 +00:00