CVSROOT: /cvs Module name: src Changes by: z...@cvs.openbsd.org 2018/05/03 09:47:41
Modified files: lib/libkvm : kvm.c kvm_private.h kvm_proc.c Log message: A few fixes for kvm_getargv(3)/kvm_getenv(3): 1. Most notable: this splits argv buffer into argv-specific one and environ-specific one. This makes ps -eww totally happy. 2. realloc() usage in kvm_argv() is now ENOMEM-prone. 3. The "int off" changed to "ptrdiff_t off", as it should be. input & okay deraadt@, millert@