The issue is still not fixed with the patch. While there's no more garbage in the buffer that stores the apparmor profile read from /proc, that data is still terminated by a "\n", (ie., the profile is returned as, eg. "unconfined\n" instead of "unconfined"). This causes comparisons with the "unconfined" string further in the code to fail.
Hi
The issue is still not fixed with the patch. While there's no more garbage in the buffer that stores the apparmor profile read from /proc, that data is still terminated by a "\n", (ie., the profile is returned as, eg. "unconfined\n" instead of "unconfined"). This causes comparisons with the "unconfined" string further in the code to fail.