On 8/19/26 20:54, Ryan Lee via AppArmor wrote:
aa_label_strn_parse() returns -ENOENT for every failure, so a caller
cannot tell "no such profile" from "could not allocate a label".

Report an allocation failure as -ENOMEM.

Fixes: f1bd904175e8 ("apparmor: add the base fns() for domain labels")
Signed-off-by: Maxime Bélair<[email protected]>

Acked-by: John Johansen <[email protected]>

I have pulled this into the apparmor tree


Reply via email to