All the values that go through these syscalls seem to be
opaque and filesystem specific. Therefore can I ask the filesystems
that use these things use fixed sized types such as "u32" "u16" et al.
instead of things such as "long" or "int"?
The reason I ask is, unless strict sized types are used it is going
to be a real pain in the ass to translate the types passed to these
system calls in mixed 32-bit/64-bit environments. This is thus going
to be a mess on sparc64, ppc64, mips64, ia64, and probably others I
have forgotten :-)
If strict sized types are used for the attributes, then no
translations will need to occur at all.
|