kernel: enable unionfs and squashfs, this time properly!
--HG-- extra : convert_revision : 7a2a919a751a5895d288ae6b1bc694f10e6530fd
This commit is contained in:
parent
de800de41f
commit
028a4b63f5
7 changed files with 394 additions and 36 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,9 @@
|
||||||
# Template file for 'kernel'
|
# Template file for 'kernel'
|
||||||
pkgname=kernel
|
pkgname=kernel
|
||||||
version=2.6.28.1
|
version=2.6.28.1
|
||||||
|
# Vanilla kernel + UnionFS/SquashFS patches.
|
||||||
|
patch_files="squashfs-3.4.diff.bz2 unionfs-2.5.1_for_2.6.28.1.diff.bz2"
|
||||||
|
patch_args="-p1"
|
||||||
wrksrc="linux-$version"
|
wrksrc="linux-$version"
|
||||||
distfiles="http://www.kernel.org/pub/linux/kernel/v2.6/linux-$version.tar.bz2"
|
distfiles="http://www.kernel.org/pub/linux/kernel/v2.6/linux-$version.tar.bz2"
|
||||||
build_style=gnu_makefile
|
build_style=gnu_makefile
|
||||||
|
|
BIN
templates/squashfs-3.4.diff.bz2
Normal file
BIN
templates/squashfs-3.4.diff.bz2
Normal file
Binary file not shown.
Binary file not shown.
BIN
templates/unionfs-2.5.1_for_2.6.28.1.diff.bz2
Normal file
BIN
templates/unionfs-2.5.1_for_2.6.28.1.diff.bz2
Normal file
Binary file not shown.
|
@ -1,21 +0,0 @@
|
||||||
Taken from: http://lkml.org/lkml/2007/10/21/193
|
|
||||||
|
|
||||||
--- a/security/security.c
|
|
||||||
+++ b/security/security.c
|
|
||||||
@@ -409,6 +409,7 @@ int security_inode_permission(struct inode *inode, int mask, struct nameidata *n
|
|
||||||
return 0;
|
|
||||||
return security_ops->inode_permission(inode, mask, nd);
|
|
||||||
}
|
|
||||||
+EXPORT_SYMBOL(security_inode_permission);
|
|
||||||
|
|
||||||
int security_inode_setattr(struct dentry *dentry, struct iattr *attr)
|
|
||||||
{
|
|
||||||
@@ -518,6 +519,7 @@ int security_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
|
|
||||||
{
|
|
||||||
return security_ops->file_ioctl(file, cmd, arg);
|
|
||||||
}
|
|
||||||
+EXPORT_SYMBOL(security_file_ioctl);
|
|
||||||
|
|
||||||
int security_file_mmap(struct file *file, unsigned long reqprot,
|
|
||||||
unsigned long prot, unsigned long flags,
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue