diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2016-02-28 17:52:33 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2016-02-28 17:52:33 +0000 |
commit | 1bdbd705993eab79189dff87b69a9cff5c69b17e (patch) | |
tree | 93354adb0a612a635964c8498072087760a0f93b /bin | |
parent | 3f3af790f95027d0c3b859a53eb82ef5d00dc4f8 (diff) | |
download | src-1bdbd705993eab79189dff87b69a9cff5c69b17e.tar.gz src-1bdbd705993eab79189dff87b69a9cff5c69b17e.zip |
Implement process-shared locks support for libthr.so.3, without
breaking the ABI. Special value is stored in the lock pointer to
indicate shared lock, and offline page in the shared memory is
allocated to store the actual lock.
Reviewed by: vangyzen (previous version)
Discussed with: deischen, emaste, jhb, rwatson,
Martin Simmons <martin@lispworks.com>
Tested by: pho
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=296162
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sh/miscbltin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/sh/miscbltin.c b/bin/sh/miscbltin.c index 4de12760b54e..9dae4cb3c255 100644 --- a/bin/sh/miscbltin.c +++ b/bin/sh/miscbltin.c @@ -414,6 +414,9 @@ static const struct limits limits[] = { #ifdef RLIMIT_KQUEUES { "kqueues", (char *)0, RLIMIT_KQUEUES, 1, 'k' }, #endif +#ifdef RLIMIT_UMTXP + { "umtxp", (char *)0, RLIMIT_UMTXP, 1, 'o' }, +#endif { (char *) 0, (char *)0, 0, 0, '\0' } }; |