Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-14 | only define DEBUG internally | Eric Faurot | |
2012-04-14 | Kill useless memset. | Christiano F. Haesbaert | |
ok mikeb@ "looks good" deraadt@ | |||
2012-04-14 | Don't return from main with 2 uppon issuing double -c option, print | Christiano F. Haesbaert | |
proper usage() message. ok mikeb@ "looks good" deraadt@ | |||
2012-04-14 | Add CDIAGFLAGS infrastructure. | Christiano F. Haesbaert | |
Fix signed vs unsigned and dup symbol shadow. ok mikeb@ "looks good" deraadt@ | |||
2012-04-14 | Do not just return in case the provided control buffer is too short since | Claudio Jeker | |
that leaks all the file pointers. Instead make sure that the exit path via restart: -> out: does not free the uninitialized pointer. OK deraadt@ guenther@ | |||
2012-04-14 | Use DLT_LOOP for all tunneling interfaces. | YASUOKA Masahiko | |
Byte order adjustment for bpf was hidden behind bpf_mtap_af() and sizeof(u_int32_t) is used for length of the bpf header. tested by sebastia and mxb at alumni.chalmers.se. ok claudio | |||
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-14 | Free tmp buffer in case the cluster allocation failed. Found by David Hill. | Claudio Jeker | |
2012-04-14 | regen | Matthieu Herrb | |
2012-04-14 | add Radeon Mobility HD 5430 | Matthieu Herrb | |
2012-04-14 | Revert rev 1.58, as it frees an uninitialized pointer | Philip Guenthe | |
ok deraadt@ | |||
2012-04-14 | remove libf2c, hasn't been built since it was moved to ports in 2010. | Jonathan Gray | |
ok miod@ espie@ | |||
2012-04-13 | Kill "goto again" uppon EINTR and check EWOULDBLOCK in accept(2). | Christiano F. Haesbaert | |
Also make the code more similar to the other daemons. "you can go ahead" deraadt@. | |||
2012-04-13 | gc unused function | Theo de Raadt | |
2012-04-13 | For now, direct the kill signal sent by PT_KILL to the thread that made us | Mark Kettenis | |
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 | Claudio Jeker | |
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 | Mark Kettenis | |
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 | Theo de Raadt | |
2012-04-13 | Do not clamp the file descriptors to the buffer size; that leads to | Theo de Raadt | |
losing them. ok claudio | |||
2012-04-13 | Remove suspend_np1 test from regress | Kurt Miller | |
2012-04-13 | Remove suspend_np1 from regress build. | Kurt Miller | |
2012-04-13 | Avoid horrible namespace pollution of <machine/signal.h> pulling in | Miod Vallat | |
<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. | Mark Kettenis | |
2012-04-13 | Enable multi-threaded debugging on i386. | Mark Kettenis | |
2012-04-13 | Add support for live debugging of multi-threaded code. | Mark Kettenis | |
2012-04-13 | First stab at making ptrace(2) usable for debugging multi-threaded programs. | Mark Kettenis | |
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. | Antoine Jacoutot | |
input/ok deraadt@ | |||
2012-04-13 | Provide _atomic_lock() and __cerror() for hppa64. Makes hppa64 build again. | Joel Sing | |
2012-04-13 | hook in requisite bits for OpenBSD::MkTemp to build and man. | Marc Espie | |
2012-04-13 | extra .xs glue to use mkstemp and mkdtemp directly | Marc Espie | |
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 | 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 | Don't assume that the new conffd is a unset in the fd_set, it could be a | Theo de Raadt | |
recyle of a fd which is still set. ok claudio | |||
2012-04-13 | Fix waiting problem at boot on AMD Hudson's AHCI. | sasano | |
Ok by mikeb@ and deraadt@ | |||
2012-04-13 | clean-up release dependency tree, so that release is "MI parallel-make clean" | Marc Espie | |
(yeah, the md parts are NOT, not yet). okay miod@, deraadt@ | |||
2012-04-13 | Make it easier to compile regress tests on other OSes | Philip Guenthe | |
2012-04-13 | unneccessary casts to unsigned; ok claudio | Theo de Raadt | |
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-13 | Remove 'struct _dirdesc' description and dirfd() macro defintion from | Matthew Dempsky | |
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 | Jason McIntyre | |
ok gilles | |||
2012-04-12 | tweak; | Jason McIntyre | |
2012-04-12 | NOOBJ -> zap unneeded ${.CURDIR} for clarity. | Marc Espie | |
ok miod@ | |||
2012-04-12 | tweak previous; | Jason McIntyre | |
2012-04-12 | sort SEE ALSO; | Jason McIntyre | |
2012-04-12 | tweak previous; | Jason McIntyre | |
2012-04-12 | do not downsize a type before calling malloc | Theo de Raadt | |
2012-04-12 | use a shared stripping function for chroot and make sure | Robert Nagy | |
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 | Theo de Raadt | |
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 | Claudio Jeker | |
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. | Claudio Jeker | |
OK henning@ sthen@ |