Commit Graph

192063 Commits

Author SHA1 Message Date
njoly a28e233447 Do set f_namemax at mount, to provide sensible value for statvfs(2)
calls.
2010-07-07 16:19:55 +00:00
jruoho 6218b6cbdb Xref pthread_attr_getschedparam(3) and sched(3). Use a list for clarity. 2010-07-07 16:07:10 +00:00
jruoho edddb28a67 Split pthread_attr_getschedparam() and pthread_attr_setschedparam() to a
separate page.
2010-07-07 16:04:19 +00:00
jruoho cf6053f7b6 Split pthread_attr_getinheritsched() and pthread_attr_setinheritsched() to a
separate page, and actually document these.
2010-07-07 15:30:32 +00:00
njoly f4fe57bd3e Add puffs/h_have_puffs.debug obsolete entry back. 2010-07-07 14:54:19 +00:00
jruoho 904af291c8 Move pthread_attr_getguardsize() and pthread_attr_setguardsize() to a
separate page, and actually document these.
2010-07-07 13:04:20 +00:00
jruoho 40267ee9ae Fix some minor errors/typos and clarify. 2010-07-07 12:49:15 +00:00
jmmv 6f19690766 Add missing includes to bring the linux_semun type needed by
linux_syscallargs.h.
2010-07-07 12:43:18 +00:00
pooka 062d6d1f8d Make "i" unsigned to mirror change to struct uvm_history 2010-07-07 11:42:18 +00:00
jruoho 2bf45345db Move the thread stack attribute functions to a separate page. In addition,
document pthread_attr_getstack() and pthread_attr_setstack(). Try to also
document these a little better (in particular, note some items in the long
list of caveats and questions related to application-controlled thread stack).
2010-07-07 11:04:52 +00:00
pooka 5544227ec7 Add test cases for file servers which present the root node not as
a directory but as a regular file, symbolic link (although that
can't be unmounted without killing the server!), fifo or character
device.
2010-07-07 10:49:51 +00:00
pooka 15882db1c8 Borrow /dev/mem major from i386 for /dev/null and autogenerate node. 2010-07-07 10:47:39 +00:00
pooka f8c13e51aa add /dev/putter to "devfs" (forgot to commit this earlier) 2010-07-07 10:46:20 +00:00
njoly 0eab175c82 Add missing list end. 2010-07-07 10:22:33 +00:00
wiz c4ed068736 Sort sections. 2010-07-07 09:54:07 +00:00
jruoho dbb0e63cfb Split pthread_attr_getdetachstate(3) and pthread_attr_setdetachstate(3) to a
separate page. Once ready, the main page, pthread_attr(3), will contain a
summary of the various thread attribute functions.
2010-07-07 08:57:36 +00:00
jruoho 7f32058c79 Remove pthread_attr_getscope() and pthread_attr_setscope(). 2010-07-07 08:41:11 +00:00
jruoho 69ff1aa9c5 Move pthread_attr_{g,s}etscope() to a separate page and try to document
these better. Should fix PR lib/41831 from Wolfgang Stukenbrock.

XXX: Please proofread.
2010-07-07 08:22:53 +00:00
msaitoh 0f0d9fe1d4 regen. 2010-07-07 04:57:39 +00:00
msaitoh 153ff9745f 0x1409 is SUNIX 2010-07-07 04:56:44 +00:00
msaitoh 310cb20a73 For interrupt transfer, nak throttling must be disabled, but for the other
transfer type, nak throttling should be enabled from the veiwpoint that
avoids the memory thrashing. Fixes a problem that interrupt transfer stall
on some EHCI controllers (e.g. Geode LX). Fixed by Yamada Katsumi.
2010-07-07 03:55:01 +00:00
chs 6b006f0c29 welcome to 5.99.35 (changes for updated COMPAT_LINUX). 2010-07-07 01:37:35 +00:00
chs 63c9e60bb0 enable COMPAT_LINUX. 2010-07-07 01:32:51 +00:00
chs d916122e7d regen 2010-07-07 01:31:51 +00:00
chs 33fa5ccbbf many changes for COMPAT_LINUX:
- update the linux syscall table for each platform.
 - support new-style (NPTL) linux pthreads on all platforms.
   clone() with CLONE_THREAD uses 1 process with many LWPs
   instead of separate processes.
 - move the contents of sys__lwp_setprivate() into a new
   lwp_setprivate() and use that everywhere.
 - update linux_release[] and linux32_release[] to "2.6.18".
 - adjust placement of emul fork/exec/exit hooks as needed
   and adjust other emul code to match.
 - convert all struct emul definitions to use named initializers.
 - change the pid allocator to allow multiple pids to refer to the same proc.
 - remove a few fields from struct proc that are no longer needed.
 - disable the non-functional "vdso" code in linux32/amd64,
   glibc works fine without it.
 - fix a race in the futex code where we could miss a wakeup after
   a requeue operation.
 - redo futex locking to be a little more efficient.
2010-07-07 01:30:32 +00:00
chs 56acc98394 enable DDB_HISTORY_SIZE in a few more configs where DDB is enabled. 2010-07-07 01:24:52 +00:00
chs cc7a868696 implement emulation of the "rdhwr" instruction for mips TLS. 2010-07-07 01:23:42 +00:00
chs 7ddf89ffa3 enable usermode RAS for sun[23] also. 2010-07-07 01:23:08 +00:00
chs 00c0212959 add "trace/a" to trace by LWP address. 2010-07-07 01:22:35 +00:00
chs 934c1780af fix db_{read,write}_bytes() for unaligned addresses
(just copy a byte at a time, this isn't a performance path).
2010-07-07 01:22:12 +00:00
chs 8c5cce48f1 set error return value for user addresses in kernel space.
(this fixes a bug in my previous checkin here.)
2010-07-07 01:21:47 +00:00
chs dd80381ce2 return the error from fault handler in ucas_fault
rather than forcing EFAULT.
2010-07-07 01:21:15 +00:00
chs 8b4d79c278 implement cpu_lwp_setprivate() on several platforms. 2010-07-07 01:20:49 +00:00
chs cd93d88b01 implement ucas_* for powerpc/oea. 2010-07-07 01:19:54 +00:00
chs 8103357160 implement ucas_* for mips. 2010-07-07 01:19:09 +00:00
chs 794a8be6ca fix hppa ucas_*():
- "ret" is a kernel-space pointer.
 - move the ucas RAS check from the device interrupt path
   to the page-fault path.
2010-07-07 01:18:39 +00:00
chs e8200b900c implement ucas_* for alpha. 2010-07-07 01:17:49 +00:00
chs fb84d42413 implement ucas_* for arm. 2010-07-07 01:17:26 +00:00
chs 9ea6b6e3f2 implement ucas_* for m68k. 2010-07-07 01:16:23 +00:00
chs b9075fd7d9 clean up the check for tracing into a syscall handler. 2010-07-07 01:15:34 +00:00
chs ffa744f452 add the guts of TLS support on amd64. based on joerg's patch,
reworked by me to support 32-bit processes as well.
we now keep %fs and %gs loaded with the user values
while in the kernel, which means we don't need to
reload them when returning to user mode.
2010-07-07 01:14:52 +00:00
chs 1842e935a4 fix more bugs in ucas_*():
move the "old" value to %*ax so that cmpxchg* can work.
remove the PCB_ONFAULT stuff, onfault_handler() handles this already.
return the error from fault handler in ucas_fault rather than forcing EFAULT.
2010-07-07 01:13:29 +00:00
chs 8594179a40 COMPAT_LINUX32 requires COMPAT_LINUX. 2010-07-07 01:09:39 +00:00
chs 4c14d1923f switch the UVMHIST counters from mutexes to atomic ops
to avoid a bad interaction with DIAGNOSTIC.
2010-07-07 01:08:51 +00:00
njoly 3bb7b36948 Install x86/pte.h 2010-07-07 00:10:14 +00:00
njoly d7d48e5d3f +./libdata/firmware/upgt 2010-07-06 23:33:28 +00:00
njoly aab619738e Add missing list end. 2010-07-06 23:15:47 +00:00
jruoho 42a8adcdaf Xref ldd(1) as per PR bin/30043 from Jochen Keil. 2010-07-06 23:05:56 +00:00
jruoho 02b671da36 Use .Xr for Xrefs. 2010-07-06 22:29:29 +00:00
jruoho 6a595a491d Same here; fix LIBRARY, add COMPATIBILITY/ERRORS, etc. 2010-07-06 22:24:56 +00:00