diff options
| author | Maxime Bélair <maxime.belair@canonical.com> | 2026-08-19 10:00:19 +0100 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2026-10-29 08:28:03 -0700 |
| commit | 07aee062c6ecaa7199be583c83a1c74ae9885f03 (patch) | |
| tree | c072d5ca11399be3988baf6216f5509c84ce21b3 /scripts/Makefile.thinlto | |
| parent | f7bd6285ffeb425793334f6d48ccb5035cab2fa7 (diff) | |
| download | linux-07aee062c6ecaa7199be583c83a1c74ae9885f03.tar.gz linux-07aee062c6ecaa7199be583c83a1c74ae9885f03.zip | |
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
