Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-04-13 | Kill "goto again" uppon EINTR and check EWOULDBLOCK in accept(2). | 1 | -19/+7 | ||
Also make the code more similar to the other daemons. "you can go ahead" deraadt@. | |||||
2012-04-13 | gc unused function | 1 | -8/+1 | ||
2012-04-13 | For now, direct the kill signal sent by PT_KILL to the thread that made us | 1 | -1/+4 | ||
stop, just like we do for PT_CONTINUE/PT_STEP. The current code isn't ready for directing signals to other threads yet. | |||||
2012-04-13 | Don't convert a mbuf to a cluster and think the data in the mbuf is still | 1 | -3/+9 | ||
valid after that. Copy the data into a temp buffer and then copy it back into the shiny new cluster. Problem found by deraadt@. Ok deraadt@ | |||||
2012-04-13 | Backout a tiny part of the previous commit. Decrementing ps_singlecount in | 1 | -5/+1 | ||
exit1() is wrong, since single_thread_check() already decrements it and may call exit1() after that. I can't reproduce the hang that this was supposed to fix anyway. | |||||
2012-04-13 | oops, wrong version of diff in previous | 1 | -3/+5 | ||
2012-04-13 | Do not clamp the file descriptors to the buffer size; that leads to | 1 | -2/+2 | ||
losing them. ok claudio | |||||
2012-04-13 | Remove suspend_np1 test from regress | 2 | -115/+0 | ||
2012-04-13 | Remove suspend_np1 from regress build. | 1 | -2/+2 | ||
2012-04-13 | Avoid horrible namespace pollution of <machine/signal.h> pulling in | 2 | -49/+9 | ||
<machine/reg.h> for the needs of struct sigcontext; said struct ought to only use simple integer types. Fixes build of groff on landisk. ok pirofti@ (who had a similar diff) | |||||
2012-04-13 | Enable multi-threaded debugging on amd64. | 1 | -0/+1 | ||
2012-04-13 | Enable multi-threaded debugging on i386. | 1 | -0/+1 | ||
2012-04-13 | Add support for live debugging of multi-threaded code. | 2 | -0/+93 | ||
2012-04-13 | First stab at making ptrace(2) usable for debugging multi-threaded programs. | 7 | -21/+54 | ||
It implements a full-stop model where all threads are stopped before handing over control to the debugger. Events are reported as before through wait(2); you will have to call ptrace(PT_GET_PROCESS_STATE, ...) to find out which thread hit the event. Since this changes the size of struct ptrace_state, you will have to recompile gdb. ok guenther@ | |||||
2012-04-13 | Don't try to mmap a 0-length file. | 1 | -2/+4 | ||
input/ok deraadt@ | |||||
2012-04-13 | Provide _atomic_lock() and __cerror() for hppa64. Makes hppa64 build again. | 2 | -0/+74 | ||
2012-04-13 | hook in requisite bits for OpenBSD::MkTemp to build and man. | 2 | -0/+5 | ||
2012-04-13 | extra .xs glue to use mkstemp and mkdtemp directly | 4 | -0/+281 | ||
written by guenther@ about a year ago. discussed with him and millert@ | |||||
2012-04-13 | Use PTHREAD_MUTEX_DEFAULT in static init and mutexattr_init. If the | 2 | -7/+15 | ||
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 | 1 | -7/+31 | ||
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 | Don't assume that the new conffd is a unset in the fd_set, it could be a | 1 | -3/+2 | ||
recyle of a fd which is still set. ok claudio | |||||
2012-04-13 | Fix waiting problem at boot on AMD Hudson's AHCI. | 1 | -1/+3 | ||
Ok by mikeb@ and deraadt@ | |||||
2012-04-13 | clean-up release dependency tree, so that release is "MI parallel-make clean" | 1 | -2/+5 | ||
(yeah, the md parts are NOT, not yet). okay miod@, deraadt@ | |||||
2012-04-13 | Make it easier to compile regress tests on other OSes | 1 | -6/+9 | ||
2012-04-13 | unneccessary casts to unsigned; ok claudio | 6 | -18/+18 | ||
2012-04-13 | Add sigwaitinfo and sigtimedwait stubs under #if 0; a bit more kernel | 1 | -1/+40 | ||
support is needed before they can be usefully enabled but I don't want to misplace this diff yet again | |||||
2012-04-13 | Remove 'struct _dirdesc' description and dirfd() macro defintion from | 1 | -29/+4 | ||
dir(5) now that the former is an opaque type within libc and the latter is a proper function. Pointed out by millert; ok jmc, guenther | |||||
2012-04-13 | clarify "hostname"; from robert peichaer org | 1 | -3/+3 | ||
ok gilles | |||||
2012-04-12 | tweak; | 1 | -2/+2 | ||
2012-04-12 | NOOBJ -> zap unneeded ${.CURDIR} for clarity. | 1 | -8/+8 | ||
ok miod@ | |||||
2012-04-12 | tweak previous; | 3 | -12/+12 | ||
2012-04-12 | sort SEE ALSO; | 1 | -2/+2 | ||
2012-04-12 | tweak previous; | 1 | -5/+6 | ||
2012-04-12 | do not downsize a type before calling malloc | 1 | -2/+2 | ||
2012-04-12 | use a shared stripping function for chroot and make sure | 4 | -14/+16 | ||
that the path starts with the chroot prefix before doing anything with it | |||||
2012-04-12 | In this case where dup2() extends the table using fdalloc, the newly | 1 | -1/+2 | ||
selected fd is automatically fd_used(). We need to fd_unused() it, because it will be fd_used() again in finishdup(). spotted by guenther ok miod | |||||
2012-04-12 | accept pacing ldpd way. Since this daemon has multiple listening fds | 8 | -31/+180 | ||
we add them all to a accept queue that does the pacing with the accept_pause() and accept_unpause() calls. With and OK deraadt@ | |||||
2012-04-12 | The ebgp flags is just a truth value and it is better to not == 1 compares. | 5 | -23/+23 | ||
OK henning@ sthen@ | |||||
2012-04-12 | aspath_neighbor() should return the local AS number for empty AS pathes. | 1 | -9/+3 | ||
OK henning@ sthen@ | |||||
2012-04-12 | accept() pacing for bgpd based on similar work done on other daemons. | 4 | -17/+42 | ||
OK henning@ sthen@ | |||||
2012-04-12 | new m4 -g stuff: | 6 | -11/+23 | ||
- expr(`4**3') - include(`hey I am not there') keeps going. work with Baptiste Daroussin, who had the idea but didn't nail all details right. okay otto@, miod@ | |||||
2012-04-12 | regress tests for moe gm4 compat | 5 | -2/+23 | ||
2012-04-12 | alloca.c cannot be used | 13 | -34/+12 | ||
2012-04-12 | alloca is NOT machine dependent; it has exactly the same | 1 | -7/+3 | ||
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 | 1 | -136/+0 | ||
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 | rfork cleanup | 1 | -2/+2 | ||
2012-04-12 | sync | 19 | -57/+63 | ||
2012-04-12 | Remove dead UBC code | 1 | -4/+1 | ||
2012-04-12 | Add per thread accounting, mainly for usage & friends. | 7 | -22/+87 | ||
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 | hibernate: fix lock/unlock mismatch | 1 | -2/+2 | ||
Unlock missed an 'f', which caused it to unlock the in-use pageqs, rather than the free pageqs as it was supposed to. |