Comment 1 for bug 1310598

Revision history for this message
Seth Arnold (seth-arnold) wrote : Re: AppArmaor fails to parse mounts with UTF-8 non-ascii characters

I'm afraid this will take more significant modifications than simply reading in utf-8 -- users in Russia or China or Japan may have mountpoints named using KOI-8, Big-5, Shift-JIS, etc., that can't be parsed as utf-8.

I suspect we'll need to read in the mounts as an array of bytes, split based on newlines, and search for the bytes that make up "securityfs" and "apparmor".

Thanks