security_inode_permission
2009年10月 3日(土) 01:22 JST
閲覧数 4,084
Vine 5.0でカーネル(kernel-2.6.27-43vl5)再構築をしていると。嫌な事にビルドエラー。
Building modules, stage 2. ERROR: "security_inode_permission" [fs/unionfs/unionfs.ko] undefined! WARNING: modpost: Found 7 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' make[1]: *** [__modpost] エラー 1 make: *** [modules] エラー 2 + exit 1 エラー: /var/tmp/rpm-tmp.52262 の不正な終了ステータス (%build)既知のバグで、以下箇所修正で問題なし。
Smackを試そうとして、このバグに引っかかりましたがSELinuxでも引っかかるのかしらん。
*** linux-2.6.27/security/security.c 2009-09-27 02:26:22.000000000 +0900
--- linux-2.6.27p/security/security.c 2009-09-27 00:52:27.000000000 +0900
***************
*** 436,441 ****
--- 436,442 ----
return 0;
return security_ops->inode_permission(inode, mask);
}
+ EXPORT_SYMBOL_GPL(security_inode_permission);
int security_inode_setattr(struct dentry *dentry, struct iattr *attr)
{
何度か試してる間に、mkkpkgでのカーネルパッケージ化もこなれてきました。Vine 5.0のKernelはSELinux無効、Xen無効と全体としてシンプルなオプション構成なので、カーネルカスタマイズにはやり易い環境なので気に入ってます。


