Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-22 | Document that getpeereid() works for SOCK_SEQPACKET sockets too. | Matthew Dempsky | |
2012-04-20 | use "an addrinfo", not "a addrinfo". ok jmc | Stuart Henderson | |
2012-04-20 | Fix kvm_deadfile2_byid()'s handling of kernel vs user addresses for | Philip Guenthe | |
fd_ofiles and fd_ofileflags, reading in the separate allocation when necessary. Lets fstat -p and fstat -u work on kernel crash dumps again. ok millert@ | |||
2012-04-20 | rearrange DESCRIPTION somewhat to make this page more readable; | Jason McIntyre | |
from Lawrence Teo | |||
2012-04-19 | cherrypick fix for CVE-2012-2110: libcrypto ASN.1 parsing heap overflow | Damien Miller | |
ok miod@ deraadt@ | |||
2012-04-19 | rely on the compiler giving us a built-in alloca. any new architecture | Theo de Raadt | |
or compiler we use will. ok millert | |||
2012-04-17 | Make it optional for kvm_getprocs() (and related sysctl) to return | Paul Irofti | |
thread information. Add a KERN_PROC_SHOW_THREADS flag that has to be set in order to get the thread info and make it off by default. This creates backwards compatibility for applications that relied on a given size/number of items to be returned. Modify ps(1) and top(1) accordingly. Okay guenther@. | |||
2012-04-17 | Remove "#define _POSIX_THREADS" line before include <pthread.h>. | Miod Vallat | |
The latter contains "#define _POSIX_THREADS 1" which makes gcc 2.95 complain. | |||
2012-04-15 | Create a new resolver for each thread. It will be done differently | Eric Faurot | |
eventually, but it's enough for now to make the blocking API fully thread-safe without locking. | |||
2012-04-15 | calling getnameinfo here is a bad idea. use inet_ntop. | Eric Faurot | |
2012-04-15 | tweak previous; | Jason McIntyre | |
2012-04-14 | clean-out ALL generated files | Marc Espie | |
2012-04-14 | oops | Marc Espie | |
2012-04-14 | crapola-generated, no need to do it each time. | Marc Espie | |
2012-04-14 | zap parse.y, it's NOT yacc source code, and otherwise make depend will think | Marc Espie | |
parse.[ch] comes from it. | |||
2012-04-14 | OpenBSD compile goo | Marc Espie | |
2012-04-14 | include file, mostly from sqlite.h.in, with parts un-autoconf'd since | Marc Espie | |
we don't need most of the portability goo | |||
2012-04-14 | extra src for us. | Marc Espie | |
regen parse.c/parse.h with "lemon", no need to recompile every time. pthread_stub.c might(?) be needed for clean non-pthreads operation (to be checked, the nomutex stuff looks interesting) | |||
2012-04-14 | sqlite 3.7.11 library, vendor sources | Marc Espie | |
2012-04-14 | Make kvm_getfile2() have a fighting change to work correctly on crash | Philip Guenthe | |
dumps | |||
2012-04-14 | Update to match nprocs-->nprocess/nthreads changes | Philip Guenthe | |
2012-04-14 | Need to read in the vmspace to dig out the root of the rb-tree | Philip Guenthe | |
2012-04-14 | Add new mutex type, PTHREAD_MUTEX_STRICT_NP which checks for application | Kurt Miller | |
errors similar to PTHREAD_MUTEX_ERRORCHECK, however upon error it aborts. The rational is that many applications don't check the return values on pthread functions and will miss the errors that ERRORCHECK returns. PTHREAD_MUTEX_STRICT_NP will be our default mutex type for awhile okay guenther@ dcoppa@ | |||
2012-04-14 | only define DEBUG internally | Eric Faurot | |
2012-04-14 | Import asr, an experimental async resolver implementation. | Eric Faurot | |
The idea is to eventually replace the existing resolver with something better. Time to start working on it in tree. ok deraadt@ | |||
2012-04-13 | Provide _atomic_lock() and __cerror() for hppa64. Makes hppa64 build again. | Joel Sing | |
2012-04-13 | Use PTHREAD_MUTEX_DEFAULT in static init and mutexattr_init. If the | Kurt Miller | |
default mutex type changes to NORMAL, when there is an uninitialized mutex provided to unlock, allow it to succeed similar to an unlocked mutex. For other cases abort instead of segfault. okay guenther@ | |||
2012-04-13 | Per POSIX, PTHREAD_MUTEX_NORMAL type mutexes have undefined behavior for | Kurt Miller | |
certain conditions. In the case of unlocking an unlocked mutex we will allow that to succeed, all other undefined behaviors will result in an immediate abort(). okay guenther@ | |||
2012-04-13 | Add sigwaitinfo and sigtimedwait stubs under #if 0; a bit more kernel | Philip Guenthe | |
support is needed before they can be usefully enabled but I don't want to misplace this diff yet again | |||
2012-04-12 | tweak; | Jason McIntyre | |
2012-04-12 | tweak previous; | Jason McIntyre | |
2012-04-12 | tweak previous; | Jason McIntyre | |
2012-04-12 | alloca.c cannot be used | Theo de Raadt | |
2012-04-12 | alloca is NOT machine dependent; it has exactly the same | Theo de Raadt | |
effective result. its use is NOT discouraged -- it is not common, but when you need it, there is nothing else that will do. | |||
2012-04-12 | Since threads are becoming more common, this "work around the | Theo de Raadt | |
compiler not doing alloca in C using malloc" is unworkable. It is not safe, and we can never use it. ok guenther kurt | |||
2012-04-12 | Add per thread accounting, mainly for usage & friends. | Paul Irofti | |
This expands the already bloated FILL_KPROC macro to take an extra parameter that indicates if the callee is a thread or a process. The userland bits are adjusted accordingly and ps(1) and top(1) now display per thread usage times when -H is used. Also pkill(1) had to be adjusted so that duplicates don't pop up. libkvm does basically the same thing as the kernel bits. Okay guenther@. | |||
2012-04-12 | Clarify thread-localness in the wake of rfork's removal | Philip Guenthe | |
2012-04-12 | more rfork mop-up | Theo de Raadt | |
2012-04-12 | mmap(2) updated | Ariane van der Steldt | |
Add that len=0 will yield failure with EINVAL. While here, rephrase some of the text. Get rid of MAP_SWAP: its future came and went but nothing came of it. Lots of hackroom input; including feedback from jmc. | |||
2012-04-12 | remove rfork(); ok guenther miod | Theo de Raadt | |
2012-04-12 | Remove incorrect -pthread preprocessor define _POSIX_THREADS and replace | Kurt Miller | |
with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h. From brad@comstyle.com. okay guenther@ | |||
2012-04-12 | crank major for sh gcc4 switch | Jonathan Gray | |
2012-04-12 | the fpu control symbol on sh (__fpscr_values) suddenly becomes local | Jonathan Gray | |
instead of global with gcc4 and this ends up breaking things in hard to debug ways. So move the definition to csu instead of libgcc. ok miod@ | |||
2012-04-12 | kill lfs system call lines and libc stubs | Theo de Raadt | |
2012-04-12 | New system call: getdtablecount(2) returns the number of file | Theo de Raadt | |
descriptors the process currently has open. ok guenther miod gilles ... | |||
2012-04-12 | document getdelim() and getline(), and a grammar fix whilst here; | Jason McIntyre | |
from Jan Stary ok fgsch | |||
2012-04-11 | fix SEE ALSO; | Jason McIntyre | |
2012-04-11 | Mark outermost frame such that backtraces in thread terminate at | Mark Kettenis | |
__tfork_thread(). ok guenther@ | |||
2012-04-11 | Mention and link the pthread barrier functions. Okay jmc@. | Paul Irofti | |
2012-04-11 | complete function name. | Marc Espie | |
This shit is so silly, length-wise, that it still makes some sense if you forget to write half of it. (noticed by jmc@) |