Add kern_truncate() and use it instead of sys_truncate() in compat_freebsd32.
Details
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I have some doubts about 'add kern_truncate()' part of the message, since kern_truncate() already exists. The patch itself looks fine.
Be sure to use tabs instead of 8 spaces. (I forget whether phabricator actually shows tabs distinctly from spaces.)