while fixing rollovers and implementing a new mount_cd9660 option -s,
i stumble over the content of public include directory
/usr/include/isofs/cd9660
which exposes all header files from the kernel source of cd9660:
cd9660_extern.h cd9660_rrip.h iso_rrip.h
cd9660_mount.h cd9660_node.h iso.h
It's probably a historical accident that so much is installed. I would
not conclude from installation that they are meant to be a public API
with any compat guarantees.
In a lot of headers, there is "#ifdef _KERNEL" to keep kernel-private
bits from being accessed by userland.
Likely all of this could be improved.
Attachment:
pgpjjSBDN4Ey6.pgp
Description: PGP signature