Is ASCII the expected udev character encoding?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux