From: Joseph Cheek <joseph@cheek.com>
To: linux-kernel@vger.kernel.org
Subject: procedure for creating new ioctl?
Date: Mon, 10 Jun 2002 11:09:19 -0700 [thread overview]
Message-ID: <3D04EB4F.4030107@cheek.com> (raw)
hi all,
i'd like to create a new ioctl for use in my kernels [actually i already
have 8-)] but want to make sure that i follow any established procedure
for creating it before requesting it be included in the kernel.
specifically, is there a way to ensure the ioctl number i use isn't in
use by anyone else? is there a central registry?
so far i've just picked an arbitrary number:
sanfrancisco:/usr/src/linux-2.4.17/include/linux# diff -Naur kd.h{.orig,}
--- kd.h.orig Mon Jun 10 11:08:22 2002
+++ kd.h Thu Jun 6 16:00:33 2002
@@ -177,4 +177,6 @@
don't reuse for the time being */
/* note: 0x4B60-0x4B6D, 0x4B70-0x4B72 used above */
+#define KDGETKEYDOWNSTATE 0x4B80 /* read kernel keydown bit */
+
#endif /* _LINUX_KD_H */
any tips, pointers appreciated.
joe
--
Joseph Cheek, CTO and Founder, Lycoris
joseph@lycoris.com, www.lycoris.com
Lycoris Desktop/LX: Familiar. Powerful. Open.
+1 425 413-9521 voice, +1 425 671-0504 fax
next reply other threads:[~2002-06-10 18:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-10 18:09 Joseph Cheek [this message]
2002-06-10 18:17 ` Richard B. Johnson
2002-06-10 19:56 ` Andreas Dilger
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=3D04EB4F.4030107@cheek.com \
--to=joseph@cheek.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®