From: Ben Greear <greearb@candelatech.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Question on IOCTL hooks.
Date: Wed, 15 Aug 2001 22:57:59 -0700 [thread overview]
Message-ID: <3B7B60E7.E5ACB4A7@candelatech.com> (raw)
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
reply other threads:[~2001-08-16 5:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B7B60E7.E5ACB4A7@candelatech.com \
--to=greearb@candelatech.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.