fapolicyd
fapolicyd copied to clipboard
fix handling /proc/mounts escape sequences
Hi, fapolicyd currently doesn't handle octal escape sequences in /proc/mounts.
The unmangle() code is basically what util-linux uses with some checks discarded since we know (or assume, sscanf result isn't checked) we are operating on sufficiently long null-terminated string in-place.
Could you take a look, @stevegrubb?
Hello, I extended and use your function in #232. Thank you for contribution. :)