diff options
| author | 2026-08-19 10:00:19 +0100 | |
|---|---|---|
| committer | 2026-10-29 08:28:03 -0700 | |
| commit | 07aee062c6ecaa7199be583c83a1c74ae9885f03 (patch) | |
| tree | c072d5ca11399be3988baf6216f5509c84ce21b3 /scripts/Makefile.thinlto | |
| parent | apparmor: fix a leak on a rejected string table entry (diff) | |
apparmor: report a label allocation failure as -ENOMEM
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 <maxime.belair@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
