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)
Sep 26 2024, 12:49 PM
Unknown Object (File)
Sep 24 2024, 2:09 AM
Unknown Object (File)
Sep 23 2024, 11:49 AM
Unknown Object (File)
Sep 22 2024, 5:37 PM
Unknown Object (File)
Sep 22 2024, 11:56 AM
Unknown Object (File)
Sep 22 2024, 1:18 AM
Unknown Object (File)
Sep 14 2024, 6:56 PM
Unknown Object (File)
Sep 9 2024, 2:20 AM
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>