Commit Graph

181408 Commits

Author SHA1 Message Date
dholland 04ecbfca8b attribute noreturn -> __dead 2009-06-04 05:52:30 +00:00
dholland 02e6a3b1d0 sprintf -> snprintf 2009-06-04 05:51:12 +00:00
dholland 891dcf008d Increase spending on vowels. No object file diffs. 2009-06-04 05:43:29 +00:00
dholland 881e77fbe7 ANSIfy function declarations.x 2009-06-04 05:27:04 +00:00
dholland 54163608bb sprintf -> snprintf 2009-06-04 04:48:04 +00:00
jnemeth 3ee4fdb595 Add a "-m plist" option. This option will read in an existing
<module>.prop file and merge any options supplied on the "command
line".

This code will serve as the basis for in-kernel merging.
2009-06-04 02:57:01 +00:00
jnemeth fa6c059bce add KASSERT(p != NULL); to kmem_free() 2009-06-03 22:54:51 +00:00
pgoyette 7c25ce0d52 Explicitly set sensor's units to ENVSYS_STEMP rather than having
it work only because ENVSYS_STEMP is #defined to 0
2009-06-03 22:34:18 +00:00
skrll c113d9a27f Do not use lwp_trampoline for cpu_setfunc, but a simplified setfunc_trampoline
that does not call lwp_startup().
2009-06-03 21:08:51 +00:00
bouyer d478d33fa1 Add support for fr_*.UTF-8 locale. Setting LANG to fr_*.UTF-8 won't get
the message catalog right (they're encoded in iso-8859-1), but other locale
functions should work right.
Proposed on tech-userlevel on 20 May 2009.
2009-06-03 18:47:05 +00:00
macallan f48726983f make this compile again without tctrl 2009-06-03 16:25:22 +00:00
pooka 13c5258c1a pool_prime emulation 2009-06-03 16:07:21 +00:00
pooka 8f814de2c0 Add user vmspace locking and remapping routines. Obviously, these
currently work only if the vmspace is local to the rump kernel.
2009-06-03 16:06:10 +00:00
pooka 2c5f264f9b implement wakeup_one 2009-06-03 15:16:42 +00:00
njoly ad76703a87 Cleanup (no functional changes).
Kill some unneeded variables and return stattement.
Rename linux32_from_stat() to better bsd_to_linux32_stat64().
Fix some types.
2009-06-03 15:13:26 +00:00
pooka 48fb37f153 opt for _KERNEL_OPT 2009-06-03 15:07:30 +00:00
njoly 5a5f8e093f Fix inverted lst_ino/__lst_ino assignment in linux32_from_stat(). 2009-06-03 14:17:18 +00:00
cegger 84dc7c540d Interrupt handling in Xen 3.5 changed. There's no longer
a hardcoded upper limit. So *our* upper limit of 200 may be different from machine to machine now.
So just retry if the hypercall failed.
2009-06-03 12:43:22 +00:00
pgoyette 677e91afbc Don't allocate the private list-threading structure unless we're going
to use it.  Otherwise we end up leaking little bits of memory for each
sensor that is not monitored at time of initial registration.
2009-06-03 11:43:15 +00:00
wiz cc8abfac27 New sentence, new line. 2009-06-03 09:04:18 +00:00
wiz cd10aae286 Bump date for previous. 2009-06-03 09:03:24 +00:00
christos 2a6e000238 add _lwp_makecontext for the vax. 2009-06-03 01:02:28 +00:00
pooka bd085b2b32 If RUMP_ACTION, treat close() as a rump syscall. 2009-06-02 23:41:35 +00:00
pooka ca254ab879 include syscalls.c 2009-06-02 23:28:53 +00:00
pooka b89c189be7 Declare extern syscallnames in a header. 2009-06-02 23:21:37 +00:00
christos 1f751faed6 make this compile one non mbr machines (move #define to the general section) 2009-06-02 21:15:53 +00:00
jnemeth e70c89ed87 note that vn_open locks the vnode 2009-06-02 18:09:34 +00:00
njoly 49c8536f1f Regen for siggetmask/sigsetmask. 2009-06-02 16:55:16 +00:00
njoly 9a0f18cccc Add siggetmask/sigsetmask syscalls. 2009-06-02 16:54:39 +00:00
njoly 5932e6a6cd Add the mask value returned by siggetmask. 2009-06-02 16:53:07 +00:00
agc 732655c303 Some autoconfig glue around header files inclusion. 2009-06-02 15:10:07 +00:00
pooka 2ff04dc7a0 document errnos 59 and 71. government denies knowledge. 2009-06-02 13:15:41 +00:00
njoly 7c47c56d95 Make nice(2) return EPERM on error, not EACCES (from sys_setpriority). 2009-06-02 13:00:23 +00:00
sjg 2428caab9f Missing ':' in .ORDER example 2009-06-01 23:28:39 +00:00
yamt cef9767a7a don't describe internal details. 2009-06-01 22:04:54 +00:00
martin 476755a88c Do not use lwp_trampoline for cpu_setfunc, but a simplified setfunc_trampoline
that does not call lwp_startup() instead.
2009-06-01 20:58:16 +00:00
pgoyette da6eeb0e4d Replace a flag that was accidentally removed. 2009-06-01 20:36:43 +00:00
pgoyette 5a84f3060e Since we no longer have individual events for each sensor value limit,
we don't need individual flag bits.  Clean up extra bit definitions.
Bump kernel version - welcome to 5.99.13
2009-06-01 20:08:44 +00:00
christos cb3a6fdee7 Delete GPT partitions if we overwrite with MBR to avoid confusion with disks
that have both MBR and a secondary left over GPT partition signature. From
Mike M. Volokhov
2009-06-01 19:57:33 +00:00
christos 477a0ba90e Add an NetBSD id for ease of maintenance. 2009-06-01 19:07:55 +00:00
he 7f447b4ade The sparc miniroot actually doesn't use "file" anymore to distinguish
between a.out and ELF objects, so omit the now no-longer-present "magic"
file (deprecated after latest "file" update).
2009-06-01 13:06:03 +00:00
njoly 7e10d34f2a Note that fcntl(2) returns EINVAL for invalid command. 2009-06-01 09:56:06 +00:00
skrll f86cbcc8bf Enforce strong ordering (for now) on PA2.0. 2009-06-01 07:10:14 +00:00
yamt 99122f39e6 qsort: remove the "switch to insertion sort" optimization because it
causes catastrophic performance for certain inputs.
2009-06-01 06:37:40 +00:00
yamt 8a29be6be3 fix NULL dereferences in the compat versions of getpwent, getpwnam,
and getpwuid.
2009-06-01 06:04:37 +00:00
dholland e5909fd6fe Don't use a variable-size array here. There's not really that much point. 2009-06-01 04:03:26 +00:00
macallan db706a8f23 #define BUS_SPACE_MAP_LARGE 0 so SBus framebuffer drivers compile again 2009-06-01 01:14:06 +00:00
agc d21b929e26 CHANGES 1.99.7 -> 1.99.8
+ get rid of __ops_malloc_passphrase() - strdup() works just as well
+ generalise __ops_seckey_forget() to become __ops_forget(), give it a size
  parameter, and make it work on things other than secret keys (passphrases
  for instance)
+ minor struct field enum renaming
+ minor function call renaming
+ add ops_io_t struct to hold pointers to IO streams, and pass it down
  where necessary
2009-05-31 23:26:20 +00:00
phx b1d183bf84 Fixed format string from %x to %llx for dev_t. 2009-05-31 23:07:18 +00:00
yamt de0c01fd1d do_posix_fadvise: turn some KASSERTs into CTASSERTs. 2009-05-31 22:15:13 +00:00