From: James Hunt <james.hunt@ubuntu.com>
To: linux-hotplug@vger.kernel.org
Subject: Is ASCII the expected udev character encoding?
Date: Fri, 30 Sep 2011 08:30:21 +0000 [thread overview]
Message-ID: <4E857E1D.8000406@ubuntu.com> (raw)
Hi All,
Working on the Ubuntu bug below where a battery unit is exposing non-printable characters via udev
made me wonder: is the expected character encoding for all udev messages ASCII? Or is the
expectation that the kernel simply acts as a pass-through (such that it is the responsibility of
userspace to determine the exact meaning of such messages)? If ASCII is expected, should this be
made manifest somewhere?
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/829980
I'm happy to provide a kernel patch for the bug above, but need to understand whether the kernel
should be sanitizing udev message content, or leaving that up to userspace.
Kind regards,
James.
next reply other threads:[~2011-09-30 8:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-30 8:30 James Hunt [this message]
2011-09-30 9:45 ` Is ASCII the expected udev character encoding? Kay Sievers
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=4E857E1D.8000406@ubuntu.com \
--to=james.hunt@ubuntu.com \
--cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).