Commit Graph

197276 Commits

Author SHA1 Message Date
bouyer 21b1dbeb44 Move rumpuser_sp_fini() after the kernel has completed shuwdown
(and especially, after filesystems have been unmounted).
This way, rump.halt returns once the rump kernel is really out of the
game, which avoids races issues in test scripts using a rump kernel.
OK pooka@
2011-01-30 16:31:42 +00:00
rumko 597cd7831b Add myself 2011-01-30 11:50:43 +00:00
skrll 22dc156396 Don't use magic constant. 2011-01-30 10:09:23 +00:00
skrll 773417849f Whitespace. 2011-01-30 09:58:03 +00:00
jruoho 512cae94de Improve error reporting. 2011-01-30 08:55:52 +00:00
rmind f79a70df93 vn_lock: describe flags, remove reference to lockmgr. 2011-01-30 07:04:48 +00:00
rmind e5f51d8e44 Sync man page with reality. 2011-01-30 07:02:23 +00:00
wiz c147060a75 Remove trailing whitespace; new sentence, new line; mark up
NULL with Dv; fix Dd argument.
2011-01-29 23:38:34 +00:00
agc 6b63829157 sync sources with sourceforge repository, prompted by Mateusz Kocielski.
+ minor changes to free resources in error cases
+ update return values from some functions
+ wrap some long lines
+ more tests
+ add length argument to digest functions

an additional minor fix to make this build, and to libsaslc.3 man
page, by myself.
2011-01-29 23:35:30 +00:00
jakllsch 9d4594cbe9 Re-add LBL_ALIGN define we used to have pre-src/external.
Fixes a tcpdump SIGBUS on ARM.
2011-01-29 23:19:54 +00:00
matt 0536d96d78 Fix type sigtramp_t -> sigtramp_2 2011-01-29 22:58:47 +00:00
cegger a40029a856 use aprint_debug_dev and get rid of SYNAPTICSDEBUG 2011-01-29 20:37:24 +00:00
matt 9bccfe315c Add EVCNT_TYPE_ANY for sysctl. Fix EVCNT_STRING_MAX fencepost error. 2011-01-29 18:21:22 +00:00
matt e73cf42c63 Note new sysctl for evcnt and vmstat rework. 2011-01-29 18:19:54 +00:00
matt 45362e3914 Defer nlist processing until we know we need to it. If everything can be
obtained via sysctl, we can skip it entirely.  This means we can run even
if not setgid.

getuptime will now use sysctl/clock_gettime if memf is NULL.
doevcnt now sues sysctl(kern.evcnt) is memf is NULL.  It falls back to
groveling if sysctl returns an error of ENOENT.
dointr will call doevcnt to evcnt based intr stats.
2011-01-29 18:10:08 +00:00
matt 765779f409 Add a sysctl to retrieve evcnts from the kernel. You can tell it to
limit to a specific type and/or all or just evcnts with non-zero counts.
2011-01-29 17:35:23 +00:00
jym 4bd25a927a Pass down INSTALLSETS variable to installsets target. Use :Q to escape
shell meta-characters, as the variable contains a list of sets, separated
by spaces.

$ ./build.sh -V INSTALLSETS="base etc" install=idir

should now work as expected.

Reviewed by apb@ on tech-toolchain.
2011-01-29 16:56:26 +00:00
tsutsui 9b611cb949 kern/44483: Support for WACOM Graphire2 ET-0405A-U graphics tablet. 2011-01-29 14:20:18 +00:00
tsutsui c9e63bdb69 Regen from usbdevs rev 1.577:
> PR kern/44483: Add Wacom Graphire2 ET-0405A-U graphics tablet.
2011-01-29 14:18:24 +00:00
tsutsui 57f2dcf6e9 PR kern/44483: Add Wacom Graphire2 ET-0405A-U graphics tablet. 2011-01-29 14:17:44 +00:00
wiz 0e4af12970 postfix-2.8.0 out. 2011-01-29 10:51:42 +00:00
jnemeth 0af302156e PR/44482 - Ryo HAYASAKA -- typo 2011-01-29 04:00:19 +00:00
mrg 017add8611 add a makefile to build xf86-input-synaptics. 2011-01-29 02:32:36 +00:00
matt 2599cc89ba Don't use r0 to restore LR, use r7 instead. 2011-01-29 02:21:20 +00:00
christos 60c10f9b2e revert the revert and fix the code properly. 2011-01-29 02:16:52 +00:00
jym 0987908f63 Mirror a change that was made on i386 by gdt@.
XXX i386 and amd64 distrib have lots in common, maybe more files/logic
could/should be shared.

Message log reads:

Use ${INSTALL} ${COPY} instead of ${CP}.

This avoids a problem where files with mode 0400 (CVSREAD=t) are
copied to OBJDIR and then can't be re-copied on a subsequent build.
ok joerg@
2011-01-29 01:54:33 +00:00
jakllsch 12fe79019c Use macros for ring position advances, assuming a power of two ring size.
(Also, spelling correction in comment.)
2011-01-29 01:53:18 +00:00
christos f8dec0d4e9 allow get the size of the request sysctls to work. 2011-01-29 00:38:25 +00:00
haad 3bb48ba615 Add support for building pud as module. Do it in a same way how putter is
done.
2011-01-28 23:54:28 +00:00
phx 3a340652fb Included sys/arc/sandpoint/stand/altboot in the build process.
Install altboot and altboot.bin in /usr/mdec and copy them also into the
installation directory of the sandpoint release.
2011-01-28 22:15:35 +00:00
uwe 4826f91fe1 Implement PT_STEP. 2011-01-28 21:06:07 +00:00
matt 6192144845 Add a method to a whiteout an entry thereby allowing a md/ad file to remove
a file from the set lists.

Use this for md.evbppc which doesn't build some module tests.
2011-01-28 20:36:19 +00:00
pooka 3798dc422d Don't BWI_DEBUG by default + comment cleanup.
requested by Taylor R. Campbell (driver submitter)
2011-01-28 20:36:06 +00:00
pooka c930beb1ea migrate compat32 handling with previous
pointed out by Lars Heidieker
2011-01-28 20:31:10 +00:00
drochner da4141bdd5 roll back to 20101210 -- the current version just hung if one tried
to set the date
2011-01-28 20:23:38 +00:00
pooka dac4423feb Pass the value of getprogname() from the client to the server and
record it in p_comm.  This is nice for things like sockstat, since
they now display the client command name:

pain-rustique:43:~> rump.sockstat
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     xulrunner- 16     0 tcp    192.168.2.114.65507   204.152.190.12.80
root     xulrunner- 16     1 tcp    192.168.2.114.65501   204.152.190.12.80
root     xulrunner- 16     2 tcp    192.168.2.114.65500   204.152.190.12.80
root     xulrunner- 16     3 tcp    192.168.2.114.65499   204.152.190.12.80
root     xulrunner- 16     5 tcp    192.168.2.114.65498   204.152.190.12.80
root     xulrunner- 16     6 tcp    192.168.2.114.65497   204.152.190.12.80
root     socket     62     0 tcp6   *.http                *.*
root     socket     62     1 tcp    *.http                *.*
root     socket     63     0 tcp6   *.81                  *.*
root     socket     63     1 tcp    *.81                  *.*
2011-01-28 19:21:28 +00:00
pooka 6475f12521 support rump.sockstat 2011-01-28 18:52:48 +00:00
pooka 464ac5f9d7 Don't NULL out l_cpu, l_stat is the new rumpkernel way too. 2011-01-28 18:48:21 +00:00
pooka cedf6bdaf9 call procinit_sysctl to register the proc sysctl tree 2011-01-28 18:45:52 +00:00
pooka dd7a40671a Move sysctl routines from init_sysctl.c to kern_descrip.c (for
descriptors) and kern_proc.c (for processes).  This makes them
usable in a rump kernel, in case somebody was wondering.
2011-01-28 18:44:44 +00:00
pooka 0199e732f8 these days make sure we have an lwp lock (for lwp walker smiths) 2011-01-28 17:57:03 +00:00
pooka 840bf0206b If we are "unsleepable" due to a dying proc, yield() instead of
returning directly.  This allows other threads to run possible
setting a condition we are waiting on.

Fixes a busyloop condition which could be entered from vfs_unmountall()
where we were waiting for vrele_pending and the vrele thread could
not run since we were hogging the CPU.
2011-01-28 17:04:39 +00:00
pooka 96de0bb9fe Some lwp-walkers expect the correct value for l_stat, so use a flag
in l_flag instead of l_stat for the purpose of flagging lwps in a
dying proc.
2011-01-28 16:58:27 +00:00
pooka 99a6acb4bd fill in a default name for p_comm 2011-01-28 16:34:31 +00:00
jakllsch ecf43b9314 Set mva_size in the console case.
Addresses first portion of PR#43990.
2011-01-28 16:12:22 +00:00
tteras 2ee6d137de From Roman Hoog Antink <rha@open.ch>: Clean up sainfo reloading: rename
the functions, and remove unneeded global variable.
2011-01-28 13:02:34 +00:00
tteras 5d9b9d50e9 From Roman Hoog Antink <rha@open.ch>: Clean up rmconf reloading: rename
the functions, and remove unneeded global variable.
2011-01-28 13:00:14 +00:00
tteras c54595ebf5 From Roman Hoog Antink <rha@open.ch>: Log remote IP address if available
(slightly modified by tteras)
2011-01-28 12:51:40 +00:00
tsutsui 83fcc10a13 typo 2011-01-28 11:58:38 +00:00
tsutsui 6e3a84f222 Use CFATTACH_DECL_NEW() (no softc). 2011-01-28 10:20:28 +00:00