Displaying
1
—
50
of
316,985
commits
(0.016s)
OpenBSD
—
regress/lib/libpthread Makefile, regress/lib/libpthread/suspend_np1 suspend_np1.c Makefile
Add pthread_suspend_np regress test. okay guenther@
| Delta |
File |
| +110 |
-0 |
regress/lib/libpthread/suspend_np1/suspend_np1.c |
| +5 |
-0 |
regress/lib/libpthread/suspend_np1/Makefile |
| +2 |
-2 |
regress/lib/libpthread/Makefile |
| +117 |
-2 |
3 files
|
OpenBSD
—
lib/librthread rthread_sched.c
Make pthread_suspend_np() and pthread_resume_np() simply fail instead
of doing the Wrong Thing.
| Delta |
File |
| +6 |
-11 |
lib/librthread/rthread_sched.c |
| +6 |
-11 |
1 file
|
OpenBSD
—
sys/dev systrace.c, sys/kern sys_process.c kern_fork.c
First steps for making ptrace work with rthreads:
- move the P_TRACED and P_INEXEC flags, and p_oppid, p_ptmask, and
p_ptstat member from struct proc to struct process
- sort the PT_* requests into those that take a PID vs those that
can also take a TID
- stub in PT_GET_THREAD_FIRST and PT_GET_THREAD_NEXT
ok kettenis@
| Delta |
File |
| +129 |
-53 |
sys/kern/sys_process.c |
| +22 |
-23 |
sys/kern/kern_fork.c |
| +18 |
-14 |
sys/kern/kern_sig.c |
| +14 |
-12 |
sys/kern/kern_exit.c |
| +11 |
-9 |
sys/sys/proc.h |
| +6 |
-6 |
sys/kern/kern_exec.c |
| +23 |
-16 |
7 files not shown |
| +223 |
-133 |
13 files
|
OpenBSD
—
usr.bin/kdump kdump.c mksubr
- add more ptrace() ops
- be robust against a ktrace file the contains a record with
ktr_len==SIZE_MAX, instead of reallocating its buffer to zero size
- format the clockid_t argument to clock_*() and __thrsleep() as CLOCK_*
- format the sigset_t argument to sigprocmask() and __thrsigdivert(), the
return from sigprocmask(), and the mask reported for PSIG records
as a bitset of SIG* values, except that if most the bits are set
then invert it and prefix with '~'
- show the next level of the kern.proc sysctl
- __tfork() creates procs, so do the mappidtoemul() handling
- refactor ktrstat()'s time printing bits and fix a whitespace glitch
in its output
- reduce stack usage in ktrstruct()
- a value of zero is not an error for mode bits (S_*), atflag bits
(AT_*), wait options (W*), or shmat flags (SHM_*)
ok otto@
| Delta |
File |
| +94 |
-52 |
usr.bin/kdump/kdump.c |
| +75 |
-6 |
usr.bin/kdump/mksubr |
| +4 |
-2 |
usr.bin/kdump/kdump_subr.h |
| +173 |
-60 |
3 files
|
OpenBSD
—
regress/lib/libpthread/setsockopt/1 setsockopt1.c
Switch the time measuring to be in timespecs, and then check the
difference against the resolution of the monotonic clock from clock_getres()
discussed with fgsch@
| Delta |
File |
| +32 |
-16 |
regress/lib/libpthread/setsockopt/1/setsockopt1.c |
| +32 |
-16 |
1 file
|
OpenBSD
—
regress/lib/libpthread Makefile, regress/lib/libpthread/blocked_close blocked_close.c
- remove invalid potions of blocked_* regress tests
- reenable blocked_* regress tests. while this behaivor
is not specifited by posix, deadlocking is not a reasonable
behaivor and some ports depend on this to work.
| Delta |
File |
| +2 |
-22 |
regress/lib/libpthread/blocked_shutdown/blocked_shutdown.c |
| +2 |
-22 |
regress/lib/libpthread/blocked_close/blocked_close.c |
| +2 |
-22 |
regress/lib/libpthread/blocked_dup2/blocked_dup2.c |
| +2 |
-4 |
regress/lib/libpthread/Makefile |
| +8 |
-70 |
4 files
|
OpenBSD
—
regress/lib/libpthread Makefile
Disable the dup2_race test, as it requires a buggy behavior that uthreads
happened to exhibit
| Delta |
File |
| +5 |
-3 |
regress/lib/libpthread/Makefile |
| +5 |
-3 |
1 file
|
OpenBSD
—
regress/lib/libpthread/pthread_mutex pthread_mutex.c
Round-robin behavior isn't guaranteed by SCHED_OTHER and the kernel
doesn't have SCHED_FIFO or SCHED_RR support, so use sleep(1) to 'ensure'
the second thread gets the lock when expected
| Delta |
File |
| +3 |
-2 |
regress/lib/libpthread/pthread_mutex/pthread_mutex.c |
| +3 |
-2 |
1 file
|
OpenBSD
—
regress/lib/libpthread Makefile, regress/lib/libpthread/pthread_rwlock pthread_rwlock.c Makefile
Enable the errno test; add a quick rwlocks test
| Delta |
File |
| +152 |
-0 |
regress/lib/libpthread/pthread_rwlock/pthread_rwlock.c |
| +4 |
-3 |
regress/lib/libpthread/Makefile |
| +5 |
-0 |
regress/lib/libpthread/pthread_rwlock/Makefile |
| +161 |
-3 |
3 files
|
OpenBSD
—
regress/lib/libpthread/errno errno.c
End the output with a newline
| Delta |
File |
| +2 |
-2 |
regress/lib/libpthread/errno/errno.c |
| +2 |
-2 |
1 file
|
OpenBSD
—
regress/lib/libpthread/pthread_specific pthread_specific.c
This test needs a large nprocs ulimit, so just have it raise its own
| Delta |
File |
| +8 |
-1 |
regress/lib/libpthread/pthread_specific/pthread_specific.c |
| +8 |
-1 |
1 file
|
OpenBSD
—
regress/lib/libpthread/sigwait sigwait.c
Need to block the signals in all thread for the kill(getpid(), SIGFOO)
tests to work. Disable the "sigwait for blocked but ignored signal"
test as it depended on undefined behavior (POSIX quoted included for
reference) and rthreads (currently) handles it the other way.
| Delta |
File |
| +15 |
-5 |
regress/lib/libpthread/sigwait/sigwait.c |
| +15 |
-5 |
1 file
|
OpenBSD
—
regress/lib/libpthread/sigsuspend sigsuspend.c
SIGSTOP, SIGKILL, and (for threaded programs) SIGTHR are unblockable
| Delta |
File |
| +6 |
-2 |
regress/lib/libpthread/sigsuspend/sigsuspend.c |
| +6 |
-2 |
1 file
|
OpenBSD
—
regress/lib/libpthread/sigmask sigmask.c
pthread_sigmask() was fixed to return the errno value on failure
| Delta |
File |
| +4 |
-2 |
regress/lib/libpthread/sigmask/sigmask.c |
| +4 |
-2 |
1 file
|
OpenBSD
—
regress/lib/libpthread/setsockopt/1 setsockopt1.c, regress/lib/libpthread/setsockopt/2 setsockopt2.c
ops. compare against the socket timeout, not the alarm one.
sometimes these tests are incorrectly marked as failing (ktrace shows
the read is returning within the specified timeout) but there are other
times where they're taking slightly longer than expected.
for now both cases are marked as failure.
| Delta |
File |
| +5 |
-5 |
regress/lib/libpthread/setsockopt/1/setsockopt1.c |
| +5 |
-5 |
regress/lib/libpthread/setsockopt/2/setsockopt2.c |
| +5 |
-5 |
regress/lib/libpthread/setsockopt/3a/setsockopt3a.c |
| +15 |
-15 |
3 files
|
OpenBSD
—
regress/lib/libpthread/setsockopt/1 setsockopt1.c, regress/lib/libpthread/setsockopt/2 setsockopt2.c
| Delta |
File |
| +5 |
-4 |
regress/lib/libpthread/setsockopt/1/setsockopt1.c |
| +5 |
-4 |
regress/lib/libpthread/setsockopt/2/setsockopt2.c |
| +5 |
-4 |
regress/lib/libpthread/setsockopt/3a/setsockopt3a.c |
| +15 |
-12 |
3 files
|
OpenBSD
—
usr.sbin/tcpdump print-bgp.c
Fix a classical bug (= vs ==). OK stsp@ miod@
| Delta |
File |
| +2 |
-2 |
usr.sbin/tcpdump/print-bgp.c |
| +2 |
-2 |
1 file
|
OpenBSD
—
sys/arch/i386/i386 pmap.c
| Delta |
File |
| +2 |
-2 |
sys/arch/i386/i386/pmap.c |
| +2 |
-2 |
1 file
|
OpenBSD
—
distrib/sets/lists/base md.alpha md.amd64, distrib/sets/lists/comp mi
| Delta |
File |
| +1 |
-1 |
distrib/sets/lists/base/md.alpha |
| +1 |
-1 |
distrib/sets/lists/base/md.amd64 |
| +1 |
-1 |
distrib/sets/lists/base/md.armish |
| +1 |
-1 |
distrib/sets/lists/base/md.hp300 |
| +1 |
-1 |
distrib/sets/lists/base/md.hppa |
| +1 |
-1 |
distrib/sets/lists/base/md.hppa64 |
| +14 |
-12 |
13 files not shown |
| +20 |
-18 |
19 files
|
OpenBSD
—
lib/libusbhid usbhid.3
Fix return value documentation errors in usbhid(3).
hid_dispose_report_desc() returns void, it can't return NULL on failure.
hid_get_report_desc() and hid_use_report_desc() return NULL on failure but
this was not documented.
ok jmc
| Delta |
File |
| +8 |
-6 |
lib/libusbhid/usbhid.3 |
| +8 |
-6 |
1 file
|
OpenBSD
—
etc Makefile, etc/mtree 4.4BSD.dist
| Delta |
File |
| +19 |
-0 |
etc/rc.d/nginx |
| +4 |
-4 |
usr.sbin/Makefile |
| +6 |
-1 |
etc/mtree/4.4BSD.dist |
| +4 |
-3 |
etc/Makefile |
| +33 |
-8 |
4 files
|
OpenBSD
—
etc/nginx win-utf nginx.conf
these files are not needed here, they are going to get installed from
usr.sbin/nginx using the distribution target
| Delta |
File |
| +0 |
-126 |
etc/nginx/win-utf |
| +0 |
-118 |
etc/nginx/nginx.conf |
| +0 |
-109 |
etc/nginx/koi-utf |
| +0 |
-103 |
etc/nginx/koi-win |
| +0 |
-75 |
etc/nginx/mime.types |
| +0 |
-23 |
etc/nginx/fastcgi_params |
| +0 |
-30 |
2 files not shown |
| +0 |
-584 |
8 files
|
OpenBSD
—
usr.sbin/nginx Makefile.bsd-wrapper, usr.sbin/nginx/conf nginx.conf
add a distribution target to install configuration files
| Delta |
File |
| +13 |
-1 |
usr.sbin/nginx/Makefile.bsd-wrapper |
| +5 |
-5 |
usr.sbin/nginx/conf/nginx.conf |
| +18 |
-6 |
2 files
|
OpenBSD
—
bin/ksh table.c table.h
Allow for more vars in hash table, improve hash function, increase
hash table size sooner. Based on suggestion from Michael Niedermayer.
ok krw@ mpi@
| Delta |
File |
| +5 |
-5 |
bin/ksh/table.c |
| +2 |
-2 |
bin/ksh/table.h |
| +7 |
-7 |
2 files
|
OpenBSD
—
lib/librthread rthread_attr.c
Fix problems revealed by regress/lib/libpthread/stack/stack.c
| Delta |
File |
| +8 |
-11 |
lib/librthread/rthread_attr.c |
| +8 |
-11 |
1 file
|
OpenBSD
—
regress/lib/libpthread/stack stack.c
Add Id and public-domain declaration
| Delta |
File |
| +4 |
-0 |
regress/lib/libpthread/stack/stack.c |
| +4 |
-0 |
1 file
|
OpenBSD
—
regress/lib/libpthread Makefile, regress/lib/libpthread/stack stack.c Makefile
Add regress test for stack attributes
Disable some tests that depended on uthread's particular undefined behavior
| Delta |
File |
| +138 |
-0 |
regress/lib/libpthread/stack/stack.c |
| +6 |
-3 |
regress/lib/libpthread/Makefile |
| +5 |
-0 |
regress/lib/libpthread/stack/Makefile |
| +149 |
-3 |
3 files
|
OpenBSD
—
lib/librthread rthread_stack.c
Use 'base' as an intermediate char* variable to avoid void* arithmetic
| Delta |
File |
| +4 |
-4 |
lib/librthread/rthread_stack.c |
| +4 |
-4 |
1 file
|
OpenBSD
—
lib/librthread Makefile
Extend miod's fix CFLAGS fix to all gcc2 platforms (suggested by Tobias
Ulmer). Only pull in bsd.lib.mk once to avoid linking objects twice
| Delta |
File |
| +5 |
-3 |
lib/librthread/Makefile |
| +5 |
-3 |
1 file
|
OpenBSD
—
lib/librthread rthread.c
Use a form of designated initializer that works with gcc2
lint doesn't understand designated initializers, so hide them from it
| Delta |
File |
| +7 |
-2 |
lib/librthread/rthread.c |
| +7 |
-2 |
1 file
|
OpenBSD
—
lib/librthread rthread_sched.c rthread_attr.c
Validate in pthread_attr_set{scope,sched{param,policy},inheritsched}()
the requested new value
| Delta |
File |
| +12 |
-1 |
lib/librthread/rthread_sched.c |
| +4 |
-2 |
lib/librthread/rthread_attr.c |
| +16 |
-3 |
2 files
|
OpenBSD
—
lib/librthread rthread_attr.c rthread.c
Fix previous commit: _rthread_init() was static.
Improve consistency of error naming
| Delta |
File |
| +18 |
-12 |
lib/librthread/rthread_attr.c |
| +2 |
-2 |
lib/librthread/rthread.c |
| +2 |
-1 |
lib/librthread/rthread.h |
| +22 |
-15 |
3 files
|
OpenBSD
—
lib/librthread rthread_attr.c
Before using _thread_pagesize, make sure _rthread_init() has been called
| Delta |
File |
| +5 |
-1 |
lib/librthread/rthread_attr.c |
| +5 |
-1 |
1 file
|
OpenBSD
—
lib/librthread tcb.h
| Delta |
File |
| +1 |
-0 |
lib/librthread/tcb.h |
| +1 |
-0 |
1 file
|
OpenBSD
—
lib/librthread rthread_stack.c rthread_attr.c
Fix the handling of the stackaddr, stacksize, and guardsize attributes:
don't try to merge values, round the sizes separately, and don't try to
unmap application-supplied stacks.
Copy from uthread the caching of default-sized stacks.
Have pthread_attr_init() and pthread_create() get the default attributes
from staticly allocated pthread_attr_t.
Cache the pagesize in _rthread_init() and provide a macro for rounding to it
based on suggestions from kettenis@ and tedu@, ok kettenis@
| Delta |
File |
| +90 |
-52 |
lib/librthread/rthread_stack.c |
| +14 |
-25 |
lib/librthread/rthread_attr.c |
| +18 |
-8 |
lib/librthread/rthread.c |
| +12 |
-6 |
lib/librthread/rthread.h |
| +7 |
-10 |
lib/librthread/rthread_np.c |
| +141 |
-101 |
5 files
|
OpenBSD
—
lib/librthread/arch/m88k cerror.S
| Delta |
File |
| +55 |
-0 |
lib/librthread/arch/m88k/cerror.S |
| +55 |
-0 |
1 file
|
OpenBSD
—
usr.sbin/nginx/auto/lib/pcre conf
remove accidentally overwritten change which makes sure to use the bundled
pcre
| Delta |
File |
| +7 |
-1 |
usr.sbin/nginx/auto/lib/pcre/conf |
| +7 |
-1 |
1 file
|
OpenBSD
—
lib/librthread Makefile
Work around compiler confusion while building rthread.o on vax.
| Delta |
File |
| +6 |
-2 |
lib/librthread/Makefile |
| +6 |
-2 |
1 file
|
OpenBSD
—
usr.sbin/nginx/auto install
remove the install target from here since the BSD makefile wrapper
is taking care of it
| Delta |
File |
| +2 |
-65 |
usr.sbin/nginx/auto/install |
| +2 |
-65 |
1 file
|
OpenBSD
—
usr.sbin/nginx/auto sources, usr.sbin/nginx/src/pcre pcre_compile.c pcre_exec.c
update pcre to 8.30 to be in sync with ports
| Delta |
File |
| +1,171 |
-809 |
usr.sbin/nginx/src/pcre/pcre_compile.c |
| +674 |
-384 |
usr.sbin/nginx/src/pcre/pcre_exec.c |
| +559 |
-216 |
usr.sbin/nginx/src/pcre/pcre_internal.h |
| +165 |
-38 |
usr.sbin/nginx/src/pcre/pcre.h |
| +0 |
-139 |
usr.sbin/nginx/src/pcre/pcre_try_flipped.c |
| +39 |
-15 |
usr.sbin/nginx/src/pcre/pcre_xclass.c |
| +148 |
-106 |
10 files not shown |
| +2,756 |
-1,707 |
16 files
|
OpenBSD
—
usr.sbin/nginx CHANGES CHANGES.ru, usr.sbin/nginx/auto install make
| Delta |
File |
| +153 |
-39 |
usr.sbin/nginx/src/http/modules/ngx_http_ssi_filter_module.c |
| +11 |
-69 |
usr.sbin/nginx/src/http/ngx_http_file_cache.c |
| +62 |
-8 |
usr.sbin/nginx/CHANGES |
| +55 |
-0 |
usr.sbin/nginx/CHANGES.ru |
| +33 |
-9 |
usr.sbin/nginx/src/core/ngx_log.h |
| +30 |
-12 |
usr.sbin/nginx/src/http/ngx_http_variables.c |
| +473 |
-158 |
319 files not shown |
| +817 |
-295 |
325 files
|
OpenBSD
—
lib/libc/sys kqueue.2
Extend after recent msdos support.
input/ok krw@ thib@ jmc@
| Delta |
File |
| +5 |
-4 |
lib/libc/sys/kqueue.2 |
| +5 |
-4 |
1 file
|
OpenBSD
—
lib/librthread rthread_attr.c
Initialize the scope, policy, and inherit members in pthread_attr_init()
so that their pthread_attr_get* don't return bogus values.
issue noted and tested by aja@
| Delta |
File |
| +4 |
-1 |
lib/librthread/rthread_attr.c |
| +4 |
-1 |
1 file
|
OpenBSD
—
lib/librthread/arch/mips64 cerror.S rfork_thread.S
Allow librthread to build on mips64.
| Delta |
File |
| +60 |
-0 |
lib/librthread/arch/mips64/cerror.S |
| +12 |
-11 |
lib/librthread/arch/mips64/rfork_thread.S |
| +72 |
-11 |
2 files
|
OpenBSD
—
usr.sbin/sysmerge sysmerge.8
Remove the backup chunk from the man page. People should use backup
anyway and sysmerge(8) automatically save replaced files.
ok sthen@
| Delta |
File |
| +2 |
-8 |
usr.sbin/sysmerge/sysmerge.8 |
| +2 |
-8 |
1 file
|
OpenBSD
—
share/man/man5 bsd.port.mk.5
don't label "warning messages" as "errors"
fetch-makefile is obsolete.
Xr ftp
| Delta |
File |
| +9 |
-12 |
share/man/man5/bsd.port.mk.5 |
| +9 |
-12 |
1 file
|
OpenBSD
—
share/man/man5 bsd.port.mk.5
add DIAGNOSTICS, for easy grepping thru logs.
as discussed with jmc@, put the section in exposition order.
(we're not even a driver anyways)
sthen@ likes it.
| Delta |
File |
| +149 |
-2 |
share/man/man5/bsd.port.mk.5 |
| +149 |
-2 |
1 file
|
OpenBSD
—
usr.bin/pkill pkill.c
exit usage() with STATUS_BADUSAGE rather than STATUS_ERROR, per the man page;
fix proposed by lum actually happened in netbsd -r1.16, some 6 years ago;
ok lum
| Delta |
File |
| +2 |
-2 |
usr.bin/pkill/pkill.c |
| +2 |
-2 |
1 file
|
OpenBSD
—
lib/librthread rthread.c
Set __isthreaded in pthread_create() instead of _rthread_init() such that it
properly represents whether a process is multi-threaded or not. This fixes
a bug where if a forked child would create a new thread we would not set
__isthreaded.
ok guenther@
| Delta |
File |
| +4 |
-3 |
lib/librthread/rthread.c |
| +4 |
-3 |
1 file
|
OpenBSD
—
sys/arch/mips64/mips64 cache_r5k.S
Do an explicit `sync' instruction before returning from cache routines; this is
a nop on R5k and RM52xx, but actually required on RM7k.
| Delta |
File |
| +9 |
-2 |
sys/arch/mips64/mips64/cache_r5k.S |
| +9 |
-2 |
1 file
|