* linux-next: build failure after merge of the apparmor tree
@ 2019-02-08 7:33 Stephen Rothwell
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2019-02-08 7:33 UTC (permalink / raw)
To: John Johansen
Cc: Linux Next Mailing List, Linux Kernel Mailing List, Chris Coulson
[-- Attachment #1: Type: text/plain, Size: 560 bytes --]
Hi all,
After merging the apparmor tree, today's linux-next build (powerpc
allyesconfig) failed like this:
security/apparmor/policy_unpack.c: In function 'deflate_compress':
security/apparmor/policy_unpack.c:1064:4: error: implicit declaration of function 'vfree'; did you mean 'kfree'? [-Werror=implicit-function-declaration]
vfree(stgbuf);
^~~~~
kfree
Caused by commit
876dd866c084 ("apparmor: Initial implementation of raw policy blob compression")
I have reverted that commit for today.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: build failure after merge of the apparmor tree
2022-07-12 3:23 Stephen Rothwell
@ 2022-07-12 4:27 ` John Johansen
0 siblings, 0 replies; 3+ messages in thread
From: John Johansen @ 2022-07-12 4:27 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
On 7/11/22 20:23, Stephen Rothwell wrote:
> Hi all,
>
> After merging the apparmor tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> In file included from security/apparmor/include/policy.h:29,
> from security/apparmor/include/policy_ns.h:19,
> from security/apparmor/include/cred.h:19,
> from security/apparmor/net.c:13:
> security/apparmor/net.c: In function 'aa_label_sk_perm':
> security/apparmor/net.c:148:40: error: 'sock' undeclared (first use in this function)
> 148 | struct aa_sk_ctx *ctx = SK_CTX(sock->sk);
> | ^~~~
> security/apparmor/include/net.h:54:21: note: in definition of macro 'SK_CTX'
> 54 | #define SK_CTX(X) ((X)->sk_security)
> | ^
> security/apparmor/net.c:148:40: note: each undeclared identifier is reported only once for each function it appears in
> 148 | struct aa_sk_ctx *ctx = SK_CTX(sock->sk);
> | ^~~~
> security/apparmor/include/net.h:54:21: note: in definition of macro 'SK_CTX'
> 54 | #define SK_CTX(X) ((X)->sk_security)
> | ^
>
> Caused by commit
>
> 6ff81169592d ("apparmor: add a kernel label to use on kernel objects")
>
> I have used the apparmor tree from next-20220711 for today.
>
sorry, the offending patch has been dropped
^ permalink raw reply [flat|nested] 3+ messages in thread
* linux-next: build failure after merge of the apparmor tree
@ 2022-07-12 3:23 Stephen Rothwell
2022-07-12 4:27 ` John Johansen
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2022-07-12 3:23 UTC (permalink / raw)
To: John Johansen; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1343 bytes --]
Hi all,
After merging the apparmor tree, today's linux-next build (x86_64
allmodconfig) failed like this:
In file included from security/apparmor/include/policy.h:29,
from security/apparmor/include/policy_ns.h:19,
from security/apparmor/include/cred.h:19,
from security/apparmor/net.c:13:
security/apparmor/net.c: In function 'aa_label_sk_perm':
security/apparmor/net.c:148:40: error: 'sock' undeclared (first use in this function)
148 | struct aa_sk_ctx *ctx = SK_CTX(sock->sk);
| ^~~~
security/apparmor/include/net.h:54:21: note: in definition of macro 'SK_CTX'
54 | #define SK_CTX(X) ((X)->sk_security)
| ^
security/apparmor/net.c:148:40: note: each undeclared identifier is reported only once for each function it appears in
148 | struct aa_sk_ctx *ctx = SK_CTX(sock->sk);
| ^~~~
security/apparmor/include/net.h:54:21: note: in definition of macro 'SK_CTX'
54 | #define SK_CTX(X) ((X)->sk_security)
| ^
Caused by commit
6ff81169592d ("apparmor: add a kernel label to use on kernel objects")
I have used the apparmor tree from next-20220711 for today.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-12 4:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-08 7:33 linux-next: build failure after merge of the apparmor tree Stephen Rothwell
2022-07-12 3:23 Stephen Rothwell
2022-07-12 4:27 ` John Johansen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).