Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (38m)  netbsd-10 (4d)  netbsd-9 (4d)  netbsd-8 (8d) 

2024-05-20 15:19:43 UTC Now

2010-12-16 08:45:05 UTC MAIN commitmail json YAML

Remove extra .Pp before wizd(8) beats me.

(jruoho)

2010-12-16 08:44:23 UTC MAIN commitmail json YAML

remove unnecessary step in example code
(sdp_service_attribute() did that already)
while here, start new paragraph for next example

(plunky)

2010-12-16 08:43:01 UTC MAIN commitmail json YAML

Mention attribute(3) in passing.

(jruoho)

2010-12-16 08:35:36 UTC MAIN commitmail json YAML

Start to document the GNU C attributes. For now, only __packed, __aligned,
and __section are documented, but I will keep extending this.

(jruoho)

2010-12-16 07:59:10 UTC MAIN commitmail json YAML

ioctl: KNF switch-case

(cegger)

2010-12-16 07:51:22 UTC MAIN commitmail json YAML

add PCI VGA drivers

(cegger)

2010-12-16 07:02:07 UTC MAIN commitmail json YAML

2010-12-16 06:45:51 UTC MAIN commitmail json YAML

2010-12-16 06:19:01 UTC MAIN commitmail json YAML

ioctl: KNF switch-case

(cegger)

2010-12-16 05:42:15 UTC MAIN commitmail json YAML

Don't pass unused argument. From Doug Barton.

(dholland)

2010-12-16 05:30:16 UTC MAIN commitmail json YAML

Use strlcpy, not strncpy, when the desired semantics are strlcpy's
rather than strncpy's.

(dholland)

2010-12-16 02:01:37 UTC MAIN commitmail json YAML

uebayasi-xip: Add a few files.

(uebayasi)

2010-12-16 01:56:21 UTC MAIN commitmail json YAML

finish device_t-ification, now it works again

(macallan)

2010-12-16 00:42:22 UTC MAIN commitmail json YAML

ubc_init needs to run while we're still cold or uvmhist breaks.

(eeh)

2010-12-15 23:48:15 UTC MAIN commitmail json YAML

Slighty tweak the interrupt debug printfs.

(matt)

2010-12-15 23:43:02 UTC MAIN commitmail json YAML

Fix typo (damn :q! in vi allow the commit to proceed).

(matt)

2010-12-15 23:38:15 UTC MAIN commitmail json YAML

Add a workaround (hopefully temporary) for corrupted usb fragments on powerpc.
With this in effect, USB is now usable on some powerpc platforms again.
Basically this prevents the DMA portion of the fragment ever overlapping the
usb_frag_hdr which is enough to solve the problem.  To enable this, add

options USB_FRAG_DMA_WORKAROUND

to your config file.
Switch from malloc to kmem.

(matt)

2010-12-15 23:03:36 UTC MAIN commitmail json YAML

Invalidate meta_fname when we finish a job, so that in compat
mode, we do not report a previous .meta file as being involved
in an error.

(sjg)

2010-12-15 22:49:42 UTC MAIN commitmail json YAML

2010-12-15 22:09:14 UTC MAIN commitmail json YAML

Only KM_SLEEP | KM_NOSLEEP can be passed down to kmem layer, clean up
tqflags from internal taskq flags (TQ_FRONT) before calling kmem_alloc.

(haad)

2010-12-15 21:33:10 UTC MAIN commitmail json YAML

fix post-move testsdir.  duh

(pooka)

2010-12-15 20:42:24 UTC MAIN commitmail json YAML

2010-12-15 20:40:18 UTC MAIN commitmail json YAML

"A few seconds later" I realized the kernel directory is dev/raidframe,
not dev/raid, so reflect this in the test dir.  Affects location
for test of PR kern/44239.

(pooka)

2010-12-15 20:37:52 UTC MAIN commitmail json YAML

Add first raidframe tests.  This is the test for the kernel fault
described in PR kern/44239

(pooka)

2010-12-15 19:14:37 UTC MAIN commitmail json YAML

Use proper cleanup.

XXX: the atf sh "compiler" should check for errors.

(pooka)

2010-12-15 19:07:44 UTC MAIN commitmail json YAML

Guard against supplying the same parameter multiple times in one -d argument.

(pooka)

2010-12-15 18:42:59 UTC MAIN commitmail json YAML

language fix.  sniped by wizd

(pooka)

2010-12-15 18:39:28 UTC MAIN commitmail json YAML

2010-12-15 18:37:55 UTC MAIN commitmail json YAML

2010-12-15 18:11:01 UTC MAIN commitmail json YAML

Merge single-letter options in SYNOPSIS.

(wiz)

2010-12-15 17:17:17 UTC MAIN commitmail json YAML

Extract searching of description tables into a single function, rather
than duplicating the code every time.  Minor reduction in code size
(about 1200 bytes on amd64), no change in functionality.

(pgoyette)

2010-12-15 17:12:40 UTC MAIN commitmail json YAML

Add an option to not actually run the power management scripts, and
when in debug mode send all error messages to stderr rather than to
syslog(8).

(pgoyette)

2010-12-15 17:09:07 UTC MAIN commitmail json YAML

beautify printing of SVM features across multiple lines

(cegger)

2010-12-15 16:23:56 UTC MAIN commitmail json YAML

document the current syscall bug with rump_server and -l

(pooka)

2010-12-15 15:43:13 UTC MAIN commitmail json YAML

fix XP bit and U bit definitions of CP15 control register.
These constants are not used in our source tree for now,
so this won't change any kernel bianries.

(bsh)

2010-12-15 15:36:16 UTC MAIN commitmail json YAML

RLIMIT_NOFILE stabilized in NetBSD 17 years ago, so it's safe now
to remove the #ifdef's from around code which uses it.

(pooka)

2010-12-15 15:07:54 UTC MAIN commitmail json YAML

Don't need prog_ioctl here, it's a leftover of the previous approach.

pointed out by Paul Goyette

(pooka)

2010-12-15 14:45:47 UTC MAIN commitmail json YAML

add privcmd ioctl that got introduced with Xen 4

(cegger)

2010-12-15 14:28:22 UTC MAIN commitmail json YAML

add gnttab ioctl definitions to implement

(cegger)

2010-12-15 13:44:17 UTC MAIN commitmail json YAML

Remove duplicate asserts from when uvm_fault_lower1() was merged
into uvm_fault_lower() (the duplicates were there already before,
just in different functions).

reported by Alexander Nasonov on tech-kern

(pooka)

2010-12-15 13:13:28 UTC MAIN commitmail json YAML

Nuke conditionally compiled MULOG stuff.  Itojun wanted to do it
already 8 years ago when he fixed the compilation last time, and
again it hasn't been buildable in years.

(pooka)

2010-12-15 12:58:13 UTC MAIN commitmail json YAML

take two on module support
XXX this wont work as a builtin module

(ahoka)

2010-12-15 11:22:42 UTC MAIN commitmail json YAML

2010-12-15 10:42:57 UTC MAIN commitmail json YAML

Add usr.sbin/Attfile to test list.

(haad)

2010-12-15 10:36:50 UTC MAIN commitmail json YAML

Hook traceroute test case to build. it was added to lists so unbreak build now.

(haad)

2010-12-15 09:40:22 UTC MAIN commitmail json YAML

Sort options in usage same as in man page.
While here, replace \xa0 with ' '. Where do you get these from?

(wiz)

2010-12-15 09:15:05 UTC MAIN commitmail json YAML

Make this build with CRUNCHEDPROG defined, and default to the sysctl()
method of fetching information.  Apparently we can't simply not define
the prog_ops struct in this program.

(he)

2010-12-15 08:09:23 UTC MAIN commitmail json YAML

Make this build as part of the dist/miniroot build, where it's still
referenced.  Adjust for the move from dist/ to external/.

(he)

2010-12-15 08:09:02 UTC MAIN commitmail json YAML

Enable device-mapper driver in MONOLITHIC kernels.

(haad)

2010-12-15 07:36:52 UTC MAIN commitmail json YAML

2010-12-15 02:59:05 UTC MAIN commitmail json YAML

put real openssl version.

(christos)

2010-12-15 02:08:16 UTC MAIN commitmail json YAML

Use the source dir atomic.h

(christos)

2010-12-15 01:33:37 UTC MAIN commitmail json YAML

Remove unneeded <uvm/uvm.h> include

(matt)

2010-12-15 01:32:31 UTC MAIN commitmail json YAML

2010-12-15 01:29:38 UTC MAIN commitmail json YAML

2010-12-15 01:28:24 UTC MAIN commitmail json YAML

include <uvm/uvm_extern.h> here instead

(matt)

2010-12-15 01:27:19 UTC MAIN commitmail json YAML

2010-12-15 00:58:58 UTC MAIN commitmail json YAML

Revert last commit it's not needed anymore.

(haad)

2010-12-15 00:19:05 UTC MAIN commitmail json YAML

usr.sbin/traceroute

(pooka)

2010-12-15 00:18:37 UTC MAIN commitmail json YAML

don't create h_img2cgd dirs anymore since they'll just be harvested by obsolete

(pooka)

2010-12-15 00:17:34 UTC MAIN commitmail json YAML

2010-12-15 00:13:52 UTC MAIN commitmail json YAML

Add simple tests for traceroute.  The test bootstraps a three-node
network with one router in the middle and checks traceroute from
one endpoint to another with both UDP and ICMP.

(i guess these test networking at least as much as traceroute
itself, but then again that's not a bad thing)

(pooka)

2010-12-15 00:12:01 UTC MAIN commitmail json YAML

2010-12-15 00:09:42 UTC MAIN commitmail json YAML

Use RUMPPRG.  I think it's safe to say there's not going to be a
new upstream version of traceroute to import.

AS# lookup is still done using host networking.  Rationale: the
relevance to where that data comes from with respect to network
tracing is zero (be it socket, local file, db, whatever).

(pooka)

2010-12-15 00:08:44 UTC MAIN commitmail json YAML

Need to include <sys/device.h> since vax's <sys/cpu.h> doesn't.

(matt)

2010-12-15 00:06:47 UTC MAIN commitmail json YAML

make this compile again.

(matt)

2010-12-15 00:05:47 UTC MAIN commitmail json YAML

2010-12-15 00:04:51 UTC MAIN commitmail json YAML

Make this compile again.

(matt)

2010-12-15 00:04:28 UTC MAIN commitmail json YAML

Make this compilee again.

(matt)

2010-12-14 23:44:50 UTC MAIN commitmail json YAML

2010-12-14 23:43:32 UTC MAIN commitmail json YAML

2010-12-14 23:39:11 UTC MAIN commitmail json YAML

Do not built 64b atomic ops to libzpool they are in libc again.

(haad)

2010-12-14 23:38:31 UTC MAIN commitmail json YAML

2010-12-14 23:31:17 UTC MAIN commitmail json YAML

2010-12-14 23:29:33 UTC MAIN commitmail json YAML

Include <sys/evcnt.h> since <sys/cpu.h> no includes <sys/device.h>

(matt)

2010-12-14 23:29:02 UTC MAIN commitmail json YAML

Since CLKF_BASEPRI isn't used any more, merge its test into CLKF_INTR which
results in a simplier comparision.

(matt)

2010-12-14 23:27:48 UTC MAIN commitmail json YAML

2010-12-14 23:27:37 UTC MAIN commitmail json YAML

Switch to use <sys/device_if.h>

(matt)

2010-12-14 23:19:23 UTC MAIN commitmail json YAML

2010-12-14 23:18:31 UTC MAIN commitmail json YAML

silence gcc-3 uninitialized variable warning.

(christos)

2010-12-14 23:17:21 UTC MAIN commitmail json YAML

Handle NetBSD-5 and 4 lack of atomics by disabling threads.

(christos)

2010-12-14 23:16:39 UTC MAIN commitmail json YAML

handle openssl versions less < 1.

(christos)

2010-12-14 21:49:22 UTC MAIN commitmail json YAML

2010-12-14 21:32:43 UTC MAIN commitmail json YAML

fix uninitialized variable by elimination.

(christos)

2010-12-14 20:45:22 UTC MAIN commitmail json YAML

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.

(riz)

2010-12-14 20:09:43 UTC MAIN commitmail json YAML

Use a larger array to avoid overflow.

from Piotr Meyer

(pooka)

2010-12-14 19:52:14 UTC MAIN commitmail json YAML

Add an example for a server listening on a tcp port.

also, bump date to avoid problems with wizd

(pooka)

2010-12-14 19:08:23 UTC MAIN commitmail json YAML

use ping -n, since technically we don't have dns

(pooka)

2010-12-14 19:04:05 UTC MAIN commitmail json YAML

remove some leftover development garbage

(pooka)

2010-12-14 19:03:21 UTC MAIN commitmail json YAML

Make compile on non-NetBSD.

(pooka)

2010-12-14 18:51:56 UTC MAIN commitmail json YAML

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.

(pgoyette)

2010-12-14 17:57:32 UTC MAIN commitmail json YAML

From Roman Hoog Antink <rha@open.ch>: Fix possible null derefence.

(tteras)

2010-12-14 17:52:06 UTC MAIN commitmail json YAML

2010-12-14 17:48:32 UTC MAIN commitmail json YAML

Retire the old C helper in h_img2cgd since we can now write everything
with a shellscript in terms of rump.cgdconfig and dd.

(pooka)

2010-12-14 17:46:21 UTC MAIN commitmail json YAML

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.

(pooka)

2010-12-14 17:27:32 UTC MAIN commitmail json YAML

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.

(jruoho)

2010-12-14 17:17:03 UTC MAIN commitmail json YAML

msdosfs_sync: check for dead vnode (denode == NULL) before testing denode flags.

(hannken)

2010-12-14 17:09:28 UTC MAIN commitmail json YAML

Add a manual page for the makedev(), major(), and minor() macros.

Taken from FreeBSD. Written by Ed Schouten.

(jruoho)

2010-12-14 17:07:08 UTC MAIN commitmail json YAML

Make the definition of CRUNCHOPS independent of SMALLPROG_INET6 / USE_INET6.

Distrib/sparc64/instfs now builds again.

(hannken)

2010-12-14 16:58:59 UTC MAIN commitmail json YAML

Initialize mutex and cv after sanity checks

(cegger)

2010-12-14 16:40:05 UTC MAIN commitmail json YAML

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).

(pooka)

2010-12-14 16:39:33 UTC MAIN commitmail json YAML

Remove Xref to format(8) as it is available only on VAX and HP300.

(jruoho)

2010-12-14 16:25:19 UTC MAIN commitmail json YAML

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.

(cegger)

2010-12-14 16:24:00 UTC MAIN commitmail json YAML

2010-12-14 16:18:16 UTC MAIN commitmail json YAML

2010-12-14 15:50:07 UTC MAIN commitmail json YAML

Revert change made in revision 1.66 by ad@ this is not true and 64bit
atomic ops should be enabled in libc by default.

(haad)

2010-12-14 15:18:20 UTC MAIN commitmail json YAML

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)

(plunky)

2010-12-14 14:08:43 UTC MAIN commitmail json YAML

2010-12-14 13:32:14 UTC MAIN commitmail json YAML

Fix small format error. Noted by pgoyette@.

(jruoho)

2010-12-14 13:27:39 UTC MAIN commitmail json YAML

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.

(tls)

2010-12-14 13:00:35 UTC MAIN commitmail json YAML

Reference strsuftoll(3) and orders(7) with each other.

(jruoho)

2010-12-14 11:03:17 UTC MAIN commitmail json YAML

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.

(pooka)

2010-12-14 10:51:51 UTC MAIN commitmail json YAML

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.

(pooka)

2010-12-14 10:02:02 UTC MAIN commitmail json YAML

bah set lists. expect this lot back soon(ish).

(skrll)

2010-12-14 09:51:02 UTC MAIN commitmail json YAML

Sort SECTIONS, fix xref.

(wiz)

2010-12-14 09:46:51 UTC MAIN commitmail json YAML

2010-12-14 09:39:53 UTC MAIN commitmail json YAML

2010-12-14 09:21:30 UTC MAIN commitmail json YAML

Xref number(1) and units(1).

(jruoho)

2010-12-14 09:19:15 UTC MAIN commitmail json YAML

Use only cas versions of 64 bit atomic ops.

(haad)

2010-12-14 09:09:52 UTC MAIN commitmail json YAML

Note specifically that kernel modules can be loaded at securelevel 0.
In addition, some markup improvements.

(jruoho)

2010-12-14 08:04:15 UTC MAIN commitmail json YAML

Use a consistent approach for rump kernel calls made by libs.
Should investigate a dynamic approach in the future.

(pooka)

2010-12-14 06:02:22 UTC MAIN commitmail json YAML

Remove references to delete tests.

(skrll)

2010-12-14 05:57:32 UTC MAIN commitmail json YAML

2010-12-14 04:04:20 UTC MAIN commitmail json YAML

Don't special-case v1 superblocks - especially with an incorrect
calculation.

(riz)

2010-12-14 03:25:16 UTC MAIN commitmail json YAML

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

(jmcneill)

2010-12-14 03:07:10 UTC MAIN commitmail json YAML

2010-12-14 02:51:47 UTC MAIN commitmail json YAML

Stop wm(4) from needlessly resetting when you add or delete a vlan(4):

ifconfig vlan0 create vlan 2 vlanif wm0
ifconfig vlan0 destroy

It pays to avoid a reset because after a reset it can take about 30
seconds before wm0 is back on the net.

The patch garnered no objections on tech-net@.

Sponsored by CoyotePoint Systems Inc.

(dyoung)

2010-12-14 02:28:58 UTC MAIN commitmail json YAML

2010-12-14 01:28:18 UTC MAIN commitmail json YAML

Add NetBSD version of zfs snapshot management code. IT needs testing it
was only compile tested for now, but I would like to have some code in to be
sure that it will not be lost.

(haad)

2010-12-14 01:25:37 UTC MAIN commitmail json YAML

2010-12-14 01:23:44 UTC MAIN commitmail json YAML

Remove now unneeded print_timestamp.

(haad)

2010-12-14 01:22:24 UTC MAIN commitmail json YAML

Fix amd64 build where sysinfo was not defined, disable libshare for now.

(haad)

2010-12-14 01:21:25 UTC MAIN commitmail json YAML

Do not include debug.h

(haad)

2010-12-14 01:21:03 UTC MAIN commitmail json YAML

Add some more solaris vnode defs for zfs_ctldir.

(haad)

2010-12-14 01:18:34 UTC MAIN commitmail json YAML

Include sys/debug.h to get ASSERT defined.

(haad)

2010-12-14 01:03:10 UTC MAIN commitmail json YAML

Define print_timestamp during build, to shut up gcc warning.

(haad)

2010-12-14 01:01:41 UTC MAIN commitmail json YAML

2010-12-14 01:00:26 UTC MAIN commitmail json YAML

NetBSD doesn't have /etc/mnttab replace it with /dev/null.

(haad)

2010-12-13 23:10:13 UTC MAIN commitmail json YAML

Don't __weak_alias non-existent symbols.  Apparently the alpha
compiler doesn't like it.

(pooka)

2010-12-13 21:48:01 UTC MAIN commitmail json YAML

2010-12-13 21:47:32 UTC MAIN commitmail json YAML

use CRUNCHOPS for a crunched prog

(pooka)

2010-12-13 21:47:04 UTC MAIN commitmail json YAML

befriend RUMPPRG with CRUNCHEDPRG

(pooka)

2010-12-13 21:15:31 UTC MAIN commitmail json YAML

Add netstat rump client.  For now, it always sets -X, i.e. will
use only sysctl and no kvm (implementing /dev/mem for a rump kernel
would probably not be hard, but still a non-zero effort).

Note: since there is absolutely no network activity in a fresh rump
kernel, rump.netstat usually displays exactly nothing when invoked
without parameters.  Arguments like -r, -bi, -p icmp etc. produce
more stuff.

(pooka)

2010-12-13 21:08:38 UTC MAIN commitmail json YAML

add attributes from the Basic Printing Profile v1.2r00

(plunky)

2010-12-13 21:07:55 UTC MAIN commitmail json YAML

2010-12-13 20:51:12 UTC MAIN commitmail json YAML

2010-12-13 20:48:45 UTC MAIN commitmail json YAML

Add rump client support for module utilities.  It should be noted
that while modstat and modunload and builtin modules work exactly
the same as in the host case, modload loads file system kernel
modules from the rump kernel namespace.  By default, archs which
have rump support for the kernel kernel ABI have the host module
directory mapped into the rump kernel namespace at the same location
(/stand/...).  Therefore, if the *host* module directory is populated,
"rump.modload foo" will work as expected.  Otherwise, RUMP_MODULEBASE
can be used to point to the module directory.

(pooka)

2010-12-13 19:39:37 UTC MAIN commitmail json YAML

there's a manpage now ... just not here

(pooka)

2010-12-13 19:37:32 UTC MAIN commitmail json YAML

Add PT_GNU_EH_FRAME definition

(joerg)

2010-12-13 19:36:34 UTC MAIN commitmail json YAML

2010-12-13 19:35:00 UTC MAIN commitmail json YAML

Prompted by dholland@; add the C99 TCORs.

(jruoho)

2010-12-13 19:22:01 UTC MAIN commitmail json YAML

Clarifications. Improvements to wording and markup. Also follow the common
conventions and split the NOTES into CAVEATS (all these really highlight the
work-in-progress nature of the modules). Split the note about security into
SECURITY CONSIDERATIONS. Add an EXAMPLE on how to manually update modules.

(jruoho)

2010-12-13 19:19:10 UTC MAIN commitmail json YAML

2010-12-13 19:17:21 UTC MAIN commitmail json YAML

op_read return value is a ssize_t, not an int.

(njoly)

2010-12-13 18:02:05 UTC MAIN commitmail json YAML

2010-12-13 18:00:39 UTC MAIN commitmail json YAML

2010-12-13 17:51:41 UTC MAIN commitmail json YAML

2010-12-13 17:47:40 UTC MAIN commitmail json YAML

2010-12-13 17:42:17 UTC MAIN commitmail json YAML

2010-12-13 17:39:47 UTC MAIN commitmail json YAML

2010-12-13 17:35:31 UTC MAIN commitmail json YAML

Define PROG here since Makefile.inc no longer defines it.

(pooka)

2010-12-13 17:35:08 UTC MAIN commitmail json YAML

2010-12-13 17:22:26 UTC MAIN commitmail json YAML

Define RUMPPRG, which is just like PROG, except it additionally
builds a rump client with the name rump.${PROG}.  The rump client
is not installed suid/sgid by default even if BINMODE is defined.

(pooka)

2010-12-13 16:54:04 UTC MAIN commitmail json YAML

PR/44229: Henning Petersen: Remove dup check for whitespace.

(christos)

2010-12-13 16:52:53 UTC MAIN commitmail json YAML

- no casts for malloc and free
- malloc(type) -> malloc(*value)
- malloc+strcpy -> strdup

(christos)

2010-12-13 16:19:03 UTC MAIN commitmail json YAML

Change definition of pc_bus_maxdevs to get a void * instead a pci_chipset_tag_t
to match its use in pci_bus_maxdevs.  This makes it the same as pci_conf_read
and pci_conf_write.
Change all struct device * to device_t.
[Obviously nothing ever used the first argument to pc_bus_maxdevs since it
could have never worked because it wasn't being passed a pci_chipset_tag_t.]

(matt)

2010-12-13 14:26:22 UTC MAIN commitmail json YAML

Also support ld syntax in -l.

was: -l librumpvfs.so
now: -lrumpvfs

(pooka)

2010-12-13 14:18:50 UTC MAIN commitmail json YAML

Back out rev that shouldn't have been committed.

(matt)

2010-12-13 14:17:11 UTC MAIN commitmail json YAML

Mirror sysctlgetmibinfo RUMP_ACTION change.

(pooka)

2010-12-13 14:13:22 UTC MAIN commitmail json YAML

Add -m which can be used to load modules (which is a completely
different code path than using dlopen() before rump_init(), since
the former uses the in-kernel linker and the latter links the object
in rtld).

So:
golem> ./rump_server -l librumpvfs.so -m /sys/modules/tmpfs/tmpfs.kmod unix:///tmp/commsuck
==>
golem> env RUMP_SERVER=unix:///tmp/commsuck rump.modstat
NAME            CLASS      SOURCE    REFS  SIZE    REQUIRES
suser            secmodel  builtin    0    -        -
tmpfs            vfs        filesys    0    16713    -
wapbl            vfs        builtin    0    -        -

Source is filesys instead of builtin, as expected.

Notably, for -m you *must* use -l librumpvfs.so.  This is because
you need VFS in your kernel to be able to load modules from the
file system.  In a regular kernel "librumpvfs.so" is linked at
kernel build time and loaded by the bootloader.  Here we use dlopen()
for both effects (the other choices would have been to link
rump_server with -lrumpvfs, but that would limit the flexibility,
or link tmpfs.kmod directly into the binary, but that would limit
the flexibility even more).

(pooka)

2010-12-13 14:03:59 UTC MAIN commitmail json YAML

stubs to make life easier

(pooka)

2010-12-13 13:41:42 UTC MAIN commitmail json YAML

directory not used anymore

(pooka)

2010-12-13 13:39:43 UTC MAIN commitmail json YAML

2010-12-13 13:38:20 UTC MAIN commitmail json YAML

2010-12-13 13:32:26 UTC MAIN commitmail json YAML

Handle -l which dlopens libs.  This is more applicable to rump_server
than rump_allserver.

So if I do:

golem> rump_server unix:///tmp/commsuck
==>
golem> env RUMP_SERVER=unix:///tmp/commsuck rump.modstat
NAME            CLASS      SOURCE    REFS  SIZE    REQUIRES
suser            secmodel  builtin    0    -        -

and:

golem> rump_server -l librumpvfs.so unix:///tmp/commsuck
==>
golem> env RUMP_SERVER=unix:///tmp/commsuck rump.modstat
NAME            CLASS      SOURCE    REFS  SIZE    REQUIRES
suser            secmodel  builtin    0    -        -
wapbl            vfs        builtin    0    -        -

golem> rump_server -l librumpvfs.so -l librumpfs_ffs.so unix:///tmp/commsuck
==>
golem> env RUMP_SERVER=unix:///tmp/commsuck rump.modstat
NAME            CLASS      SOURCE    REFS  SIZE    REQUIRES
ffs              vfs        builtin    0    -        -
suser            secmodel  builtin    0    -        -
wapbl            vfs        builtin    0    -        -

Well, you get the picture...

(pooka)

2010-12-13 13:29:15 UTC MAIN commitmail json YAML

Add rump_server which is just like rump_allserver with the exception
that it links in only -lrump instead of everything.  The startup
time difference (especially when attaching a debugger) is noticeable.

(pooka)

2010-12-13 11:51:23 UTC MAIN commitmail json YAML

2010-12-13 10:07:47 UTC MAIN commitmail json YAML

2010-12-13 09:06:52 UTC MAIN commitmail json YAML

document abortop.  part of PR kern/44208

(pooka)

2010-12-13 07:29:14 UTC MAIN commitmail json YAML

2010-12-13 06:40:13 UTC MAIN commitmail json YAML

add definitions for T_DATA_MMU_MISS, T_FAST_ECC_ERROR, T_DC_PAR_ERR
and T_IC_PAR_ERR, all are >= USIII only.

(mrg)

2010-12-13 06:35:04 UTC MAIN commitmail json YAML

trap 0x70 is a "+fast ECC error".

(mrg)

2010-12-13 06:30:44 UTC MAIN commitmail json YAML

2010-12-13 06:21:53 UTC MAIN commitmail json YAML

2010-12-13 05:01:56 UTC MAIN commitmail json YAML

2010-12-13 03:36:39 UTC MAIN commitmail json YAML

Tables used by parser logic should be const.

(dholland)

2010-12-13 03:35:13 UTC MAIN commitmail json YAML

Remove stray extern definition that's already in jobs.h.

(dholland)

2010-12-13 03:32:25 UTC MAIN commitmail json YAML

Cosmetic: declare types before variables, group variables by role,
update some comments, format comments properly, etc. No functional
change intended.

(dholland)

2010-12-13 01:48:51 UTC MAIN commitmail json YAML

Add const necessary for clean non-native build.

(dholland)

2010-12-13 01:45:39 UTC MAIN commitmail json YAML

2010-12-13 01:44:26 UTC MAIN commitmail json YAML

2010-12-13 01:25:20 UTC MAIN commitmail json YAML

fix possibly uninitialized variable

(christos)

2010-12-12 22:50:42 UTC MAIN commitmail json YAML

2010-12-12 22:48:59 UTC MAIN commitmail json YAML

Remove bogus check which is not actually testing anything useful,
and depending on file system data, can actually be a false error.

Fixes what I was actually testing for in bin/44209, though the
actual problem was not what I originally described.

(riz)

2010-12-12 22:34:44 UTC MAIN commitmail json YAML

Don't bother with SCCS or the other RCSID conditionals.

(joerg)

2010-12-12 22:14:19 UTC MAIN commitmail json YAML

Fix another reference to LKM, and update author's name.

(pgoyette)

2010-12-12 22:11:03 UTC MAIN commitmail json YAML

Split "filesystem", and remove superfluous Pp.

(wiz)

2010-12-12 20:22:48 UTC MAIN commitmail json YAML

errlist.c is automatically generated now.

(christos)

2010-12-12 20:20:43 UTC MAIN commitmail json YAML

2010-12-12 20:19:41 UTC MAIN commitmail json YAML