[<prev] [next>] [day] [month] [year] [list]
Date: Tue, 4 Apr 2017 13:39:02 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: David Howells <dhowells@...hat.com>
Cc: Linux-Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Mat Martineau <mathew.j.martineau@...ux.intel.com>
Subject: linux-next: build failure after merge of the keys tree
Hi David,
After merging the keys tree, today's linux-next build (x86_64
allmodconfig) failed like this:
security/integrity/digsig.c: In function 'integrity_init_keyring':
security/integrity/digsig.c:46:30: error: passing argument 7 of 'keyring_alloc' from incompatible pointer type [-Werror=incompatible-pointer-types]
#define restrict_link_to_ima restrict_link_by_builtin_and_secondary_trusted
^
security/integrity/digsig.c:95:9: note: in expansion of macro 'restrict_link_to_ima'
restrict_link_to_ima, NULL);
^
In file included from include/linux/cred.h:17:0,
from security/integrity/digsig.c:18:
include/linux/key.h:311:20: note: expected 'struct key_restriction *' but argument is of type 'int (*)(struct key *, const struct key_type *, const union key_payload *, struct key *)'
extern struct key *keyring_alloc(const char *description, kuid_t uid, kgid_t gid,
^
Caused by commits
aaf66c883813 ("KEYS: Split role of the keyring pointer for keyring restrict functions")
c5faca6b4a58 ("KEYS: Use structure to capture key restriction function and data")
I have used the version from next-20170403 for today.
--
Cheers,
Stephen Rothwell
Powered by blists - more mailing lists