File: tg-pthread_deps.diff

package info (click to toggle)
glibc 2.24-10
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 223,412 kB
  • sloc: ansic: 991,967; asm: 261,800; sh: 10,385; makefile: 9,710; cpp: 4,169; python: 3,971; perl: 2,254; awk: 1,753; pascal: 1,521; yacc: 291; sed: 80
file content (39 lines) | stat: -rw-r--r-- 1,313 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
Subject: [PATCH] t/pthread_deps

libpthread needs some internal symbols to avoid exposing the plain ones

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

---
 mach/Versions | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/mach/Versions b/mach/Versions
index 45260c7..d809dc1 100644
--- a/mach/Versions
+++ b/mach/Versions
@@ -29,16 +29,17 @@ libc {
     mach_msg_send; mach_msg_receive;
     mach_msg_server; mach_msg_server_timeout;
     mach_open_devstream;
-    mach_port_allocate; mach_port_allocate_name; mach_port_deallocate;
-    mach_port_insert_right; mach_reply_port;
+    mach_port_allocate; __mach_port_allocate;
+    mach_port_allocate_name; mach_port_deallocate;
+    mach_port_insert_right; __mach_port_insert_right; mach_reply_port;
     mach_setup_thread;
     mach_task_self;
     mach_thread_self;
     mig_allocate; mig_dealloc_reply_port; mig_deallocate;
-    mig_get_reply_port; mig_init; mig_put_reply_port;
+    mig_get_reply_port; mig_init; __mig_init; mig_put_reply_port;
 
     # v*
-    vm_allocate; vm_deallocate; vm_map;
+    vm_allocate; __vm_allocate; vm_deallocate; __vm_deallocate; vm_map;
 
     # s*
     swtch; swtch_pri;
-- 
tg: (f76453c..) t/pthread_deps (depends on: baseline)