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)
Fri, Apr 26, 6:52 PM
Unknown Object (File)
Fri, Apr 26, 6:51 PM
Unknown Object (File)
Fri, Apr 26, 6:51 PM
Unknown Object (File)
Fri, Apr 26, 2:50 PM
Unknown Object (File)
Apr 8 2024, 2:05 PM
Unknown Object (File)
Mar 25 2024, 10:33 PM
Unknown Object (File)
Feb 14 2024, 11:03 PM
Unknown Object (File)
Dec 20 2023, 8:08 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>