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
Unknown Object (File)
Tue, Oct 14, 9:25 AM
Unknown Object (File)
Tue, Oct 14, 9:25 AM
Unknown Object (File)
Tue, Oct 14, 9:25 AM
Unknown Object (File)
Mon, Oct 13, 7:25 PM
Unknown Object (File)
Sun, Oct 12, 3:56 AM
Unknown Object (File)
Fri, Oct 3, 1:46 PM
Unknown Object (File)
Sep 12 2025, 9:07 PM
Unknown Object (File)
Sep 9 2025, 8:16 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>