tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: New tools proposal: ioctlname and ioctldecode



> We should maintain a contract that all new ioctl operations are
> system wide unique.

That is, unfortunately, unenforceable in the presence of a user base
that writes and shares code.  If I #define IOCNEWTHING _IO('?',7) and
someone else #defines IOCOTHERTHING _IO('?',7), there really isn't any
way to prevent that, nor to prevent them from conflicting when - and
eventually it will happen - someone wants to run a system with both new
thing and other thing.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index