From: Jamie Lokier <jamie@shareable.org>
To: Laurent Pinchart <laurentp@cse-semaphore.com>
Cc: linux-mtd@lists.infradead.org, dedekind@infradead.org,
v4l-dvb-maintainer@linuxtv.org,
LKML <linux-kernel@vger.kernel.org>,
arnd@arndb.de
Subject: Re: UBI/DVB ioctl conflict?
Date: Mon, 8 Dec 2008 13:31:06 +0000 [thread overview]
Message-ID: <20081208133106.GA16354@shareable.org> (raw)
In-Reply-To: <200812081041.14178.laurentp@cse-semaphore.com>
Laurent Pinchart wrote:
> Correct me if I'm wrong, but doesn't this only matters for devices
> that would implement both the UBI and DVB API on the same inode ?
> That would be quite unlikely.
Overlapping ioctls prevent strace(1) from showing ioctls properly.
For example, here's something you see often in strace of programs
using stdio, when it calls isatty():
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfaaa864) = -1 ENOTTY (Inappropriate ioctl for device)
Or if it is a terminal:
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {c_iflags=0x6d02, c_oflags=0x5, c_cflags=0x4bf, c_lflags=0x8a3b, c_line=0, c_cc="\x03\x1c\x7f\x15\x04\x00\x01\xff\x11\x13\x1a\xff\x12\x0f\x17\x16\xff\x00\x00"}) = 0
-- Jamie
prev parent reply other threads:[~2008-12-08 13:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20081207095811.13b51cca@zod.rchland.ibm.com>
2008-12-08 6:20 ` UBI/DVB ioctl conflict? Artem Bityutskiy
2008-12-08 9:41 ` Laurent Pinchart
2008-12-08 9:51 ` Artem Bityutskiy
2008-12-08 15:50 ` Arnd Bergmann
2008-12-08 16:33 ` Artem Bityutskiy
2008-12-08 20:30 ` Arnd Bergmann
2008-12-08 13:31 ` Jamie Lokier [this message]
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=20081208133106.GA16354@shareable.org \
--to=jamie@shareable.org \
--cc=arnd@arndb.de \
--cc=dedekind@infradead.org \
--cc=laurentp@cse-semaphore.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=v4l-dvb-maintainer@linuxtv.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