All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guillaume Thouvenin <guillaume.thouvenin@bull.net>
To: Andi Kleen <ak@suse.de>
Cc: lkml <linux-kernel@vger.kernel.org>,
	elsa-announce <elsa-announce@lists.sourceforge.net>,
	elsa-devel@frec.bull.fr
Subject: Re: [Lse-tech] [RFC] fork historic module
Date: Mon, 20 Dec 2004 08:28:45 +0100	[thread overview]
Message-ID: <1103527725.23891.15.camel@frecb000711.frec.bull.fr> (raw)
In-Reply-To: <20041217151115.GD14229@wotan.suse.de>

On Fri, 2004-12-17 at 16:11 +0100, Andi Kleen wrote:
> > +/* IOCTL numbers */
> > +/* If you add a new IOCTL number don't forget to update FH_MAXNR */
> > +#define FH_MAGIC	0x35
> > +#define FH_REGISTER	_IO(FH_MAGIC,0)
> > +#define FH_UNREGISTER	_IO(FH_MAGIC,1)
> 
> Is this really unique? 32bit emulation currently needs unique ioctl numbers.

I read the Documentation/ioctl-number.txt file and 0x35 is not mentioned
in this file. But I made a grep on 'MAGIC' and '35' in the Linux source
tree and you're right, this number is already used by POR_MAGIC_2. 

Is a grep in the Linux source tree is enough to know if the value is
unique?

Thanks,
Guillaume  


  reply	other threads:[~2004-12-20  8:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-17 14:58 [RFC] fork historic module Guillaume Thouvenin
2004-12-17 15:11 ` [Lse-tech] " Andi Kleen
2004-12-20  7:28   ` Guillaume Thouvenin [this message]
2004-12-17 15:24 ` David Vrabel
2004-12-17 17:06   ` Randy.Dunlap
2004-12-17 17:39 ` [Lse-tech] " Erich Focht
2004-12-17 16:52 Manfred Spraul
2004-12-17 16:59 ` Andi Kleen

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=1103527725.23891.15.camel@frecb000711.frec.bull.fr \
    --to=guillaume.thouvenin@bull.net \
    --cc=ak@suse.de \
    --cc=elsa-announce@lists.sourceforge.net \
    --cc=elsa-devel@frec.bull.fr \
    --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.