Home | History | Annotate | Download | only in libpthread
History log of /src/lib/libpthread/Makefile
RevisionDateAuthorComments
 1.100  07-Apr-2025  rillig libpthread: fix lint build
 1.99  22-Nov-2024  riastradh libpthread: Fix expected symbols on alpha and hppa.

These have PTHREAD__ASM_RASOPS and define a different subset of
symbols which get exported. None of these pthread__ras_* and
pthread__lock_* symbols _should_ be exported but we can fix that in a
future revbump.

PR lib/58838: shared libraries in base should all have expsym lists
 1.98  14-Sep-2023  rin libpthread/Makefile: trailing whitespace
 1.97  14-Jul-2023  lukem fix rump URLs

Link to https://github.com/rumpkernel/ instead of
a site now taken over by an SEO squatter.

Per discussion on github.com/rumpkernel issues with pooka.

PR misc/57501
 1.96  11-Nov-2019  joerg branches: 1.96.8;
Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da)
 1.95  22-Sep-2019  brad Add USE_SHLIBDIR=yes to a number of Makefiles for the libraries used
by /sbin/{zfs,zpool,mount_zfs}. The general effect is to move them
from /usr/lib to /lib. Compatibility links are installed in /usr/lib
and nothing that is installed, say in /usr/pkg, appears to break.

With this, it is possible to have a /var and /usr mount using ZFS
legacy mounting early on in the boot process.

Run tested on amd64 and i386 and compile tested on evbarm.
 1.94  07-May-2019  maya branches: 1.94.2;
Make CLEANFILES actually work. .TARGET is not defined when not in a target
rule.

Thanks xtos for the heads up.
 1.93  07-May-2019  maya Replace the link command for libpthread.a so that we create a single section
with all the libpthread symbols in it.
This makes -lpthread behave like to -Wl,--whole-archive -lpthread.

This avoids a situation where threaded static binaries use some libc thread
stubs, which are racy.

Fixes PR lib/54001: call_once2_32, call_once2_static test cases failing on
amd64 since gcc7 import.

Suggested by Jonathan Wakely, thanks!
 1.92  24-Apr-2019  kamil Add a complete C11 threads(3) implementation

C11 Thread support library is a portable threading C API between OSs,
similar to std::threads in the C++ world.

The library is implemented as a thin shim over POSIX interfaces.

NetBSD implements the API as a part of the POSIX threading library
(libpthread(3)).

C11 threads(3) are in the process of making them an integral part
of the POSIX standard. The interface has been implemented in major
OSs and used with stopgap libraries for older versions of them.

C11 threading library is already used (with a stopgap implementation)
in the NetBSD distribution in MESA.

Original implementation by myself from 2016.

ATF tests are new and cover almost all interfaces.

Proposed on tech-userlevel@.
 1.91  03-Feb-2019  thorpej Implement support for "pshared" POSIX semaphores.

Fixes lib/53273 (and Firefox's multi-process tab feature).
 1.90  09-Jun-2018  christos branches: 1.90.2;
But set NOSANITIZER
 1.89  09-Jun-2018  christos We can't build those three with MKSANITIZER, they are used too early.
 1.88  25-Feb-2018  chs branches: 1.88.2;
remove hard-coded -fomit-frame-pointer for pthread stuff,
let these use the same setting as the rest of the tree.
the performance difference is marginal and this allows
dtrace ustack() to work better.
 1.87  03-Jul-2016  christos GSoC 2016 Charles Cui: Implement thread priority protection based on work
by Andy Doran. Also document the get/set pshared thread calls as not
implemented, and add a skeleton implementation that is disabled.
XXX: document _sched_protect(2).
 1.86  23-Apr-2016  christos Add pthread_getcpuclockid(3)
 1.85  16-Dec-2014  pooka Allow for arbitrary MI scheduler implementations.

A concrete result is enabling unpatched libpthread to run on the
rumprun stacks (e.g. Xen and bare metal) with a non-NetBSD scheduler.
Those schedulers hook into the existing _lwp_frobnitz() NetBSD syscall
interfaces (well, "syscall" interfaces in that scenario ;)

More specifically about the change itself:

1) instead of calling _lwp_makecontext() followed by _lwp_create()
and passing the entry point in ucontext_t (MD) through the calls, roll
the calls into pthread__makelwp() and allow alternate implementations
for that MI interface.

2) allow compile-time overriding of __lwp_gettcb_fast() or
__lwp_getprivate_fast, which are inline and leak MD scheduler/thread
details into libpthread


Additionally, two small nits:

I) define LIB=pthread before including mk.conf so that it's possible
to test for LIB==pthread in mk.conf

II) make it possible to leave out pthread_cancelstub.c. This is required
by the current implementation of rumprun-posix (i.e. rumprun on
POSIX hosts) due to symbol collisions. It needs to be fixed properly
some day, but for now allows an almost-correct libpthread to run.
I am sure @justin will be happy to explain the details ;)


no change to NetBSD
tested: anita+atf
 1.84  10-Aug-2014  matt MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU
 1.83  09-Oct-2013  matt Use MACHINE_CPU for m68k. Use similar logic for both tests.
 1.82  15-Aug-2013  matt Add support for an optional ARCHSUBDIR/Makefile.inc
 1.81  12-Aug-2013  joerg Some architectures can't create unwind tables without the frame pointer,
so don't use -fomit-frame-pointer on those.
 1.80  21-Mar-2013  christos - Allow libpthread to be dlopened again, by providing libc stubs to libpthread.
- Fail if the dlopened libpthread does pthread_create(). From manu@
- Discussed at length in the mailing lists; approved by core@
- This was chosen as the least intrusive patch that will provide
the necessary functionality.
XXX: pullup to 6
 1.79  25-Feb-2013  apb Explain what PTHREAD__COMPAT is for. This comment in
src/libpthread/Makefile is adated from a comment in
src/doc/CHANGES.prev.
 1.78  31-Jan-2013  riastradh Add pthread_condattr_setclock(3) man page link.
 1.77  04-Aug-2012  matt branches: 1.77.2;
-Wfoo goes into CWARNFLAGS
 1.76  04-Apr-2012  joerg Disable new -Wstring-plus-int warning where needed for now.
Adjust various places that add GCC-only options to check for the active
compiler first.
 1.75  21-Mar-2012  matt These directories default to WARNS?=5
 1.74  12-Mar-2012  joerg Move pthread_once implementation into a separate file, it doesn't depend
on the mutex implementation in any way.
 1.73  10-Nov-2011  yamt branches: 1.73.2;
document pthread_curcpu_np
 1.72  16-Aug-2011  christos branches: 1.72.2;
document non-literal format strings
 1.71  24-Dec-2010  skrll Add support for DF_1_BIND_NOW, DF_1_NODELETE and DF_1_NOOPEN marked
objects, and the RTLD_NODELETE and RTLD_NOLOAD flags to dlopen(3).

Mark libpthread as DF_1_NOOPEN and use it to test the functionality.

Somewhat taken from FreeBSD.

Fixes PR 42029.

OK from christos and joerg.
 1.70  06-Aug-2010  christos document pthread_getattr_np
 1.69  09-Jul-2010  jruoho Rationalize by moving

pthread_key_delete(3) to pthread_key_create(3); and
pthread_setspecific(3) to pthread_getspecific(3)
 1.68  09-Jul-2010  jruoho Rationalize by moving

pthread_attr_setname_np(3) to pthread_attr_getname_np(3); and
pthread_setname_np(3) to pthread_getname_np(3).
 1.67  08-Jul-2010  jruoho Group also pthread_attr_getschedparam(3) and pthread_attr_getschedpolicy(3),
as these two pages fit well together.
 1.66  08-Jul-2010  rmind Merge/group man pages:
- pthread_barrier_{init,destroy,wait} into pthread_barrier(3).
- pthread_cond_* into pthread_cond(3).
- pthread_mutex_* into pthread_mutex(3).
- pthread_rwlock_* into pthread_rwlock(3).
- pthread_spin_* into pthread_spin(3).
Cross-link amongst groups.
OK jruoho@
 1.65  07-Jul-2010  jruoho Finally, split pthread_attr_getschedpolicy() and pthread_attr_setschedpolicy()
to their own page.
 1.64  07-Jul-2010  jruoho Split pthread_attr_getschedparam() and pthread_attr_setschedparam() to a
separate page.
 1.63  07-Jul-2010  jruoho Split pthread_attr_getinheritsched() and pthread_attr_setinheritsched() to a
separate page, and actually document these.
 1.62  07-Jul-2010  jruoho Move pthread_attr_getguardsize() and pthread_attr_setguardsize() to a
separate page, and actually document these.
 1.61  07-Jul-2010  jruoho Move the thread stack attribute functions to a separate page. In addition,
document pthread_attr_getstack() and pthread_attr_setstack(). Try to also
document these a little better (in particular, note some items in the long
list of caveats and questions related to application-controlled thread stack).
 1.60  07-Jul-2010  jruoho Split pthread_attr_getdetachstate(3) and pthread_attr_setdetachstate(3) to a
separate page. Once ready, the main page, pthread_attr(3), will contain a
summary of the various thread attribute functions.
 1.59  07-Jul-2010  jruoho Move pthread_attr_{g,s}etscope() to a separate page and try to document
these better. Should fix PR lib/41831 from Wolfgang Stukenbrock.

XXX: Please proofread.
 1.58  06-Jul-2010  jruoho Document pthread_attr_get_np(). Fixes PR lib/39289 from ahoka@.
 1.57  19-May-2010  jruoho Build links for rest of the pthread_attr(3) functions.
Hopefully I got all of them right in the setlist...
 1.56  16-May-2009  ad Remove unused code that's confusing when using cscope/opengrok.
 1.55  26-Oct-2008  mrg branches: 1.55.4;
check for ${PTHREAD_MACHINE_ARCH} before ${MACHINE_ARCH} or ${MACHINE_CPU}
 1.54  08-Oct-2008  ad Adjust the compat stuff slightly so that the changes are mostly self
contained (Makefile, pthread_compat.c).
 1.53  29-Sep-2008  ad make PTHREAD__COMPAT=1

Builds a libpthread that can be dropped into a NetBSD 2/3/4 chroot.

This makes threading work in the chroot when using a NetBSD 5 kernel, no
other modifications required.
 1.52  16-Jun-2008  rmind - Add affinity(3) manual page, which describes thread affinity,
pthread_setaffinity_np(3) and pthread_getaffinity_np(3) functions,
provides simple code example.
- Add cpuset(3) manual page, which describes API of CPU-sets.

Thanks <wiz> for many improvements!
 1.51  10-Mar-2008  rmind branches: 1.51.2; 1.51.4;
Add sched(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
 1.50  10-Feb-2008  ad branches: 1.50.2;
- Remove libpthread's atomic ops.
- Remove the old spinlock-based mutex and rwlock implementations.
- Use the atomic ops from libc.
 1.49  15-Jan-2008  rmind Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.
 1.48  14-Dec-2007  yamt document following functions.
pthread_attr_getname_np
pthread_attr_setname_np
pthread_getname_np
pthread_setname_np
 1.47  19-Nov-2007  ad Remove the debuglog stuff. ktrace is more useful now.
 1.46  13-Nov-2007  ad Mutexes:

- Play scrooge again and chop more cycles off acquire/release.
- Spin while the lock holder is running on another CPU (adaptive mutexes).
- Do non-atomic release.

Threadreg:

- Add the necessary hooks to use a thread register.
- Add the code for i386, using %gs.
- Leave i386 code disabled until xen and COMPAT_NETBSD32 have the changes.
 1.45  13-Oct-2007  jnemeth SSP doesn't like alloca...
 1.44  04-Oct-2007  ad Compile pthread_getspecific / pthread_setspecific with -fomit-frame-pointer
-falign-functions=32, since these two really get hammered on. To make them
faster needs a threadreg or TLS, unless there is a way to tell gcc that a
library-local (pthread__threadmask) variable does not need to be PIC.
 1.43  07-Sep-2007  ad - Don't take the mutex's spinlock (ptr_interlock) in pthread_cond_wait().
Instead, make the deferred wakeup list a per-thread array and pass down
the lwpid_t's that way.

- In pthread_cond_wait(), take the mutex before dealing with early wakeup.
In this way there should never be contention on the CV's spinlock if
the app follows POSIX rules (there should only be contention on the
user-provided mutex).

- Add a port of the kernel's rwlocks. The rwlock's spinlock is only taken if
there is contention. This is enabled where atomic ops are available. Right
now that is only i386 and amd64 because I don't have other hardware to
test with. It's trivial to add stubs for other architectures as long as
they have compare-and-swap. When we have proper atomic ops the old rwlock
code can be removed.

- Add a new mutex implementation that's similar to the kernel's mutexes, but
uses compare-and-swap to maintain the waiters list, so no spinlocks are
involved. Same caveats apply as for the rwlocks.
 1.42  16-Aug-2007  ad branches: 1.42.2;
Trim fat off libpthread internal spinlock operations. Makes a mesurable
improvement across the board.
 1.41  16-Aug-2007  ad Remove PT_FIXEDSTACKSIZE_LG.
 1.40  02-Mar-2007  ad branches: 1.40.2;
Remove the PTHREAD_SA option. If M:N threads is reimplemented it's
better off done with a seperate library.
 1.39  09-Feb-2007  ad Sync with kernel changes introduced by merging the newlock2 branch.
 1.38  20-Jan-2007  christos set warns to 4
 1.37  24-Dec-2006  ad Fix bugs with and improve upon previous.
 1.36  23-Dec-2006  ad Conditionalised support for 1:1 threads. Needs associated kernel changes
and more work to be useful.
 1.35  13-Dec-2005  christos include libc after our own files to fix ports that have 2 assym.h's. One
in pthread and one in libc.
 1.34  13-Sep-2005  christos XXX: Work around libpthread's "intimate" connection with libc.
 1.33  17-Jun-2005  peter Create links for pthread_attr_setschedparam.3
and pthread_attr_getschedparam.3 to pthread_attr.3.

From Igor Sobrado in PR/29997.
 1.32  17-Jun-2005  peter Don't create links to pthread_barierattr_init.3 and
pthread_barierattr_destroy.3 but to pthread_barrierattr_init.3
and pthread_barrierattr_destroy.3 (note the 2 rs in barrier).
 1.31  30-May-2005  thorpej Use TOOL_GENASSYM. Part of PR toolchain/30350
 1.30  03-Feb-2005  christos branches: 1.30.2;
Add charles' mlock fixes, protected with PTHREAD_MLOCK_KLUDGE and enabled
by default, until we come up with a real fix.
 1.29  14-Dec-2004  yamt document sched_yield.
 1.28  10-Dec-2004  nathanw Use CPP macros to cause many libpthread functions used by applications
to be transformed into the do-nothing-when-libpthread-isn't-linked libc
stub names. This will permit library code that uses <pthread.h> and pthread
functions "defensively" to not need to link against libpthread and not need
to be patched to the threadlib.h API.
 1.27  02-Jun-2004  pooka pthread_spin_lock.3 also describes pthread_spin_trylock(),
so link them together
 1.26  21-May-2004  christos add pool code for res state.
XXX: could be more efficient.
 1.25  02-Jan-2004  lukem branches: 1.25.4;
Add dependencies to assym.h on:
pthread.h pthread_int.h pthread_md.h
Should help prevent the problem I raised in [kern/23946], based on
a hint from Christian Limpach.

Add MAKEVERBOSE support.
 1.24  27-Nov-2003  cl Set default stack size to the current limit on the stack size as set
with the shell's command to change limits. Make the PTHREAD_STACKSIZE
environment variable override the default stack size. The old fixed
stack size behaviour can be enable with PT_FIXEDSTACKSIZE_LG when building
libpthread.
 1.23  12-Nov-2003  christos Document pthread_attr_setcreatesuspend_np, pthread_suspend_np, pthread_resume_np
 1.22  26-Oct-2003  lukem Use ${HOST_SH} instead of `sh'.

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
 1.21  13-Aug-2003  nathanw Split out pthread_{set,get}specific() into a separate file and arrange
for that file to not be built with profiling. This makes it reasonable to
use pthread_{set,get}specific() to implement thread-safe profiline call counts.
 1.20  01-Aug-2003  lukem Rework how dependency generation is performed:

* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
 1.19  24-Jul-2003  wiz Add pthread(3), based on one by Hubert Feyrer, improved by yours truly,
reviewed by Nathan J. Williams.
 1.18  18-Jul-2003  nathanw pthread.c was getting a bit unwieldly. Move pthread_attr stuff out
into a new file, and put the shared private structure definition in
pthread_int.h.
 1.17  03-Jun-2003  nathanw Make infrastructure for man pages.
 1.16  10-Mar-2003  nathanw Re-enable nanosleep(); kernel bug is squished (kern_time.c:1.67).
 1.15  28-Feb-2003  nathanw Disable userlevel nanosleep() until I find the timer/alarm bug that it
is tickling.
 1.14  15-Feb-2003  nathanw Implement nanosleep() at userlevel. Threaded applications seem to like
to sleep a lot, and there's no need for each such thread to consume kernel
resources.

(accidentally checked the pthread.c part of this in yesterday; no reason
not to finish the job)
 1.13  24-Jan-2003  thorpej p1003.1b semaphore manual pages have been moved to librt.
 1.12  21-Jan-2003  christos add manual pages.
 1.11  20-Jan-2003  christos add support for p1003.1b semaphores. From FreeBSD
 1.10  19-Jan-2003  thorpej Always allow includes to be installed. This makes it easier for
people to get straggling ports bootstrapped (pthread.h is required
in order to build libc).
 1.9  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.8  08-Oct-1997  scottr branches: 1.8.2;
This incarnation of the pthreads library is ancient and not useful, and
should have been mothballed some time ago...
 1.7  07-Feb-1994  proven The latest pthread library.
 1.6  22-Nov-1993  proven Fix for older shells that can't handle then;
 1.5  16-Nov-1993  proven Added NOPIC flag.
 1.4  15-Nov-1993  cgd correct my bad advice
 1.3  15-Nov-1993  proven OK one more try at getting it right ...
 1.2  15-Nov-1993  proven Makefile needed a preall to make a few links before compiling sources.
CVS doesn't check in symlinks.
 1.1  14-Nov-1993  proven branches: 1.1.1;
Initial revision
 1.1.1.1  14-Nov-1993  proven Initial release of the POSIX 1003.4a Draft 7 thread implementation.
 1.8.2.21  08-Jan-2003  thorpej Rewrite the way libpthread provides thread primitives to libc, using
strong and weak aliases (the way cancelation points are handled).

Work around lame Unix static library semantics which could cause
the wrong thread primitives or cancelation point functions to be
included in a statically-linked program.

THIS IS AN ABI CHANGE. People running the nathanw_sa branch should
ensure that their libc and libpthread are in sync after updating.
 1.8.2.20  07-Jan-2003  thorpej Implement the pthread_barrier API.
 1.8.2.19  28-Oct-2002  nathanw Implement POSIX read-write locks.
 1.8.2.18  07-Oct-2002  thorpej Slight adjustment to last -- Only bring in <bsd.lib.mk> if LIB is
defined, and bring in <bsd.man.mk> otherwise.
 1.8.2.17  07-Oct-2002  thorpej Issue a warning, but to not error out (just skip it) if we don't
yet have pthread support for the platform we're building on.
 1.8.2.16  14-Aug-2002  nathanw Infrastructure for machine-dependent init code.
 1.8.2.15  03-May-2002  nathanw Remove accidentally committed variables.
 1.8.2.14  02-May-2002  nathanw Different way of integrating with libc: Create a vector type for pthread
operations; libc will have a pointer to such a vector. When the pthread
library is loaded, set libc's pointer to a vector of real operations.
This removes the reliance on weak symbol magic, which didn't work
for static binaries, and as an aesthetic side effect, we don't have to
export a bunch of ugly _libc_pthread_* wrappers.
 1.8.2.13  11-Apr-2002  thorpej This file is exactly the same as include/sched.h; don't bother with
the second copy.
 1.8.2.12  11-Apr-2002  nathanw Add "hard" stubs for libc interface. Weak aliases didn't work so well.
 1.8.2.11  04-Apr-2002  nathanw Remove an unnecessary bit of variable indirection.
 1.8.2.10  28-Jan-2002  nathanw Add new files.
 1.8.2.9  16-Nov-2001  thorpej Need bsd.own.mk early due to variable expansion rules and the use
of .if exists...
 1.8.2.8  06-Sep-2001  nathanw Add dependancies on assym.h, so that "make depend" is not strictly necessary.
 1.8.2.7  08-Aug-2001  nathanw Implement thread-specific data.
 1.8.2.6  25-Jul-2001  nathanw WARNS=2
 1.8.2.5  25-Jul-2001  nathanw Implement most of condition variables
(pthread_cond_timedwait() is not yet done).
 1.8.2.4  17-Jul-2001  nathanw Add a mechanisim for debugging that is less likely to change scheduling
behaviour than using printf (writing to a shared memory segment), and a
simple tool for dumping the buffer. Partly inspired by the kernel msgbuf
code.
 1.8.2.3  13-Jul-2001  nathanw Make userlevel-only *context functions part of libpthread rather than libc.
 1.8.2.2  13-Jul-2001  nathanw Add the new headers.
 1.8.2.1  08-Mar-2001  nathanw Forgot this file, somehow.
 1.25.4.1  21-Jun-2005  riz Pull up revision 1.32 (requested by peter in ticket #2002):
Don't create links to pthread_barierattr_init.3 and
pthread_barierattr_destroy.3 but to pthread_barrierattr_init.3
and pthread_barrierattr_destroy.3 (note the 2 rs in barrier).
 1.30.2.2  18-Jun-2005  tron Pull up revision 1.33 (requested by peter in ticket #473):
Create links for pthread_attr_setschedparam.3
and pthread_attr_getschedparam.3 to pthread_attr.3.
From Igor Sobrado in PR/29997.
 1.30.2.1  18-Jun-2005  tron Pull up revision 1.32 (requested by peter in ticket #473):
Don't create links to pthread_barierattr_init.3 and
pthread_barierattr_destroy.3 but to pthread_barrierattr_init.3
and pthread_barrierattr_destroy.3 (note the 2 rs in barrier).
 1.40.2.2  10-Sep-2007  skrll Sync with HEAD.
 1.40.2.1  03-Sep-2007  skrll Sync with HEAD.
 1.42.2.3  23-Mar-2008  matt sync with HEAD
 1.42.2.2  09-Jan-2008  matt sync with HEAD
 1.42.2.1  06-Nov-2007  matt sync with HEAD
 1.50.2.1  24-Mar-2008  keiichi sync with head.
 1.51.4.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.51.2.1  17-Jun-2008  yamt sync with head.
 1.55.4.2  26-Oct-2008  mrg check for ${PTHREAD_MACHINE_ARCH} before ${MACHINE_ARCH} or ${MACHINE_CPU}
 1.55.4.1  26-Oct-2008  mrg file Makefile was added on branch christos-time_t on 2008-10-26 00:00:28 +0000
 1.72.2.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.72.2.2  30-Oct-2012  yamt sync with head
 1.72.2.1  17-Apr-2012  yamt sync with head
 1.73.2.1  29-Apr-2013  riz Pull up following revision(s) (requested by manu in ticket #869):
lib/libpthread/pthread_rwlock.c: revision 1.33
lib/libc/include/reentrant.h: revision 1.16
lib/libpthread/pthread_cond.c: revision 1.59
lib/libpthread/pthread_misc.c: revision 1.15
lib/libc/thread-stub/thread-stub.c: revision 1.23
lib/libpthread/pthread_cancelstub.c: revision 1.38
lib/libpthread/pthread_specific.c: revision 1.26
lib/libpthread/pthread_mutex.c: revision 1.56
lib/libpthread/pthread_tsd.c: revision 1.11
lib/libpthread/Makefile: revision 1.80
lib/libpthread/pthread.c: revision 1.143
lib/libpthread/pthread_int.h: revision 1.89
- Allow libpthread to be dlopened again, by providing libc stubs to
libpthread.
- Fail if the dlopened libpthread does pthread_create(). From manu@
- Discussed at length in the mailing lists; approved by core@
- This was chosen as the least intrusive patch that will provide
the necessary functionality.
XXX: pullup to 6
 1.77.2.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.77.2.2  23-Jun-2013  tls resync from head
 1.77.2.1  25-Feb-2013  tls resync with head
 1.88.2.1  25-Jun-2018  pgoyette Sync with HEAD
 1.90.2.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.90.2.1  10-Jun-2019  christos Sync with HEAD
 1.94.2.1  27-Sep-2019  martin Pull up following revision(s) (requested by brad in ticket #252):

external/cddl/osnet/lib/libzpool/Makefile: revision 1.13
lib/libpthread/Makefile: revision 1.95
external/cddl/osnet/lib/libuutil/Makefile: revision 1.6
distrib/sets/lists/base/shl.mi: revision 1.871
external/cddl/osnet/lib/libzfs_core/Makefile: revision 1.2
external/cddl/osnet/lib/libnvpair/Makefile: revision 1.11
external/cddl/osnet/lib/libzfs/Makefile: revision 1.10
external/cddl/osnet/lib/libavl/Makefile: revision 1.6
distrib/sets/lists/debug/shl.mi: revision 1.230
external/cddl/osnet/lib/libumem/Makefile: revision 1.7

Add USE_SHLIBDIR=yes to a number of Makefiles for the libraries used
by /sbin/{zfs,zpool,mount_zfs}. The general effect is to move them
from /usr/lib to /lib. Compatibility links are installed in /usr/lib
and nothing that is installed, say in /usr/pkg, appears to break.

With this, it is possible to have a /var and /usr mount using ZFS
legacy mounting early on in the boot process.
Run tested on amd64 and i386 and compile tested on evbarm.

Fix MKDEBUG distrib sets
Add libpthread, libnvpair and ZFS libs to dynamicroot.
 1.96.8.1  20-Sep-2024  martin Pull up following revision(s) (requested by rin in ticket #889):

lib/librumpuser/configure.ac: revision 1.6
lib/librumpuser/rumpuser_port.h: revision 1.53
lib/libpthread/Makefile: revision 1.97
sys/rump/share/man/man3/rumpuser.3: revision 1.4
sys/rump/share/man/man7/rumpkernel.7: revision 1.4
sys/rump/share/man/man7/rumpkernel.7: revision 1.5

fix rump URLs in man pages

Link to https://github.com/rumpkernel/wiki/wiki instead of
a site now taken over by an SEO squatter.
Per discussion on github.com/rumpkernel issues
with pooka.
PR misc/57501

fix rump URLs
Link to https://github.com/rumpkernel/ instead of
a site now taken over by an SEO squatter.
Per discussion on github.com/rumpkernel issues with pooka.
PR misc/57501

use rumpkernel.github.io as the entry point

RSS XML Feed