aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-12-12 13:17:21 -0800
committerRoland McGrath <roland@hack.frob.com>2014-12-12 15:01:30 -0800
commite4f639e4a106d90c6f3159230788653fd6e40a26 (patch)
tree0273305e960bcb5f46e3debc523eecc312e1bba8 /ChangeLog
parentc76d1ff5149bd03210f2bb8cd64446c51618d016 (diff)
downloadglibc-e4f639e4a106d90c6f3159230788653fd6e40a26.tar
glibc-e4f639e4a106d90c6f3159230788653fd6e40a26.tar.gz
glibc-e4f639e4a106d90c6f3159230788653fd6e40a26.tar.bz2
glibc-e4f639e4a106d90c6f3159230788653fd6e40a26.zip
NPTL: Refactor named semaphore code to use shm-directory.h
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog31
1 files changed, 31 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ac8b925bd..e973b556e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,36 @@
2014-12-12 Roland McGrath <roland@hack.frob.com>
+ * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
+ PREFIX, string constant to insert between directory and name.
+ * sysdeps/posix/shm_open.c: Update caller.
+ * sysdeps/posix/shm_unlink.c: Likewise.
+ * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
+ (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
+ (SEM_SHM_PREFIX): New macro.
+ * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
+ [$(have-thread-library) = no].
+ * nptl/Makefile (libpthread-routines): Add shm-directory.
+ * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
+ * sysdeps/nptl/shm-directory.h: New file.
+ * sysdeps/posix/shm-directory.c
+ [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
+ * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
+ * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
+ INTERNAL_SYSCALL.
+ (__where_is_shmfs): Function removed.
+ (mountpoint, defaultmount, defaultdir, __namedsem_once):
+ Variables removed.
+ (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
+ Use SHM_GET_NAME.
+ * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
+
+ * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
+ (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
+ unconditional for use inside libpthread.
+ [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
+
+2014-12-12 Roland McGrath <roland@hack.frob.com>
+
* nptl/pthread_getaffinity.c: New file.
* nptl/pthread_setaffinity.c: New file.
* nptl/pthread_getname.c: New file.