CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2023/01/06 22:24:59
Modified files: sys/kern : syscalls.master kern_exec.c kern_fork.c kern_pledge.c kern_prot.c sys/sys : proc.h sysctl.h include : unistd.h lib/libc : Symbols.list shlib_version lib/libc/sys : Makefile.inc lib/librthread : rthread_np.c shlib_version bin/ps : print.c usr.bin/top : machine.c Log message: 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@