aboutsummaryrefslogtreecommitdiffstats
path: root/testing/clsync/pthread_setname_np.patch
blob: aab4dd4ef83ef38d71a16b4c49f3d869935999ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
pthread_setname_np is a glibc extension not defined in POSIX
and is not supported by musl libc.
--- a/privileged.c
+++ b/privileged.c
@@ -920,7 +920,7 @@
 # endif
 	} else {
 		register_blockthread();
-		pthread_setname_np(pthread_self(), "clsync-helper");
+		//pthread_setname_np(pthread_self(), "clsync-helper");
 	}
 	cap_drop(ctx_p, ctx_p->caps);