Commit 04fe4310 authored by Jiapeng Chong's avatar Jiapeng Chong Committed by John Johansen
Browse files

apparmor: Modify mismatched function name



No functional modification involved.

security/apparmor/lib.c:93: warning: expecting prototype for aa_mask_to_str(). Prototype was for val_mask_to_str() instead.

Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=13606


Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent aa904fa1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ int aa_parse_debug_params(const char *str)
}

/**
 * aa_mask_to_str - convert a perm mask to its short string
 * val_mask_to_str - convert a perm mask to its short string
 * @str: character buffer to store string in (at least 10 characters)
 * @str_size: size of the @str buffer
 * @chrs: NUL-terminated character buffer of permission characters