Up to [cvs.NetBSD.org] / src / lib / libkvm
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-1-5
Revision 1.65.4.2 / (download) - annotate - [select for diffs], Thu Sep 19 18:54:19 2002 UTC (21 years, 6 months ago) by itojun
Branch: netbsd-1-5
Changes since 1.65.4.1: +39 -8
lines
Diff to previous 1.65.4.1 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored)
lib/libkvm/kvm.c 1.72-1.75,1.77 Set the close-on-exec bit on all file descriptors we open. Inspired by a FreeBSD security advisory.
Revision 1.65.4.1 / (download) - annotate - [select for diffs], Sat Feb 3 20:32:33 2001 UTC (23 years, 1 month ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Changes since 1.65: +3 -2
lines
Diff to previous 1.65 (colored)
Pull up revision 1.69 (requested by msaitoh): Add forgotten initialization. Fixes PR#11446.
Revision 1.65 / (download) - annotate - [select for diffs], Fri May 26 02:42:21 2000 UTC (23 years, 10 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.64: +22 -4
lines
Diff to previous 1.64 (colored)
Add kvm interface to the new sysctls: kvm_getproc2() -> sysctl(KERN_PROC2) kvm_getargv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ARGV) kvm_getenvv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ENV) Add new KVM_NO_FILES flag to kvm_open*() - set up enough state to use the above calls without having to open any kernel files. XXX: kvm_getprocs.3 and kvm_open.3 to be updated soon.