Displaying 1 result from an estimated 1 matches for "kld_file_stat".
2008 Sep 30
1
DTrace MFC broke kldstat(2) on RELENG_7
Hi,
I recently noticed that kldstat(8) started to dump core for me on
RELENG_7. I traced the problem down to kldstat(2). r182231 (DTrace
MFC) introduced a new version of kld_file_stat struct and added some
code to support the old version of the structure in kldstat(). In the
new code the old structure is known as kld_file_stat_1. Unfortunately
there's a bug in this code: kldstat() copies always sizeof(struct
kld_file_stat) of data to user space while it should copy sizeof(st...