Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1 |
|
#
5aa57652 |
| 04-Jul-2021 |
Sascha Wildner <saw@online.de> |
libc: Sync namespace.h and un-namespace.h a bit more pedantically.
|
#
563ed2c8 |
| 08-Jun-2021 |
Matthew Dillon <dillon@apollo.backplane.com> |
libc - Add mkdirat() to the namespace
* Add mkdirat() / _mkdirat() to the namespace (will be used by gen/posixshm.c).
|
Revision tags: v6.0.0, v6.0.0rc1, v6.1.0 |
|
#
ab5dc9ac |
| 08-Mar-2021 |
Sascha Wildner <saw@online.de> |
libpthread: Implement pthread_getname_np() and pthread_setname_np().
Varieties of pthread_get_name_np() and pthread_set_name_np() that return an integer (0 or error number).
These are only used for
libpthread: Implement pthread_getname_np() and pthread_setname_np().
Varieties of pthread_get_name_np() and pthread_set_name_np() that return an integer (0 or error number).
These are only used for debugging but it looks like some ports want them.
I took some of the documentation from FreeBSD.
Reported-by: zrj
show more ...
|
#
86ccdacb |
| 17-Jan-2021 |
Aaron LI <aly@aaronly.me> |
Implement clock_nanosleep(2) system call
* Extend the nanosleep1() function in kern_time.c to support the clock_nanosleep(2) system call. Add {kern,sys}_clock_nanosleep() functions and update k
Implement clock_nanosleep(2) system call
* Extend the nanosleep1() function in kern_time.c to support the clock_nanosleep(2) system call. Add {kern,sys}_clock_nanosleep() functions and update kern_nanosleep() accordingly.
* Add clock_nanosleep() syscall to syscalls.master and regenerate syscall-related files.
* Update libc symbols with the new syscall.
* Add clock_nanosleep() warpper in libthread_xu.
* Update nanosleep.2 man page to describe clock_nanosleep().
* Update <time.h> and bump __DragonFly_version.
This work is loosely based on the FreeBSD implementation: https://reviews.freebsd.org/rS315526
This clock_nanosleep(2) syscall passed all tests in the Open POSIX Test Suite [0]:
conformance/interfaces/clock_nanosleep/1-1: execution: PASS conformance/interfaces/clock_nanosleep/1-2: execution: PASS conformance/interfaces/clock_nanosleep/1-3: execution: PASS conformance/interfaces/clock_nanosleep/1-4: execution: PASS conformance/interfaces/clock_nanosleep/1-5: execution: PASS conformance/interfaces/clock_nanosleep/2-1: execution: PASS conformance/interfaces/clock_nanosleep/2-2: execution: PASS conformance/interfaces/clock_nanosleep/2-3: execution: PASS conformance/interfaces/clock_nanosleep/3-1: execution: PASS conformance/interfaces/clock_nanosleep/4-1: execution: PASS conformance/interfaces/clock_nanosleep/5-1: execution: PASS conformance/interfaces/clock_nanosleep/6-1: execution: PASS conformance/interfaces/clock_nanosleep/9-1: execution: PASS conformance/interfaces/clock_nanosleep/8-1: execution: PASS conformance/interfaces/clock_nanosleep/10-1: execution: PASS conformance/interfaces/clock_nanosleep/11-1: execution: PASS conformance/interfaces/clock_nanosleep/13-1: execution: PASS conformance/interfaces/clock_nanosleep/15-1: execution: PASS
[0] Open POSIX Test Suite: http://posixtest.sourceforge.net/
Reviewed-by: swildner, dillon, tuxillo, zach
show more ...
|
#
9d94a5bb |
| 15-Dec-2020 |
zrj <rimvydas.jasinskas@gmail.com> |
pthreads: Add pthread_yield_np().
Same as non standard pthread_yield() but with correct '_np' suffix.
|
#
139374e6 |
| 12-Dec-2020 |
zrj <rimvydas.jasinskas@gmail.com> |
pthreads: Add pthread_is_threaded_np() function.
|
#
55f11bd6 |
| 12-Dec-2020 |
zrj <rimvydas.jasinskas@gmail.com> |
pthreads: Add pthread_getattr_np().
Adapted-from: NetBSD
|
Revision tags: v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3 |
|
#
eb396e51 |
| 14-Nov-2019 |
Matthew Dillon <dillon@apollo.backplane.com> |
world - Add support for lwp_getname() and pthread_get_name_np()
* Add support for the new system call lwp_getname()
* Add support for pthread_get_name_np(), rounding out that function set and imp
world - Add support for lwp_getname() and pthread_get_name_np()
* Add support for the new system call lwp_getname()
* Add support for pthread_get_name_np(), rounding out that function set and improving ports compatibility.
show more ...
|
Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0 |
|
#
11699d20 |
| 11-Jun-2019 |
Matthew Dillon <dillon@apollo.backplane.com> |
world - Makme shm_open() more compatible with expectations
* Create a tmpfs mount in /var/run/shm and also create /var/run/shm/tmp under it, both modes 1777, to support shm_open(). No longer base
world - Makme shm_open() more compatible with expectations
* Create a tmpfs mount in /var/run/shm and also create /var/run/shm/tmp under it, both modes 1777, to support shm_open(). No longer base shm_open() at the root directory.
* shm_open() and shm_unlink() now access files relative to /var/run/shm.
This fixes numerous ports and removes the need for numerous port patches.
* Rejigger libraries using namespace.h/un-namespace.h to add _unlink() and _unlinkat() into the mix.
show more ...
|
Revision tags: v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1 |
|
#
33b81dc9 |
| 30-Sep-2018 |
Matthew Dillon <dillon@apollo.backplane.com> |
system - Add wait6(), waitid(), and si_pid/si_uid siginfo support
* Add the wait6() system call (header definitions taken from FreeBSD). This required rearranging kern_wait() a bit. In particular
system - Add wait6(), waitid(), and si_pid/si_uid siginfo support
* Add the wait6() system call (header definitions taken from FreeBSD). This required rearranging kern_wait() a bit. In particular, we now maintain a hold count of 1 on the process during processing instead of releasing the hold count early.
* Add waitid() to libc (waitid.c taken from FreeBSD).
* Adjust manual pages (taken from FreeBSD).
* Add siginfo si_pid and si_uid support. This basically allows a process taking a signal to determine where the signal came from. The fields already existed in siginfo but were not implemented.
Implemented using a non-queued per-process array of signal numbers. The last originator sending any given signal is recorded and passed through to userland in the siginfo.
* Fixes the 'lightdm' X display manager. lightdm relies on si_pid support. In addition, note that avoiding long lightdm related latencies and timeouts require a softlink from libmozjs-52.so to libmozjs-52.so.0 (must be addressed in dports, not addressed in this commit).
Loosely-taken-from: FreeBSD (wait6, waitid support only) Reviewed-by: swildner
show more ...
|
Revision tags: v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1 |
|
#
725edadf |
| 26-Jul-2017 |
Sascha Wildner <saw@online.de> |
libc/libpthread: Add clock_getcpuclockid() and pthread_getcpuclockid().
* Adjust clock_gettime() and clock_getres() to accept values obtained this way.
* Also set _POSIX_CPUTIME and _POSIX_THREAD
libc/libpthread: Add clock_getcpuclockid() and pthread_getcpuclockid().
* Adjust clock_gettime() and clock_getres() to accept values obtained this way.
* Also set _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME, although we should really support values obtained by these functions in clock_settime() too.
Based on and taken from FreeBSD's code.
Reviewed-by: sephe
show more ...
|
#
c0f25c26 |
| 15-Jul-2017 |
Imre Vadász <imre@vdsz.com> |
pthread: Add pthread_getthreadid_np() function, bump __DragonFly_version.
Using pthread_getthreadid_np() can directly use the thread-ID value that is already cached in the pthread_t struct.
Partly
pthread: Add pthread_getthreadid_np() function, bump __DragonFly_version.
Using pthread_getthreadid_np() can directly use the thread-ID value that is already cached in the pthread_t struct.
Partly Taken-From: FreeBSD
show more ...
|
Revision tags: v4.8.0, v4.6.2, v4.9.0, v4.8.0rc |
|
#
3ae362f2 |
| 15-Jan-2017 |
Sepherosa Ziehau <sephe@dragonflybsd.org> |
pthread: Implement pthread_attr_{get,set}affinity_np
|
#
b2920380 |
| 14-Jan-2017 |
Sepherosa Ziehau <sephe@dragonflybsd.org> |
pthread: Implement pthread_{set,get}affinity_np
|
Revision tags: v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2 |
|
#
6d2444c4 |
| 12-Dec-2015 |
Imre Vadasz <imre@vdsz.com> |
kernel - Implement ppoll system call with precise microseconds timeout.
* Implement a maximum timeout of 2000s, because systimer(9) just accepts an int timeout in microseconds.
* Add kern.kv_slee
kernel - Implement ppoll system call with precise microseconds timeout.
* Implement a maximum timeout of 2000s, because systimer(9) just accepts an int timeout in microseconds.
* Add kern.kv_sleep_threshold sysctl variable for tuning the threshold for the ppoll sleep duration (in nanoseconds), below which we will busy-loop with DELAY instead of using tsleep for waiting.
show more ...
|
Revision tags: v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
#
86d7f5d3 |
| 26-Nov-2011 |
John Marino <draco@marino.st> |
Initial import of binutils 2.22 on the new vendor branch
Future versions of binutils will also reside on this branch rather than continuing to create new binutils branches for each new version.
|
Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2, v2.3.1, v2.2.1, v2.2.0, v2.3.0 |
|
#
ed5d5720 |
| 22-Dec-2008 |
Peter Avalos <pavalos@theshell.com> |
Add nsswitch support.
The nsswitch.conf(5) manual page has a description of nsswitch. Curiously, we already had this manual page, even though we didn't support it.
/etc/host.conf is removed from sr
Add nsswitch support.
The nsswitch.conf(5) manual page has a description of nsswitch. Curiously, we already had this manual page, even though we didn't support it.
/etc/host.conf is removed from src/, but if host.conf exists and nsswitch.conf does not, nsswitch.conf will be created using its contents.
Included in this commit is a framework for nsswitch caching, nscd(8), but it relies on a few upcoming changes to our libc before it will work. For now, it's turned off.
Also this commit includes hesiod support which is not compiled by default. Add WANT_HESIOD=true to make.conf to get it working.
Obtained-from: FreeBSD
show more ...
|
#
ce0e08e2 |
| 15-Dec-2008 |
Peter Avalos <pavalos@theshell.com> |
Bring in a transport-independent RPC (TI-RPC).
-rpcbind replaces portmap which is more secure. -Essentially this is the same thing FreeBSD did over 7 years ago (svn revision #74462). -This also upda
Bring in a transport-independent RPC (TI-RPC).
-rpcbind replaces portmap which is more secure. -Essentially this is the same thing FreeBSD did over 7 years ago (svn revision #74462). -This also updates utilities and the kernel build associated with this change.
show more ...
|
Revision tags: v2.1.1, v2.0.1 |
|
#
bc2f376e |
| 06-Apr-2006 |
David Xu <davidxu@dragonflybsd.org> |
Add all pthread functions into libc namespace.
|
#
17ea2221 |
| 31-Jan-2005 |
Matthew Dillon <dillon@dragonflybsd.org> |
Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to overri
Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
show more ...
|
#
e2b7bcae |
| 17-Jan-2011 |
Sascha Wildner <saw@online.de> |
libc: Fix warnings fallout from the change to CSTD=gnu99.
|
#
14ba680b |
| 13-Dec-2009 |
Sascha Wildner <saw@online.de> |
Sync libc's un-namespace.h with namespace.h.
|