CVS commit: [netbsd-11] src

"Martin Husemann" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	martin
Date:		Fri Apr  3 11:53:14 UTC 2026

Modified Files:
	src/lib/libkvm [netbsd-11]: kvm_proc.c
	src/sys/kern [netbsd-11]: kern_proc.c

Log Message:
Pull up following revision(s) (requested by yamt in ticket #235):

	sys/kern/kern_proc.c: revision 1.281
	lib/libkvm/kvm_proc.c: revision 1.101

sysctl_doeproc: fix an argument check
this commit fixes a regression in 2015, which made
kvm_getprocs(KERN_PROC_ALL) always fail.
("implementation of KERN_PROC_PATHNAME, some refactoring for KERN_PROC.")

libkvm: fix kvm_getargv/kvm_getenvv
these functions always fail because of a regression in 2022.
("read the ps arguments from the correct place.")
this commit restores them by adding a missing p_psstrp initialization.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.100.2.1 src/lib/libkvm/kvm_proc.c
cvs rdiff -u -r1.280 -r1.280.2.1 src/sys/kern/kern_proc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.