All of lore.kernel.org
 help / color / mirror / Atom feed
* Question on IOCTL hooks.
@ 2001-08-16  5:57 Ben Greear
  0 siblings, 0 replies; only message in thread
From: Ben Greear @ 2001-08-16  5:57 UTC (permalink / raw)
  To: linux-kernel

Currently, my VLAN code creates a file: /proc/net/vlan/config,
and I have attached an IOCTL hook to that file, such that when
an ioctl call is done on that file, my method is called...

However, davem wants VLAN to be able to function w/out the
/proc fs.  So, I need to know how to ensure my IOCTL
code can be called on any (or some other) file.

Can someone suggest a piece of code or documentation that
I should look at for the 'right way' to do this?

Also, any suggestions as to how to pick an IOCTL that is
guaranteed not to conflict with someone else's IOCTL?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>          <Ben_Greear@excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-16  5:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-16  5:57 Question on IOCTL hooks Ben Greear

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.