security context character set
Hi,
I was wondering if there was a guarantee that security contexts would be valid UTF-8 (or more strictly ASCII). This came up because I wrote a patch for D-BUS which sends contexts over the network; right now they are marshaled as DBUS_TYPE_STRING which is defined to be UTF-8.
http://lists.freedesktop.org/archives/dbus/2005-July/003037.html
I'm pretty sure they have to be because all the tools just dump them to the user's terminal (which expects UTF-8), and tools like seaudit use them in GTK+ which requires UTF-8 strings. But I just thought I'd check here.