Up to [cvs.NetBSD.org] / src / sys / miscfs / kernfs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: peter-altq
Revision 1.118.2.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:43 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.118: +14 -14
lines
Diff to previous 1.118 (unified) next main 1.119 (unified)
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.118 / (download) - annotate - [select for diffs], Tue Mar 14 20:47:52 2006 UTC (18 years ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base3,
peter-altq-base
Branch point for: peter-altq
Changes since 1.117: +23 -3
lines
Diff to previous 1.117 (unified)
Allow optionnal /kern regular files to have custom read methods, the same way writes are handled: Add KERNFS_XREAD and KERNFS_FILEOP_WRITE files operations definitions to kfsfileop, a xread function pointer to kernfs_fileop, rename kernfs_read to kernfs_default_xread and add a kernfs_read calling kernfs_try_fileop(KERNFS_FILEOP_READ). Proposed on tech-kern on Feb 18 2006.