diff options
author | kib <kib@FreeBSD.org> | 2015-02-17 01:03:06 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-02-17 01:03:06 +0000 |
commit | 0cb0cb1b24a8ada17d71f3f1cad36e89d0c0ccfc (patch) | |
tree | 6c211c0db8606bd913bc7ca6b008edcddc8f1cd3 /lib/libc/sys | |
parent | c30b890b0bb2a5cdb5c6bf8b1b31ac21d986f650 (diff) | |
download | FreeBSD-src-0cb0cb1b24a8ada17d71f3f1cad36e89d0c0ccfc.zip FreeBSD-src-0cb0cb1b24a8ada17d71f3f1cad36e89d0c0ccfc.tar.gz |
MFC r278751:
Properly interpose libc spinlocks, was missed in r276630.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/interposing_table.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/sys/interposing_table.c b/lib/libc/sys/interposing_table.c index d303779..0fd6c75 100644 --- a/lib/libc/sys/interposing_table.c +++ b/lib/libc/sys/interposing_table.c @@ -73,6 +73,8 @@ interpos_func_t __libc_interposing[INTERPOS_MAX] = { SLOT(write, __sys_write), SLOT(writev, __sys_writev), SLOT(_pthread_mutex_init_calloc_cb, _pthread_mutex_init_calloc_cb_stub), + SLOT(spinlock, __libc_spinlock_stub), + SLOT(spinunlock, __libc_spinunlock_stub), }; #undef SLOT |