Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: syssrc/sys/kern



   
   Matt - did you say there was something else affecting binary
   compatibility?  Or was this the only issue?


both issues were related to sizing, and i think this takes care of both.
one was that dkstats.c used "total-size-from-kernel / sizeof(struct
disk_sysctl)" to calculate the number of drives.  the other was it not
passing in the length it wanted, so was getting disk stats info for all
but the first disk at the 'wrong' offset into the buffer.  if the kernel
assumes that no passed in size == first generation, then it should work
for old binaries as well i think.


.mrg.



Home | Main Index | Thread Index | Old Index