Messages in this thread | | | Date | Sat, 16 Dec 2000 00:47:14 +0100 | From | Werner Almesberger <> |
| |
J . A . Magallon wrote: > Easier: public kernel interfaces only work through pointers.
Requires more elaborate wrappers or a new layer of wrapper functions around system calls, if you want to make this completely general. Also, doesn't provide FOOSIZE to "public" space.
> Too kind-of-classroom-not-real-world-useless-thing ?
I'm afraid so ...
I don't think there are many opaque types where there's no trival solution. Actually, I don't think there are many opaque types at kernel APIs to start with. The one I know offhand is atm_kptr_t in include/linux/atmapi.h, in this case, there's little risk in exposing the internal structure.
So I'd consider opaque types more as a hypothetical obstacle.
- Werner
-- _________________________________________________________________________ / Werner Almesberger, ICA, EPFL, CH Werner.Almesberger@epfl.ch / /_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |