summaryrefslogtreecommitdiff
path: root/lib/libc/Symbols.list
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2023-01-07 05:25:00 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2023-01-07 05:25:00 +0000
commit8be9c34a92bc776d065a7b50661bf7bd5c764567 (patch)
tree5227ec96081b287c582622735e28751d6e121c20 /lib/libc/Symbols.list
parentd16a8134fa033fab3a6bdf55d0b6953f87a06c3a (diff)
Add {get,set}thrname(2) for putting thread names in the kernel and
exposed in a new field returned by sysctl(KERN_PROC). Update pthread_{get,set}_name_np(3) to use the syscalls. Show them, when set, in ps -H and top -H output. libc and libpthread minor bumps ok mpi@, mvs@, deraadt@
Diffstat (limited to 'lib/libc/Symbols.list')
-rw-r--r--lib/libc/Symbols.list4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/Symbols.list b/lib/libc/Symbols.list
index 833cdf655e9..c5b8794362e 100644
--- a/lib/libc/Symbols.list
+++ b/lib/libc/Symbols.list
@@ -115,6 +115,7 @@ _thread_sys_getsid
_thread_sys_getsockname
_thread_sys_getsockopt
_thread_sys_getthrid
+_thread_sys_getthrname
_thread_sys_gettimeofday
_thread_sys_getuid
_thread_sys_ioctl
@@ -206,6 +207,7 @@ _thread_sys_setrlimit
_thread_sys_setrtable
_thread_sys_setsid
_thread_sys_setsockopt
+_thread_sys_setthrname
_thread_sys_settimeofday
_thread_sys_setuid
_thread_sys_shmat
@@ -314,6 +316,7 @@ getsid
getsockname
getsockopt
getthrid
+getthrname
gettimeofday
getuid
ioctl
@@ -408,6 +411,7 @@ setrlimit
setrtable
setsid
setsockopt
+setthrname
settimeofday
setuid
shmat