Remove test/dsched*. This doesn't build anymore after 3573cf7bf66147.
kernel: Remove more syslink remains (headers and a define).The only related header remaining is <sys/syslink_rpc.h> which isheavily used (struct syslink_desc), so we'd have to untangle thatfirst.
libkvm: Make return value of kvm_getfiles(3) consistent.The return value was inconsistent if this function is called oncoredump and on live kernel:- The leading filehead will trash return value i
libkvm: Make return value of kvm_getfiles(3) consistent.The return value was inconsistent if this function is called oncoredump and on live kernel:- The leading filehead will trash return value if it is called on live kernel.- Live kernel returns an array of kinfo_file but coredump returns an array of file.It probably only worked when KERN_FILE sysctl returned an arrayof files and when the filehead was just a file ptr; or it neverworked (it reversed nfiles' and filehead's kernel address whenreading from coredump).We now let it return an array of kinfo_file without any weirdleading stuffs.While I'm here clean it up a little bit (mainly use NULL insteadof 0).This also paves the way to split filehead.
show more ...