Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, 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 ...
|
#
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.
|
#
8b3200a9 |
| 12-Dec-2020 |
zrj <rimvydas.jasinskas@gmail.com> |
pthreads: Enhance pthread_sigprocmask() stub.
Some ports expect this function to work even before pthread_create().
|
#
55f11bd6 |
| 12-Dec-2020 |
zrj <rimvydas.jasinskas@gmail.com> |
pthreads: Add pthread_getattr_np().
Adapted-from: NetBSD
|
#
cf8046a9 |
| 08-Dec-2020 |
zrj <rimvydas.jasinskas@gmail.com> |
pthreads: Reimplement pthread types using non polluting types.
Use __ implementation specific namespace and adjust libthread_xu. * The pthread_addr_t type was specific only to libc_r, remove it.
pthreads: Reimplement pthread types using non polluting types.
Use __ implementation specific namespace and adjust libthread_xu. * The pthread_addr_t type was specific only to libc_r, remove it. * The pthread_startroutine_t typedef was never used since initial fork. * The mutex member in struct pthread_once was for libc_r only, rename it to __sparelibc_r void pointer to keep ABI compatibility. * Mangle struct names using __type_s scheme to avoid collisions with user defined types in 3rd-party software packages. * Adjust partly publicly visible struct pthread_once members too.
show more ...
|
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, v5.4.3 |
|
#
b58f145c |
| 18-Apr-2019 |
zrj <rimvydas.jasinskas@gmail.com> |
libc: Implement properly pthread_equal() stub.
Functional stub is needed to avoid forcing thread library on librecrypto.
|
Revision tags: v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1 |
|
#
3873f15a |
| 22-Apr-2018 |
Matthew Dillon <dillon@apollo.backplane.com> |
libc - Remove incorrect sched_yield() stub
* sched_yield() is a system call, and libthread_xu does not override it. Remove the empty stub so the system call is properly called.
* Now sched_yie
libc - Remove incorrect sched_yield() stub
* sched_yield() is a system call, and libthread_xu does not override it. Remove the empty stub so the system call is properly called.
* Now sched_yield() is no longer a NOP.
show more ...
|
Revision tags: 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 |
|
#
f8406b33 |
| 06-Oct-2016 |
zrj <rimvydas.jasinskas@gmail.com> |
<sys/cdefs.h>: Rework __weak_reference() macro.
My LTO build blew away weak symbols from slim LTO objects. Use __strong_reference() + weak attribute to allow the compiler to catch extern declaration
<sys/cdefs.h>: Rework __weak_reference() macro.
My LTO build blew away weak symbols from slim LTO objects. Use __strong_reference() + weak attribute to allow the compiler to catch extern declarations and not to fold weak symbols as local ones.
Keep previous version as __weak_reference_asm() in _pthread_stubs.c for now due to several issues (there is a need to do it in a cleaner way).
lib/libc/gen/ucontext.c: add missing __DECONST for ucp, shouldn't sigreturn take const ucontext_t?
lib/libc/inet/inet_ntoa.c: add missing #undef inet_ntoa_r
No symbol changes in libc and librt on normal compilation.
While there, add __weak_symbol attribute for future additions.
show more ...
|
#
ceeadccd |
| 04-Oct-2016 |
zrj <rimvydas.jasinskas@gmail.com> |
libc: Rip out pthread_cancel stub symbol.
After looking through use cases i couldn't find any signs of libc needing to provide stub for pthread_cancel() function. It doesn't make much sense for any
libc: Rip out pthread_cancel stub symbol.
After looking through use cases i couldn't find any signs of libc needing to provide stub for pthread_cancel() function. It doesn't make much sense for any program to use this symbol but not use the pthread_create(). With this assumption it should be safe to move out pthread_cancel() from libc to libpthread.so dummy to be together with weak symbol of pthread_create().
Add special WRlc() macro that creates only the internal version stub to still provide the _pthread_cancel symbol even if it unused in libc.
Doing just that fixes how gcc libs check for pthread presence when playing weak symbol chasing games withouto any confingure time tests.
show more ...
|
Revision tags: v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, 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 |
|
#
0d67d370 |
| 02-Feb-2014 |
Sascha Wildner <saw@online.de> |
libc: __atfork() is only used by the WR() in this file, so make it static.
Also mark it __used.
This silences a -Wmissing-prototypes warning.
|
#
82657471 |
| 04-Jan-2014 |
Markus Pfeiffer <markus.pfeiffer@morphism.de> |
Bring in GSoC code: SysV IPC in userspace
This commit brings in the code for the GSoC 2013 project "SysV IPC in userspace". This is not extensively tested and probably needs some additional work whi
Bring in GSoC code: SysV IPC in userspace
This commit brings in the code for the GSoC 2013 project "SysV IPC in userspace". This is not extensively tested and probably needs some additional work which Larisa has agreed to do.
For bug reports and improvements use the usual channels.
To use this functionality, which is built into libc, see the man page for the userspace SysV IPC daemon sysvipcd(8).
Contributed-By: Larisa Grigore <larisagrigore@gmail.com>
Squashed commit of the following:
commit e552a24765d9a1f3f9b641ddc5aeffe8db563f90 Author: Markus Pfeiffer <markus.pfeiffer@morphism.de> Date: Fri Nov 15 21:53:53 2013 +0000
Make sysvipcd daemonize and add command line parsing
commit 9b280b67f6a8782685f15d72397d9c5eacac1651 Author: Markus Pfeiffer <markus.pfeiffer@morphism.de> Date: Fri Nov 15 20:01:20 2013 +0000
Add startup script for sysvipcd
commit 274f3e79a304f924c339088e6a8b237a41deac8c Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 21:01:04 2013 +0300
lib: libc: gen: Makefile.inc: sync with master - fix buildworld
commit 384bc109ba1d45f501969e8692102d8f19b112e9 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 20:14:47 2013 +0300
usr.sbin: sysvipcd: adding sysvipc dir in /var/run
commit fa75e402636a1d864eb75a8e385a7e73133ae58d Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 17:05:20 2013 +0300
libc: Create some *.3 MLINKS for IPC syscall manpages as hint.
commit 7d252fc513b983c6f8f192880ef5eda22cc7d971 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 17:04:32 2013 +0300
sysvipcd(8): Add a manual page.
commit aae5d173d2d8e6378c867b34112eb1fd89016e3d Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 17:03:35 2013 +0300
libc: Add info about the XSI IPC userspace implementation
commit 32686d52374b3e7c56d9a7d554dbd82ff71d2927 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 17:02:41 2013 +0300
libc: Move some XSI IPC function manpages to section 2
commit 7fddf14e3c61b7d3dfedaabc4e4f93a1c0774bc7 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 16:57:31 2013 +0300
usr.sbin: sysvipcd: utilsd.h: change SYSV_DIR path
commit f382be540a964539a0fcdf03ca79ee2d0b371fc8 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 16:57:00 2013 +0300
usr.sbin: sysvipcd: remove comments
commit 00f17c0f7ac690c9fea3d9d9a4ebd939609447ce Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 16:55:54 2013 +0300
usr.sbin: sysvipcd: remove garbage out file
commit b4d23ac5d8ed6ac44068b5842b776682a395afc0 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 16:55:26 2013 +0300
usr.sbin: sysvipcd: remove man page
commit d07861899269d311eb8b089211c6a811a46700c5 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 16:54:08 2013 +0300
lib: libc: sysvipc: sysvipc_sockets.h: change socket place
commit f4f68b0f1b46679f68bfb2faeea426bac9605b52 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 16:52:49 2013 +0300
lib: libc: sysvipc: sem.c and msg.c: comments added
commit a0b13a0dac3bc1013986d7bc361721b6723494a5 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 16:50:57 2013 +0300
lib: libc: sysvipc: comments out
commit 8eb33705b6cd3fcca3ef5e565dd6f97ef9cf201c Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 16:50:40 2013 +0300
lib: libc: sys: fork.c: copyright
commit 27e9a42148d4d2d46616385b241c12d8a7deaa8b Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sat Sep 28 16:04:13 2013 +0300
usr.sbin: Makefile: automatically build sysvipcd daemon
commit d9124631f55ebd3f6cdda50ecbe86312fc216702 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sat Sep 28 15:06:29 2013 +0300
lib: libc: fix *.c files to include namespace.h and use the _* functions
commit f06fe8191cf4622f5a830e5d8990ab5ae3cda9b7 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sat Sep 28 10:49:53 2013 +0300
usr.sbin: sysvipc: replace include
commit 196fc276568b41ab3cb28c29a9d8c5cbbcf32eb0 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sat Sep 28 10:48:55 2013 +0300
lib: libc: sysvipc: replace pthread_mutex_lock with _pthread_mutex_lock
commit b79f93f104936cccfe4845edb200758935d04efd Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sat Sep 28 09:47:01 2013 +0300
lib: libc: sysvipc
commit a56c5fb4812caef1680761a09ad531ef98b0b956 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sat Sep 28 09:44:22 2013 +0300
lib: libc: add new fork wrapper with a simple implementation for pthread_atfork for non-threaded apps
commit e6c53467fd2a505ca47e3ed5affc5404c3bf8d7c Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Sep 27 08:30:10 2013 +0300
lib: libc: Makefile: remove lpthread
commit 6bea3e3284ce9648ddfe9709eef7be44226f36fb Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Sep 27 08:29:15 2013 +0300
lib: Makefile: remove libsysvipc
commit b1e7bbac6d5fe143de3a51ce2cc087f016122030 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Tue Sep 24 22:11:02 2013 +0300
lib: libc: gen: sysvipc.c: environmental variable
commit d49009fd0b306ceb5e4acdd15462ed7149428879 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Tue Sep 24 21:37:08 2013 +0300
usr.sbin: sysvipcd: syslog added and "-d" option for debug messages
commit 3d3c01c05a0b639fd3c65c103ae800ec9c6e7b02 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Tue Sep 24 21:33:16 2013 +0300
lib: libc: sysvipc: umtx_wakeup before umtx_sleep bug solved
commit 25752b0331e3c42f65342f78d7a7cdf97f31845a Author: Larisa Grigore <larisagrigore@gmail.com> Date: Tue Sep 24 21:32:19 2013 +0300
lib: libc: gen: bug in calling the syscalls solved
commit dc4760a590a7593d1fc6154a478c0737c3de4fc4 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Mon Sep 23 20:12:46 2013 +0300
lib: libc: add sysvipc framework
commit 1f07ab3e2017473f8d453f744ef01cb87e889a2a Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 29 17:36:31 2013 +0300
lib: libc: sysvipc: trailing whitespaces
commit 1843a7a59eaff1bedc09434ae0e0188f102dc7cc Author: Larisa Grigore <larisagrigore@gmail.com> Date: Mon Sep 23 19:18:01 2013 +0300
lib: libc: gen: remove msg* sem* shm*
commit 0d199c6d71619a7fed728b20bbf79867bbe85df7 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Mon Sep 23 19:15:49 2013 +0300
lib: remove libsysvipc
commit ff22c099080b9f8f992d10cea7489a81327a2bc6 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 22 17:20:04 2013 +0300
lib: libc: gen: sysvipc userland support
commit 92655a0579b7c9fc4559698fcbe3fadd050574d1 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 22 17:18:04 2013 +0300
lib: libsysvipc: add utils*
commit 37e470e38d1cfc9da416e6ce6fc0fc64e9116602 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 22 17:17:19 2013 +0300
usr.sbin: sysvipcd: refactoring
commit 73878a4b3f134b9d00ef52d00c2aae9b22a1f85b Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 22 17:13:12 2013 +0300
sys: sys: headers back to origin
commit 383130a64994354c103f38ad3dea79dbfcb07b02 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Sep 22 17:11:43 2013 +0300
lib: libsysvipc: refactoring
commit d6b8b88962999cae2403a73b4e78f4bae6badbc0 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Sep 18 22:39:06 2013 +0300
usr.sbin: sysvipcd: utils*: refactoring
commit fe03ba2c3d939913f59fa94dbd577309ab0afc24 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Sep 18 22:38:50 2013 +0300
usr.sbin: sysvipcd: sysvipcd.c: refactoring
commit 562fb2448b91a7a7027f6bd1521b89ec9e85b1aa Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Sep 18 22:38:17 2013 +0300
usr.sbin: sysvipcd: shm*: mark sems removed
commit c0ae00dacdeaf9b8d5743bf4bbc2ef415cee9514 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Sep 18 22:37:36 2013 +0300
usr.sbin: sysvipcd: perm.c: refactoring
commit 14f4aef119d71f41ec117dc36c516275088749df Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Sep 18 22:36:47 2013 +0300
sys: sys: sem.h: temporary modification
commit f855ee23ef2721a4f6d0183bb81ff5377fec928a Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Sep 18 22:36:12 2013 +0300
lib: libsysvipc: msg*: refactoring
commit b64af81c90c8fa472e56f06003a3dff4cf2a5eea Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Sep 18 22:36:00 2013 +0300
lib: libsysvipc: ipc*: refactoring, release sysv locks only for parent
commit 042cc145a42d7c7b3ddcf7180b247083cad1213c Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Sep 18 22:35:14 2013 +0300
lib: libsysvipc: lock*: refactoring
commit 7741fd2ae1b6d211d7434e4d457a99290ffc0f26 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Sep 18 22:33:43 2013 +0300
lib: libsysvipc: hash.c: refactoring
commit c96ccc6a952090678adb69084cf407b22da55203 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Sep 18 22:33:23 2013 +0300
lib: libsysvipc: sockets.c: refactoring
commit 7fdafbd1bdc3d16b5adca7611344af8fb3b89a65 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Sep 18 22:32:12 2013 +0300
lib: libsysvipc: sem.: rw locks, mutex per sem
commit 16c307df5ea90fef06a0986185aacb02c77d8348 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Sep 18 22:30:45 2013 +0300
lib: libsysvipc: shm.*: release lock when error
commit 9880617783961487c21a09da1a80723847207965 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Sep 18 22:30:05 2013 +0300
lib: libsysvipc: lib version updat
commit b12c5184c9b752def5f10d1caa308c936311d475 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sat Sep 14 23:17:24 2013 +0300
usr: src: usr.sbin: sysvipcd: sysv daemon refactoring
commit 078d51106669ce91b336496108f2855845579ef1 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sat Sep 14 23:16:42 2013 +0300
usr: src: lib: libsysvipc: : refactoring
commit 1e0c06f5eb2bbebad8c7193bc093da2d11d79e6f Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sat Sep 14 23:15:06 2013 +0300
usr: src: lib: libsysvipc: lock.h: mutex bug solved
commit 88bf173f85d400dc61f7ac396434cb8bdfc2ded3 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Sep 12 11:16:53 2013 +0300
usr.sbin: sysvipcd: adding sysvipc daemon sources
commit 717909ce0341baea52ea28261be68e1f3ba3c2ae Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Sep 12 11:15:07 2013 +0300
lib:libsysvipc: remove objects
commit 419cfa2fb7ff6a971cf12f74abe97cbdfb710ab7 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Sep 12 11:07:12 2013 +0300
lib:libsysvipc: add libsysvipc
commit c8478bf431a7be470057151a2ba51768b4c030d5 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Sep 12 11:06:34 2013 +0300
usr.bin:sysvipc_test: remove sysvipc_test directory
commit c2814d2af102c7c0399db3708a7640701111d48f Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Sep 12 11:05:14 2013 +0300
sys:sys:shm.h Makefile: add libsysvipc support
commit 2745814eca9002a01389e804a624e92062d4ff6d Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Sep 12 11:05:01 2013 +0300
sys:sys:sem.h Makefile: add libsysvipc support
commit f58824827b9a470b8fbdcc103cff56c57d89ffa1 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Sep 12 11:04:46 2013 +0300
sys:sys:msh.h Makefile: add libsysvipc support
commit 1f9e0b0c1afb143ef02162386ebae6fb4c5b4121 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Sep 12 11:04:12 2013 +0300
lib: Makefile: add libsysvipc support
commit d38abc72460ce7e348622b57c8c59f4d959d5f3c Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 23 03:26:43 2013 +0300
usr.bin: sysvipc_test: Makefile
commit a1cf8d235f2d589872d63c1c02523d5b1464baa6 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 23 03:26:06 2013 +0300
usr.bin: sysvipc_test: msg: msg support
commit ba0959cfcd184def65e081dd2dd5bea593a9b94d Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 23 03:25:44 2013 +0300
usr.bin: sysvipc_test: lock*: sysv inter-process mutex support
commit f1c1cee0e2cee6f87502f8b444f2558646538c22 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 23 03:24:48 2013 +0300
usr.bin: sysvipc_test: tests.c
commit a27779d60dcf96e6656ee89b7dbb6a39db3c795b Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 23 03:24:22 2013 +0300
usr.bin: sysvipc_test: sysvipc_daemon: msg support
commit c1746abc71466e1da8ac0084f5d5b9fdfe083766 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 23 03:23:52 2013 +0300
usr.bin: sysvipc_test: shm
commit 9ac37102bc939e82b1134967120bf8d95e0a0f37 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 23 03:23:40 2013 +0300
usr.bin: sysvipc_test: sem
commit d892676db05421089b0755b84dd9aa9f8a45ec09 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 23 03:23:10 2013 +0300
usr.bin: sysvipc_test: ipc: sysv fork bug
commit 8da280200ab9dcc54746601fb0b80e6558b8bd02 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 9 02:13:39 2013 +0300
usr.bin: sysvipc_test: tests.c: some of tested pieces of code
commit a31143c6f405070ecc6db6c22cdca9ed2f7833be Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 9 02:13:01 2013 +0300
usr.bin: sysvipc_test: sysvipc_daemon.c: creds, sems and exec bugs
commit d7ad12d8e96c30f1c8001e2166bf12f6a2567033 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 9 02:12:05 2013 +0300
usr.bin: sysvipc_test: sockets.c: creds bug
commit 97ca0b18d45dcdc7dafdd8a68308b7632588783c Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 9 02:11:42 2013 +0300
usr.bin: sysvipc_test: shm.c: refactoring
commit f65ad9ded26cf70b54fa6de9bfbd23774019db60 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 9 02:10:47 2013 +0300
usr.bin: sysvipc_test: ipc.c: receive bug
commit 2304ecf088c368c34fe2e5fc831d81b7d7e2e165 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 9 02:10:18 2013 +0300
usr.bin: sysvipc_test: hash
commit 8c381a71eff9617079c2ff2e29e03b90519fefc4 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Aug 9 02:09:55 2013 +0300
usr.bin: sysvipc_test: Makefile
commit 90a5084dbcb99b7c977435d1dcef351516e4f321 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Aug 8 01:02:13 2013 +0300
sys: sys: sysvipc.h
commit 734ddf5dd25e2f3e0dff1586a4e1441e75b94cd2 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Aug 8 01:01:49 2013 +0300
usr.bin: sysvipc_test: ipc: changed connexion mode
commit 968ca724490a3bfb32cdcb22bda3672cd7154cbc Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Aug 8 01:01:02 2013 +0300
usr.bin: sysvipc_test: sysvipc_daemon
commit 57c058e0141ecd95f51e7609d8f52e082ca2b37f Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Aug 8 00:59:36 2013 +0300
usr.bin: sysvipc_test: hash
commit ef28ec01bad43646288bc07678fd44a9ca470693 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Aug 8 00:59:05 2013 +0300
usr.bin: sysvipc_test: sem
commit 0d5ce9d62251fd8f22c8528158e488dc279965ee Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Aug 8 00:58:53 2013 +0300
usr.bin: sysvipc_test: shm
commit 33808b5ba77e5593457875ff20e10371a12c8a38 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Aug 8 00:58:28 2013 +0300
usr.bin: sysvipc_test: sockets
commit 33288df49c6c9c5eb3d646c18af5918dceaf4091 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Aug 8 00:57:56 2013 +0300
usr.bin: sysvipc_test: Makefile
commit 32366c91a2f85938a5f0a2eef99bb303450c3e42 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Jul 25 08:10:04 2013 +0300
usr.bin: sysvipc_test: sem.*: adding support for semaphores
commit 284d5bf19ffb13ff42e136522271b8a62d1f8a2d Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Jul 25 08:09:32 2013 +0300
usr.bin: sysvipc_test: sysvipc_test.c: adding support for semaphores
commit eed5fa03f02d0fb13ef47e53f40237ba561fdf9a Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Jul 25 08:09:10 2013 +0300
usr.bin: sysvipc_test: shm.c: adding support for semaphores
commit 5da2bbe4f06dcf9cff1e1c7ea73e752d9ca173d8 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Jul 25 08:08:36 2013 +0300
usr.bin: sysvipc_test: shm.h
commit a26328fc07be7f2ffab88bf0e120176c046f091a Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Jul 25 08:08:20 2013 +0300
usr.bin: sysvipc_test: ipc.h
commit fe61283f6cdc8b6501d925a82fe644b0cfafa07f Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Jul 25 08:08:05 2013 +0300
usr.bin: sysvipc_test: Makefile
commit ffe93fa7711bed99b8e1836523f1c1a2371880ce Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Jul 17 07:54:49 2013 +0300
sys: dev: misc: sysvipc: sysvipc.c
commit beddc210e14f43fe07cd65922a8c9470113604be Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Jul 17 07:53:29 2013 +0300
usr.bin: sysvipc_test: sysvipc_test.c
commit 7aa3db7ee7df8c92daf0c54a6b5d44fc89ddb853 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Jul 17 07:53:13 2013 +0300
usr.bin: sysvipc_test: shm.c
commit 6783c2af4025f96e55f25452327b04ce4d3696d9 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Jul 17 07:52:49 2013 +0300
usr.bin: sysvipc_test: ipc.h
commit f8c8d8cac347249ea29664ebb75b649ac6e2b876 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Wed Jul 17 07:52:18 2013 +0300
sys: sys: sysvipc.h
commit 7d2d3298c5c3b56d1411c017dfac8a65f7b2f86f Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Jul 14 12:02:11 2013 +0300
usr.bin: sysvipc_test: ipc.c ipc.h: sysv init
commit c15d376aa5e9e44989dcda67f088dfe440cf0d33 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Jul 14 12:01:40 2013 +0300
usr.bin: sysvipc_test: hash.c hash.h: generic hash
commit 54905f7fe718011e5daa5a6ccef1847e85c1760b Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Jul 14 12:00:52 2013 +0300
usr.bin: sysvipc_test: shm.c shm.h: shm functions
commit a225cbb05682f430dac293aa9f8ffbdb8ce39412 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Jul 14 12:00:21 2013 +0300
usr.bin: sysvipc_test: sysvipc_test: file path
commit c33f2b8a6945315750666f00f091864f22595a87 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Jul 14 11:56:41 2013 +0300
usr.bin: sysvipc_test: sysvipc_test: shm support daemon
commit 0cf68cdf24008f1fdd36bcb24a183e3e131accad Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Jul 14 11:56:04 2013 +0300
usr.bin: sysvipc_test: Makefile
commit 2b72c84a8aaf49c0bceccfa1e130fc3930281d69 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Tue Jul 9 10:39:06 2013 +0300
usr.bin: sysvipc_test: sysvipc_test.c: support for shm in userland
commit 496a796320b9302e23813f5ab3037f78d8595949 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Tue Jul 9 10:37:59 2013 +0300
usr.bin: sysvipc_test: Makefile
commit ad8ac8d11cf578fa6dee8dd70971c1a7d98205e2 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Tue Jul 9 10:35:32 2013 +0300
sys: sys: sysvipc.h
commit 20568c3163821d63dd295e6bf0d8987730f45999 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Tue Jul 9 10:35:09 2013 +0300
sys: dev: misc: sysvipc: sysvipc.c: shm support in kernel
commit 7d61ab289f8453a3ea76c3a6fefc45ee849497f9 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Tue Jul 9 10:32:35 2013 +0300
usr.bin: sysvipc_test: ipc.h
commit 00f3cfc210b64d1622e886e702a947535026adf8 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Tue Jul 9 10:32:17 2013 +0300
usr.bin: sysvipc_test: ipc.c: messages between client and daemon
commit 320c81549e8da93344beabce3607c1cdf671be85 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Jul 4 08:55:50 2013 +0300
use hashtable for retriving a client
commit d4aca03cd6b936bc7d276a5133825236979544ad Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Jul 4 08:54:52 2013 +0300
sysvipc driver locking
commit 929143c10759580145dd3ef3ee3a29974fa75a0d Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sat Jun 29 08:22:24 2013 +0300
support for multiple clients
commit fda122e1cbeadc89ba1f38a54ff2ccb85c0164db Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Jun 28 08:32:01 2013 +0300
remove client
commit ed9fa34d503623ad421940ae488d79c1adac095c Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Jun 28 08:01:45 2013 +0300
client data structures
commit 4dfd91e02c5c7268fc5f477453d3628737ffa93f Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Jun 28 08:00:34 2013 +0300
detach bug found
commit de5b7b9f52d4b525cbcd12b0b3c099e9c0d85a83 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Jun 27 03:16:47 2013 +0300
usr.bin: sysvipc_test
commit e2b5d88e00371291e1abd643d7879510fe557a01 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Thu Jun 27 03:10:48 2013 +0300
dev: misc: sysvipc
commit 2ae258db0b90eb6635a81cc6db5afcdae62bbefd Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Jun 23 16:31:41 2013 +0300
usr.bin: sysvipc_test
commit fffeb02bd449e239b75935992ca3fae80f5215d3 Author: Larisa Grigore <larisagrigore@gmail.com> Date: Sun Jun 23 16:09:56 2013 +0300
sys: sysvipc.h
commit fffc5202b843838cd91c75eca1462bb723bea52a Author: Larisa Grigore <larisagrigore@gmail.com> Date: Fri Jun 21 06:03:16 2013 +0300
sys: dev: misc: add sysvipc driver
show more ...
|
Revision tags: v3.6.0, v3.7.1, v3.6.0rc, v3.7.0 |
|
#
450f08db |
| 23-Sep-2013 |
Sascha Wildner <saw@online.de> |
libc: Raise WARNS to 1 and fix warnings.
* Raise the priorities of our constructor functions from 0 to 101 because 0-100 are reserved priorities. This results in no change in object code (as per
libc: Raise WARNS to 1 and fix warnings.
* Raise the priorities of our constructor functions from 0 to 101 because 0-100 are reserved priorities. This results in no change in object code (as per comparison using hexdump(1)).
* Provide a prototype for _pthread_init_early().
* Be less strict in the exclusion of gdtoa's files to also match the files outside contrib/ (in lib/libc/gdtoa/). Do the same for libc_rtld.
* Also fix an ignored attribute warning due to __thread being defined empty in libc_rtld.
Note that the most important aspect of this commit is that it causes libc to no longer be built with -w (suppress all warnings). This was the result of a hack we have to ignore warnings for gdtoa (which resides in contrib/). But in conjunction with WARNS being 0 it led to -w being set for _all_ files of libc.
Removing -w causes all the warnings which are enabled by default (even without any -W options) to trigger again, in addition the few -W options that WARNS=1 actually sets.
Thanks to aggelos for useful clues.
show more ...
|
Revision tags: v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0 |
|
#
a809fd39 |
| 18-Mar-2013 |
Markus Pfeiffer <markus.pfeiffer@morphism.de> |
libc/libthread_xu - Fix segfault caused by libpthread used before initialised
If a binary has libpthread as dependency and is linked against libintl, or any other library that uses pthread locking p
libc/libthread_xu - Fix segfault caused by libpthread used before initialised
If a binary has libpthread as dependency and is linked against libintl, or any other library that uses pthread locking primitives from libc without depending on libpthread itself it can happen that functions from libpthread are called before libpthread's constructor has been called. This leads to a segfault.
This fix adds a weak symbold to libc, namely _pthread_init_early, which is called from a libc constructor function and therefore makes sure that libpthread is initialised early enough.
Thanks to Simon Schubert, Angelos Oikonomopoulos, and Sascha Wildner for the support in debugging this.
show more ...
|
#
775923a8 |
| 25-Dec-2012 |
Sascha Wildner <saw@online.de> |
libpthread: Add sem_timedwait().
It was commented out and I'm not sure why.
It needed a bit of adjustment to properly check the nanoseconds field but with that, it passes all eleven tests of the Op
libpthread: Add sem_timedwait().
It was commented out and I'm not sure why.
It needed a bit of adjustment to properly check the nanoseconds field but with that, it passes all eleven tests of the Open POSIX Test Suite. Other people (thesjg, vsrinivas) have tested and used it too in the past.
While here, also add a manual page (taken from FreeBSD).
In-discussion-with: vsrinivas
show more ...
|
Revision tags: v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3 |
|
#
6f93d55f |
| 14-Apr-2012 |
Sascha Wildner <saw@online.de> |
Remove some unnecessary inclusions of <sys/cdefs.h> across the tree.
|
Revision tags: 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 |
|
#
0490f058 |
| 06-Jul-2009 |
Hasso Tepper <hasso@estpak.ee> |
"Sync" threading libaries.
* Introduce stubs returning error into libc_r for functions which don't exist there, but are there in libthread_xu. * Compile POSIX spinlocks implementation in libthread
"Sync" threading libaries.
* Introduce stubs returning error into libc_r for functions which don't exist there, but are there in libthread_xu. * Compile POSIX spinlocks implementation in libthread_xu. * Define _POSIX_BARRIERS and _POSIX_SPIN_LOCKS and modify sysconf(3) accordingly.
show more ...
|
#
3970d45b |
| 30-May-2009 |
Hasso Tepper <hasso@estpak.ee> |
Remove symbols not in libpthread (libc_r).
Pthread stubs must not have symbols which are not in the libpthread. Unbreaks a hell of lot things in the pkgsrc.
|
#
82205bfb |
| 26-May-2009 |
Simon Schubert <simon.schubert@epfl.ch> |
libc: consolidate pthread stub functions
To Hasso's and my surprise we are maintaining two sets of stub functions for pthread. These stubs are present so that consumers that are thread aware, but d
libc: consolidate pthread stub functions
To Hasso's and my surprise we are maintaining two sets of stub functions for pthread. These stubs are present so that consumers that are thread aware, but don't require pthreads, will successfully link even without -lpthread.
pthread_fake.c was introduced for external consumers, I believe Xorg. It provided externally visible weak symbols for pthread_* functions that all returned an error.
_pthread_stubs.c was introduced later so that libc could be made pthread aware. It provided only stub functions that are used by libc itself, provided by weak symbols for _pthread_* (notice leading underscore). These functions returned always success, so that libc could operate properly.
This consolidation now provides weak symbols for both pthread_* and _pthread_* for all functions defined by libpthread, except for pthread_create. These functions return success and/or behave properly.
show more ...
|