* [PATCH -next 2/2] apparmor: Modify mismatched function name
@ 2025-01-21 2:44 Jiapeng Chong
2025-01-21 2:44 ` [PATCH -next 1/2] " Jiapeng Chong
2025-01-24 22:05 ` [PATCH -next 2/2] " John Johansen
0 siblings, 2 replies; 4+ messages in thread
From: Jiapeng Chong @ 2025-01-21 2:44 UTC (permalink / raw)
To: john.johansen
Cc: paul, jmorris, serge, apparmor, linux-security-module,
linux-kernel, Jiapeng Chong, Abaci Robot
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: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=13606
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
security/apparmor/lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/apparmor/lib.c b/security/apparmor/lib.c
index dd5dcbe5daf7..325f26f39a63 100644
--- a/security/apparmor/lib.c
+++ b/security/apparmor/lib.c
@@ -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
--
2.32.0.3.g01195cf9f
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH -next 1/2] apparmor: Modify mismatched function name
2025-01-21 2:44 [PATCH -next 2/2] apparmor: Modify mismatched function name Jiapeng Chong
@ 2025-01-21 2:44 ` Jiapeng Chong
2025-01-24 22:03 ` John Johansen
2025-01-24 22:05 ` [PATCH -next 2/2] " John Johansen
1 sibling, 1 reply; 4+ messages in thread
From: Jiapeng Chong @ 2025-01-21 2:44 UTC (permalink / raw)
To: john.johansen
Cc: paul, jmorris, serge, apparmor, linux-security-module,
linux-kernel, Jiapeng Chong, Abaci Robot
No functional modification involved.
security/apparmor/file.c:184: warning: expecting prototype for aa_lookup_fperms(). Prototype was for aa_lookup_condperms() instead.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=13605
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
security/apparmor/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/apparmor/file.c b/security/apparmor/file.c
index 85f89814af1e..f113eedbc208 100644
--- a/security/apparmor/file.c
+++ b/security/apparmor/file.c
@@ -169,7 +169,7 @@ static int path_name(const char *op, const struct cred *subj_cred,
struct aa_perms default_perms = {};
/**
- * aa_lookup_fperms - convert dfa compressed perms to internal perms
+ * aa_lookup_condperms - convert dfa compressed perms to internal perms
* @subj_uid: uid to use for subject owner test
* @rules: the aa_policydb to lookup perms for (NOT NULL)
* @state: state in dfa
--
2.32.0.3.g01195cf9f
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH -next 1/2] apparmor: Modify mismatched function name
2025-01-21 2:44 ` [PATCH -next 1/2] " Jiapeng Chong
@ 2025-01-24 22:03 ` John Johansen
0 siblings, 0 replies; 4+ messages in thread
From: John Johansen @ 2025-01-24 22:03 UTC (permalink / raw)
To: Jiapeng Chong
Cc: paul, jmorris, serge, apparmor, linux-security-module,
linux-kernel, Abaci Robot
On 1/20/25 18:44, Jiapeng Chong wrote:
> No functional modification involved.
>
> security/apparmor/file.c:184: warning: expecting prototype for aa_lookup_fperms(). Prototype was for aa_lookup_condperms() instead.
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=13605
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Acked-by: John Johansen <john.johansen@canonical.com>
I have pulled this into my tree
> ---
> security/apparmor/file.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/security/apparmor/file.c b/security/apparmor/file.c
> index 85f89814af1e..f113eedbc208 100644
> --- a/security/apparmor/file.c
> +++ b/security/apparmor/file.c
> @@ -169,7 +169,7 @@ static int path_name(const char *op, const struct cred *subj_cred,
>
> struct aa_perms default_perms = {};
> /**
> - * aa_lookup_fperms - convert dfa compressed perms to internal perms
> + * aa_lookup_condperms - convert dfa compressed perms to internal perms
> * @subj_uid: uid to use for subject owner test
> * @rules: the aa_policydb to lookup perms for (NOT NULL)
> * @state: state in dfa
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH -next 2/2] apparmor: Modify mismatched function name
2025-01-21 2:44 [PATCH -next 2/2] apparmor: Modify mismatched function name Jiapeng Chong
2025-01-21 2:44 ` [PATCH -next 1/2] " Jiapeng Chong
@ 2025-01-24 22:05 ` John Johansen
1 sibling, 0 replies; 4+ messages in thread
From: John Johansen @ 2025-01-24 22:05 UTC (permalink / raw)
To: Jiapeng Chong
Cc: paul, jmorris, serge, apparmor, linux-security-module,
linux-kernel, Abaci Robot
On 1/20/25 18:44, Jiapeng Chong wrote:
> 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: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=13606
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Acked-by: John Johansen <john.johansen@canonical.com>
I have pulled this into my tree
> ---
> security/apparmor/lib.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/security/apparmor/lib.c b/security/apparmor/lib.c
> index dd5dcbe5daf7..325f26f39a63 100644
> --- a/security/apparmor/lib.c
> +++ b/security/apparmor/lib.c
> @@ -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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-01-24 22:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-21 2:44 [PATCH -next 2/2] apparmor: Modify mismatched function name Jiapeng Chong
2025-01-21 2:44 ` [PATCH -next 1/2] " Jiapeng Chong
2025-01-24 22:03 ` John Johansen
2025-01-24 22:05 ` [PATCH -next 2/2] " John Johansen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®