From: Austin Kim <hidden> Date: 2021-06-29 13:50:58
From: Austin Kim <redacted>
With W=1 build, the compiler throws warning message as below:
security/integrity/ima/ima_mok.c:24:12: warning:
no previous prototype for ‘ima_mok_init’ [-Wmissing-prototypes]
__init int ima_mok_init(void)
Silence the warning by adding static keyword to ima_mok_init().
Signed-off-by: Austin Kim <redacted>
---
security/integrity/ima/ima_mok.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[Cc: Petko Manolov [off-list ref]]
Hi Austin,
On Tue, 2021-06-29 at 14:50 +0100, Austin Kim wrote:
quoted hunk
From: Austin Kim <redacted>
With W=1 build, the compiler throws warning message as below:
security/integrity/ima/ima_mok.c:24:12: warning:
no previous prototype for ‘ima_mok_init’ [-Wmissing-prototypes]
__init int ima_mok_init(void)
Silence the warning by adding static keyword to ima_mok_init().
Signed-off-by: Austin Kim <redacted>
---
security/integrity/ima/ima_mok.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Thank you for the patch, which does fix the warning. The .ima_mok
keyring was removed a while ago. With all the recent work on the
system blacklist, I'm wondering if anyone is still using the IMA
blacklist keyring or whether it should be removed as well.
thanks,
Mimi
From: Austin Kim <hidden> Date: 2021-06-29 22:41:06
2021년 6월 29일 (화) 오후 11:30, Mimi Zohar [off-list ref]님이 작성:
[Cc: Petko Manolov [off-list ref]]
Hi Austin,
On Tue, 2021-06-29 at 14:50 +0100, Austin Kim wrote:
quoted
From: Austin Kim <redacted>
With W=1 build, the compiler throws warning message as below:
security/integrity/ima/ima_mok.c:24:12: warning:
no previous prototype for ‘ima_mok_init’ [-Wmissing-prototypes]
__init int ima_mok_init(void)
Silence the warning by adding static keyword to ima_mok_init().
Signed-off-by: Austin Kim <redacted>
---
security/integrity/ima/ima_mok.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Thank you for the patch, which does fix the warning. The .ima_mok
keyring was removed a while ago. With all the recent work on the
system blacklist, I'm wondering if anyone is still using the IMA
blacklist keyring or whether it should be removed as well.