summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-11Minor bump after my previous commit. Noticed by deraadt@.Paul Irofti
2012-04-11Add pthread barrier support.Paul Irofti
Implementation and documentation for: - pthread_barrier_init() - pthread_barrier_destroy() - pthread_barrier_wait() - pthread_barrierattr_init() - pthread_barrierattr_destroy() - pthread_barrierattr_getpshared() - pthread_barrierattr_setpshared() Currently only private barriers are supported. Okay guenther@.
2012-04-11if we ever activate that, this may need fixingMarc Espie
2012-04-11fuss with detailsMarc Espie
2012-04-11fix install to cope with 0-sized mmap now returning EINVAL.Marc Espie
- no need to copy anything - gc redundant size check - short-cut for compare (theo's code) - gc volatile ??? - style "sure" theo
2012-04-11Minimal threads support for i386.Mark Kettenis
2012-04-11delete excessive evtimer_pending; ok claudioTheo de Raadt
2012-04-11rate limiting of accept() in various cases. Testing by jmatthew. thereTheo de Raadt
maybe still be a corner case where it needs one more file descriptor beyond the limit..
2012-04-11Do rate limiting of accept() when under pressure, like in other recentTheo de Raadt
daemons. Light testing by some relayd users; let me know if issues develop.
2012-04-11accept() pacing on the control socket if E*FILE errors are returned.Claudio Jeker
Based on work by Theo for ospfd and friends. OK deraadt@
2012-04-11new clean-room manpages for posix_spawn, unencumbered by any POSIX bullshit.Marc Espie
"just commit it" deraadt@ (nits to be fixed soon)
2012-04-11Silence gcc warnings.Antoine Jacoutot
ok deraadt@
2012-04-11Turn automatic-rename off properly if turned off by renaming aNicholas Marriott
window. Reported by Romain Francoise.
2012-04-11Stop accepting new clients for 1 second on EMFILE/ENFILE. Based onNicholas Marriott
ongoing fixes to other daemons by Theo.
2012-04-11Use "unsigned int" rather than "unsigned". No object change.Alexandre Ratchov
suggested by deraadt@
2012-04-10pthread_setcanceltype() shouldn't be a cancelation pointPhilip Guenthe
ok kurt@
2012-04-10Add a start record to the ktrace and use a special magic string "KTR"Mike Belopuhov
to identify ktrace files. kdump(1) will now refuse to operate on trace data without the start record and as a bonus will print only PID, unless an -H flag is specified to print PID/TID pairs. Initial diff, input from and ok deraadt, guenther.
2012-04-10prevent dpb trace handler from getting in the way of normal usage error reports.Marc Espie
2012-04-10Do not pick the network number as alias on entries with no aliasEric Faurot
defined. ok deraadt@
2012-04-10Count traps and fpu context switches.Miod Vallat
2012-04-10Document new KERN_NTHREADS and KERN_MAXTHREAD sysctlsPhilip Guenthe
2012-04-10Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimitPhilip Guenthe
count processes instead of threads. New sysctl()s KERN_NTHREADS and KERN_MAXTHREAD count and limit threads. The nprocs and maxproc kernel variables are replaced by nprocess, maxprocess, nthreads, and maxthread. ok tedu@ mikeb@
2012-04-10Build with -O1 on vax for now, pcre_exec can not build with -O2.Miod Vallat
2012-04-10Don't try to mmap a zero length file, from NetBSD.Antoine Jacoutot
Needed after the recent mmap(2) change. ok ariane@
2012-04-10When converting the timeout to ticks, both round up and add one to accountPhilip Guenthe
for the tick that we're already in the middle of. noted and tested by aja; ok kurt@
2012-04-10Return EINVAL on 0-byte mmap invocation.Ariane van der Steldt
- Posix rules that a 0-byte mmap must return EINVAL - our allocators are unable to distinguish between free memory and 0 bytes of allocated memory
2012-04-10remove unused variable.Charles Longeau
ok nicm millert
2012-04-10POSIX locks should track the process's pid and not the thread's idPhilip Guenthe
2012-04-10Handle file descriptor exhaustion in the accept() case.Theo de Raadt
ok claudio
2012-04-09No need to round VCEI addresses, and VCED addresses only need to be roundedMiod Vallat
to a word boundary.
2012-04-09Attach eisa devices after all the onboard devices have attached rather thanMiod Vallat
before them.
2012-04-09More errata bandaid for the R4000SC is necessary in the tlb handlers.Miod Vallat
2012-04-09If running on the original 33C93, reject commands not in groups 0, 1 or 5Miod Vallat
if their size is not exactly six bytes, as the chip can't cope with this situation. Another situation all 33C93 do not cope with very well, is sending stop commands to targets (such as all sd(4) devices when halting with poweroff) - it takes a very long time to recover once all targets on the bus have been powered down, so we need to raise timeouts to unholy values (one test case has required more than 20 seconds to recover). Not surprising, as this command is not documented as supported in the chip documentation.
2012-04-09Cope with strict alignment platforms, and unbreak the RX logic. Tested withMiod Vallat
ep@eisa on sgi.
2012-04-09Minimal threads support for mips64.Mark Kettenis
2012-04-08Sync with the current state of thingsMiod Vallat
2012-04-08Enable option CPU_R4600, verified to work on an R4600PC Indy. The secondaryMiod Vallat
cache is still not supported yet (needs extra code being worked on, as does the R5000SC Indy).
2012-04-08Be more careful when reprogramming the sq(4) DMA and PIO timing parameters;Miod Vallat
the current logic can be traced back to DaveM's intership at SGI in 1996, and are adequate for the hardware he had access to. However, ``recent'' Indigo2 and Indy systems are fit with a faster (33MHz instead of 25MHz) GIO64 bus, which need different timing parameters, and guess what? The PROM knows the right values to set. Since programming these timing registers was apparently only necessary for the Challenge S second interface: 1) only reprogram those registers on an IP24 (Indy, Challenge S) system. 2) pick proper values depending upon the actual GIO64 bus speed. Item #1 fixes Ethernet operation on Indigo2 (at least my teal R4400SC). Item #2 fixes Ethernet operation on my R5000SC Indy. For the record, programming unoptimal value caused `TX DMA underrun' errors (documented as `can't happen' in the HPC3 documentation, oh the irony), which could be reproduced reliably with ypbind(8).
2012-04-08Minimal threads debug support for powerpc.Mark Kettenis
2012-04-08no more lint;Jason McIntyre
2012-04-08no more lint;Jason McIntyre
2012-04-08tedu lintJonathan Gray
ok tedu@ guenther@ krw@ espie@ deraadt@
2012-04-08syncTheo de Raadt
2012-04-08unhook lint from the tree. The parser is incomplete and difficultJonathan Gray
to fix and there are several alternatives that don't tell quite so many dangerous lies. enthusiastic agreement from a bunch of people
2012-04-08additional urtwn device ids found in the linux driverJonathan Gray
2012-04-08regenJonathan Gray
2012-04-08additional urtwn device ids found in the linux driverJonathan Gray
2012-04-08Missed kbproto documentation directory.Matthieu Herrb
2012-04-08New directories for protocol documentation.Matthieu Herrb
2012-04-08regenJonathan Gray