apparmor.c: drop newline when reading current profile
Otherwise we fail to recognize if we are already unconfined. Then,
if we want to *start* unconfined, and /proc is readonly, start fails
even though it should be able to proceed.
With this patch, that situation works.
Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com>
Reported-by:
Andre nathan <andre@digirati.com.br>
Showing
Please
register
or
sign in
to comment