Kernel/userspace interfaces (was: Switching from IOCTLs to a RAMFS)

From: Brad Hards (bhards@bigpond.net.au)
Date: Mon Oct 28 2002 - 02:48:17 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 28 Oct 2002 11:18, Jeff Garzik wrote:
<stuff about posix_devctl() snipped>
> I sent a comment in to the only email address I could find describing
> the issues (politely!), but as a mere peon I doubt it will have much
> effect. The best we can do is ignore this POSIX junk and hope it goes
> away...
I'd like something more positive than "hope it goes away"... :-)

This allows me to do my irregular "does anyone care about the kernel ABI / API
definition?" song'n'dance.

Currently we use standard unix semantics - char devices, block devices,
sockets, etc. However there is no definition for what that interface actually
does. We have (most of ?) SUSv3, but there are a lot of other things we're
doing. Some (many?) of the features aren't getting used because:
1. Not known by userspace programmers.
2. Non-standard semantics and no tutorial / example material.
3. Random changes to features and lack of versioning.

We also have serious problems with management of header files. "Use the
headers that came with your glibc" misses ioctl() definitions, which are
inherently kernel interfaces, not glibc interfaces.

I'll again offer to moderate a BoF, at LCA (http://www.linux.conf.au) in
Perth. I don't have anything like the answers, so its only worth doing if
someone with a clue is interested. LCA BoFs don't have much time or many
slots, so if there's a decent amount of interest, it might be worth doing on
the Tuesday (say for a couple of hours, in the vacant third mini-conf slot).

Does anyone care?

Brad
- --
http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9vOvBW6pHgIdAuOMRAtmAAKCCb1eWxksZpiVNPjFYERC+79sWSwCgv4a5
RbtwYjH9COJbhKwqBw22hyI=
=HW49
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:35 EST