Up to [cvs.NetBSD.org] / src / sys / dev / wscons
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pgoyette-compat-20190118
Revision 1.39 / (download) - annotate - [select for diffs], Thu Jun 14 10:30:55 2018 UTC (5 years, 10 months ago) by uwe
Branch: MAIN
CVS Tags: phil-wifi-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.38: +2 -5
lines
Diff to previous 1.38 (colored)
timespec_to_timespec50 - don't leak kernel memory in struct padding. On 64-bit machines struct timespec50 has padding between 32-bit tv_sec and long tv_nsec that is not affected by normal assignment. Scrub it. The result is most likely about to be passed to the user space by the caller, so do it here to take care of them all.