Page MenuHomeFreeBSD

Move kern_extattr_* prototypes to <sys/syscallsubr.h>
ClosedPublic

Authored by jhb on Sep 7 2023, 4:28 AM.
Tags
None
Referenced Files
F138180973: D41766.diff
Sat, Nov 29, 3:37 PM
Unknown Object (File)
Wed, Nov 26, 11:03 AM
Unknown Object (File)
Sat, Nov 22, 2:47 AM
Unknown Object (File)
Sat, Nov 22, 2:47 AM
Unknown Object (File)
Sat, Nov 22, 2:47 AM
Unknown Object (File)
Sat, Nov 22, 2:46 AM
Unknown Object (File)
Sun, Nov 9, 4:17 PM
Unknown Object (File)
Oct 29 2025, 10:46 PM
Subscribers

Details

Summary

All of the kern_* prototypes belong in this header. While here, sort
the prototypes by function name.

Fixes: 6453d4240f6b vfs: Export exattr methods to reuse by Linuxulator
Sponsored by: DARPA

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Sep 7 2023, 4:28 AM

I didn't do this because it doesn't seem anyone but Linuxulator would need these features

This revision is now accepted and ready to land.Sep 8 2023, 2:34 PM

I didn't do this because it doesn't seem anyone but Linuxulator would need these features

In CheriBSD we had kern_extattr_* exported functions already for a COMPAT_FREEBSD64 layer and this didn't conflict as usefully. :) The kern_* we had exported previously though are more like the user_* functions you added though, so the end result is that CheriBSD has both kern_* and user_* of these now exported (kern_* for Linuxulator, user_* for COMPAT_FREEBSD64) with all of the prototypes in <sys/syscallsubr.h>