Commit Graph

204811 Commits

Author SHA1 Message Date
christos eba2a3cf3e PR/40594: Antti Kantee: Don't call issignal() here to determine what errno
to set for the interrupted syscall, because issignal() will consume the signal
and it will not be delivered to the process afterwards. Instead call
sigispending() (which now returns the first pending signal) and does not
consume the signal.
2011-08-31 16:09:55 +00:00
christos 0330b42b89 Make sigispending() return the signal that is pending, or 0. Fix the comment
that said that it returns true or false (it returned EINTR or 0 before).
Perhaps we should rename the function now?
2011-08-31 16:05:44 +00:00
christos 8cdc46a4a4 make lwp_unstop look like proc_unstop. If p->p_xstat is set, then make it
runnable so that it can receive the signal.
2011-08-31 16:04:39 +00:00
plunky a9b219be41 NULL does not need a cast 2011-08-31 15:48:32 +00:00
mbalmer 468a063f63 Add CWARNFLAGS+= -Wno-unused for clang. 2011-08-31 14:42:18 +00:00
joerg 06cf5ec8d8 Use __dead. Be a bit more consistent about static.__dead. Be a bit more
consistent about static.
2011-08-31 13:38:19 +00:00
joerg 31870c16c9 static + __dead 2011-08-31 13:35:46 +00:00
joerg bec77c5f43 Use __dead 2011-08-31 13:32:36 +00:00
joerg 12e6140314 __dead + ANSIfy 2011-08-31 13:31:29 +00:00
joerg 011ce1522e Use __dead and __printflike 2011-08-31 13:30:44 +00:00
mbalmer 2e4cf7046d Link the gpioow(4) and onewire(4) modules to the build and add them to the
lists.
2011-08-31 13:25:49 +00:00
nakayama 65e58969b4 Fix build on mips (NOAOUT case). 2011-08-31 13:09:10 +00:00
jmcneill ca8d783171 If the host doesn't define LABELUSESMBR, set it to 1 2011-08-31 12:56:13 +00:00
mbalmer 59f6ae0da4 gpioow(4) and onewire(4) can be build as modules. Not linked to the build. 2011-08-31 12:46:36 +00:00
reinoud 769d3a5680 Completely redo R/M emulation and fault handling taking UVM as authorative
answer and not relying on UVM's pmap directions since UVM has its own schemes
for COW etc.
2011-08-31 12:42:41 +00:00
mbalmer aeaf43d1cc Switch von u_int_XY to uintXY 2011-08-31 12:25:05 +00:00
mbalmer 5d1f2a00ee Add glue code to build as module. 2011-08-31 12:23:32 +00:00
mbalmer d020095c80 Remove what I committed accidentally... 2011-08-31 12:20:35 +00:00
mbalmer c16a4100bc Add glue code to build as module. 2011-08-31 12:17:51 +00:00
mbalmer 582e442d26 gpio(4) keeps track of child devices attached using the GPIOATTACH ioctl(),
so remove those references and free the memory in gpio_childdetached().
Protect access to the list of child devices with a kcondvar.
2011-08-31 12:07:26 +00:00
mbalmer bd0e8947c5 Add pwdog. 2011-08-31 10:01:18 +00:00
gson 3d0694be75 Yet another format string fix 2011-08-31 08:15:08 +00:00
gson ed5e21d45c Fix format string to unbreak i386 build 2011-08-31 07:17:44 +00:00
jruoho afc7891098 Minor correction. 2011-08-31 07:04:49 +00:00
mbalmer c3001cc345 Remove double 'static'. 2011-08-31 07:03:00 +00:00
joerg 1009d03daf static + __dead 2011-08-30 23:10:45 +00:00
joerg 9f9e1b91cd Use __printflike and __dead 2011-08-30 23:08:05 +00:00
joerg 7e57d8fe3f Use __printflike and __dead. 2011-08-30 23:06:00 +00:00
christos b179ba6b46 Process the signal now, otherwise calling issignal() and ignoring
the return will lose the signal if it came from the debugger
(issignal() clears p->p_xstat)
2011-08-30 22:45:55 +00:00
rjs 8ae6b6e3af Typo in comment. 2011-08-30 22:23:06 +00:00
joerg 1f81257a3a static + __dead 2011-08-30 21:33:28 +00:00
joerg 87a5b512fc Localize variables. Use __dead 2011-08-30 21:28:27 +00:00
joerg ffcaee0540 static + __dead 2011-08-30 21:27:00 +00:00
joerg 949eeab3f6 static + __dead + G/C 2011-08-30 21:26:11 +00:00
joerg f4727fdfcf static + __dead 2011-08-30 21:18:11 +00:00
joerg c22bf27456 ANSIfy + static + __dead 2011-08-30 21:17:06 +00:00
joerg 6ede639fd6 __dead + __printflike 2011-08-30 21:14:06 +00:00
joerg 8583b49ce0 static + __dead 2011-08-30 21:03:31 +00:00
joerg 2d826702b5 ANSIfy + static + __dead 2011-08-30 20:54:18 +00:00
joerg 61a4a25cad De-__P + __dead 2011-08-30 20:52:10 +00:00
joerg 30469ad85e static + __dead 2011-08-30 20:51:29 +00:00
joerg 0cc6686eff ANSIfy + __dead 2011-08-30 20:50:24 +00:00
joerg 58b3bed15d static + __dead 2011-08-30 20:49:29 +00:00
joerg 36ae1097e8 static + ANSIfy + __dead 2011-08-30 20:45:31 +00:00
joerg 62c5413271 G/C 2011-08-30 20:43:43 +00:00
joerg f796930c37 static + ANSIfy + __dead 2011-08-30 20:42:22 +00:00
joerg 2d6640c450 static + __dead 2011-08-30 20:33:30 +00:00
joerg fedff36094 ANSIFy + static + __dead 2011-08-30 20:29:41 +00:00
joerg 76d8a55bb7 static + __printflike + __dead 2011-08-30 20:25:18 +00:00
joerg 9b838647dd Fast backward code to 1989 and use ANSI C consistently. Use __dead. 2011-08-30 20:17:00 +00:00