** Changed in: linux (Ubuntu Jammy)
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2041842
Title:
Kernel doesn't compile with CONFIG_IMA
Status in linux package in Ubuntu:
Invalid
Status in linux source package in Jammy:
Fix Committed
Bug description:
Because of typo error in function declaration kernel doesn't compile
with specific configuration
Steps to reproduce:
make defconfig
./scripts/config --file .config \
-d SECURITY_SELINUX \
-e IMA
make olddefconfig
grep -E "CONFIG_IMA=|CONFIG_IMA_LSM_RULES" .config
make bzImage
Grep should return "CONFIG_IMA=y" but not "CONFIG_IMA_LSM_RULES=y"
Error:
In file included from security/integrity/ima/ima_fs.c:25:
security/integrity/ima/ima.h:440:41: error: unknown type name 'strcut'; did
you mean 'struct'?
440 | static inline int ima_filter_rule_match(strcut lsmblob *blob, u32
field, u32 op,
| ^~~~~~
| struct
make[3]: *** [scripts/Makefile.build:297: security/integrity/ima/ima_fs.o]
Error 1
make[2]: *** [scripts/Makefile.build:560: security/integrity/ima] Error 2
make[1]: *** [scripts/Makefile.build:560: security/integrity] Error 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2041842/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp