Porteus Kernel Builder
Posted: 10 Dec 2019, 18:15
Hi neko,
Please to add zram with zstd compression.
Thanks.
Please to add zram with zstd compression.
Thanks.
Code: Select all
$ grep CONFIG_ZRAM /usr/local/share/mkKernel/lib/v*/*.config
/usr/local/share/mkKernel/lib/v3.16/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v3.16/32bit.config:CONFIG_ZRAM_LZ4_COMPRESS=y
/usr/local/share/mkKernel/lib/v3.16/32bit.config:# CONFIG_ZRAM_DEBUG is not set
/usr/local/share/mkKernel/lib/v3.16/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v3.16/64bit.config:CONFIG_ZRAM_LZ4_COMPRESS=y
/usr/local/share/mkKernel/lib/v3.16/64bit.config:# CONFIG_ZRAM_DEBUG is not set
/usr/local/share/mkKernel/lib/v3.18/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v3.18/32bit.config:CONFIG_ZRAM_LZ4_COMPRESS=y
/usr/local/share/mkKernel/lib/v3.18/32bit.config:# CONFIG_ZRAM_DEBUG is not set
/usr/local/share/mkKernel/lib/v3.18/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v3.18/64bit.config:CONFIG_ZRAM_LZ4_COMPRESS=y
/usr/local/share/mkKernel/lib/v3.18/64bit.config:# CONFIG_ZRAM_DEBUG is not set
/usr/local/share/mkKernel/lib/v3.2/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v3.2/32bit.config:CONFIG_ZRAM_LZ4_COMPRESS=y
/usr/local/share/mkKernel/lib/v3.2/32bit.config:# CONFIG_ZRAM_DEBUG is not set
/usr/local/share/mkKernel/lib/v3.2/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v3.2/64bit.config:CONFIG_ZRAM_LZ4_COMPRESS=y
/usr/local/share/mkKernel/lib/v3.2/64bit.config:# CONFIG_ZRAM_DEBUG is not set
/usr/local/share/mkKernel/lib/v4.1/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.1/32bit.config:CONFIG_ZRAM_LZ4_COMPRESS=y
/usr/local/share/mkKernel/lib/v4.1/32bit.config:# CONFIG_ZRAM_DEBUG is not set
/usr/local/share/mkKernel/lib/v4.1/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.1/64bit.config:CONFIG_ZRAM_LZ4_COMPRESS=y
/usr/local/share/mkKernel/lib/v4.1/64bit.config:# CONFIG_ZRAM_DEBUG is not set
/usr/local/share/mkKernel/lib/v4.10/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.10/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.11/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.11/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.12/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.12/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.13/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.13/32bit.ov.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.13/32bit.v4.13-rc6.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.13/32bit.v4.13.2.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.13/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.13/64bit.ov.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.13/64bit.v4.13-rc6.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.13/64bit.v4.13.2.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.14/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.14/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.14/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.14/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.15/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.15/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.15/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.15/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16-rc/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16-rc/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16-rc/32bit.org-18.05.13.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16-rc/32bit.org-18.05.13.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16-rc/32bit.org-18.05.13.i586.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16-rc/32bit.org-18.05.13.i586.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16-rc/32bit.org.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16-rc/32bit.org.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16-rc/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16-rc/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16-rc/64bit.org-18.05.13.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16-rc/64bit.org-18.05.13.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16-rc/64bit.org.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16-rc/64bit.org.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16/32bit.org-18.05.13.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16/32bit.org-18.05.13.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16/32bit.org-18.05.13.i586.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16/32bit.org-18.05.13.i586.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16/32bit.org.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16/32bit.org.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16/64bit.org-18.05.13.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16/64bit.org-18.05.13.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.16/64bit.org.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.16/64bit.org.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.17/32bit.NVIDIA.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.17/32bit.NVIDIA.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.17/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.17/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.17/32bit.old.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.17/32bit.old.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.17/64bit.NVIDIA.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.17/64bit.NVIDIA.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.17/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.17/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.17/64bit.old.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.17/64bit.old.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.18-rc/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.18-rc/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.18-rc/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v4.18-rc/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.18-rc/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.18-rc/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v4.18/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.18/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.18/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v4.18/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.18/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.18/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v4.19/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.19/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.19/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v4.19/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.19/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.19/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v4.20/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.20/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.20/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v4.20/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.20/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v4.20/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v4.4/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.4/32bit.config:# CONFIG_ZRAM_LZ4_COMPRESS is not set
/usr/local/share/mkKernel/lib/v4.4/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.4/64bit.config:# CONFIG_ZRAM_LZ4_COMPRESS is not set
/usr/local/share/mkKernel/lib/v4.7/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.7/32bit.config:CONFIG_ZRAM_LZ4_COMPRESS=y
/usr/local/share/mkKernel/lib/v4.7/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.7/64bit.config:CONFIG_ZRAM_LZ4_COMPRESS=y
/usr/local/share/mkKernel/lib/v4.8/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.8/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.9/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.9/4.9.0-64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.9/4.9.77-32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.9/4.9.80-64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v4.9/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.0-rc/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.0-rc/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.0-rc/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.0-rc/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.0-rc/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.0-rc/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.0/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.0/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.0/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.0/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.0/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.0/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.1-rc/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.1-rc/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.1-rc/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.1-rc/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.1-rc/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.1-rc/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.1/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.1/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.1/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.1/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.1/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.1/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.2-rc/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.2-rc/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.2-rc/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.2-rc/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.2-rc/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.2-rc/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.2/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.2/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.2/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.2/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.2/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.2/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.3-rc/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.3-rc/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.3-rc/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.3-rc/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.3-rc/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.3-rc/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.3/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.3/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.3/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.3/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.3/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.3/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.4-rc/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.4-rc/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.4-rc/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.4-rc/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.4-rc/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.4-rc/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.4/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.4/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.4/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.4/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.4/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.4/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.5-rc/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.5-rc/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.5-rc/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.5-rc/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.5-rc/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.5-rc/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.5/32bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.5/32bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.5/32bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
/usr/local/share/mkKernel/lib/v5.5/64bit.config:CONFIG_ZRAM=m
/usr/local/share/mkKernel/lib/v5.5/64bit.config:# CONFIG_ZRAM_WRITEBACK is not set
/usr/local/share/mkKernel/lib/v5.5/64bit.config:# CONFIG_ZRAM_MEMORY_TRACKING is not set
$
Code: Select all
% su
# cd /work/v5.5-rc1/64/linux-5.5-rc1
# cp -r ../../auf/aufs5-standalone.git/fs ./
# cp -r ../../auf/aufs5-standalone.git/Documentation ./
# cp ../../auf/aufs5-standalone.git/include/uapi/linux/aufs_type.h ./include/uapi/linux
# cat ../../auf/aufs5-standalone.git/aufs5-base.patch | patch -p1
# cat ../../auf/aufs5-standalone.git/aufs5-mmap.patch | patch -p1
# cat ../../auf/aufs5-standalone.git/aufs5-loopback.patch | patch -p1
Code: Select all
% diff old/linux-5.5-rc1/fs/Kconfig linux-5.5-rc1/fs/Kconfig
266a267
> source "fs/aufs/Kconfig"
%
% diff old/linux-5.5-rc1/fs/Makefile linux-5.5-rc1/fs/Makefile
135a136
> obj-$(CONFIG_AUFS_FS) += aufs/
%
% diff auf/aufs5-standalone.git/fs/aufs/i_op.c linux-5.5-rc1/fs/aufs/i_op.c
659c659
< rwsem_release(&p->hdir->hi_inode->i_rwsem.dep_map, 1, _RET_IP_);
---
> rwsem_release(&p->hdir->hi_inode->i_rwsem.dep_map, _RET_IP_);
%
% diff auf/aufs5-standalone.git/fs/aufs/wkq.c linux-5.5-rc1/fs/aufs/wkq.c
208c208
< rwsem_release(p->instance, 0, /*p->acquire_ip*/_RET_IP_);
---
> rwsem_release(p->instance, /*p->acquire_ip*/_RET_IP_);
%
Code: Select all
$ grep CONFIG_CRYPTO_ZSTD v*/*/linux*/.config
v4.19.89/32/linux-4.19.89/.config:CONFIG_CRYPTO_ZSTD=m
v4.19.89/64/linux-4.19.89/.config:CONFIG_CRYPTO_ZSTD=m
v5.3.16/32/linux-5.3.16/.config:CONFIG_CRYPTO_ZSTD=m
v5.3.16/64/linux-5.3.16/.config:CONFIG_CRYPTO_ZSTD=m
v5.4.3/32/linux-5.4.3/.config:CONFIG_CRYPTO_ZSTD=m
v5.4.3/64/linux-5.4.3/.config:CONFIG_CRYPTO_ZSTD=m
v5.5-rc1/32/linux-5.5-rc1/.config:CONFIG_CRYPTO_ZSTD=m
v5.5-rc1/64/linux-5.5-rc1/.config:CONFIG_CRYPTO_ZSTD=m
$
Code: Select all
# patch -p1 < ../../aufs.patch
patching file Documentation/ABI/testing/debugfs-aufs
patching file Documentation/ABI/testing/sysfs-aufs
patching file Documentation/filesystems/aufs/README
patching file Documentation/filesystems/aufs/design/01intro.txt
patching file Documentation/filesystems/aufs/design/02struct.txt
patching file Documentation/filesystems/aufs/design/03atomic_open.txt
patching file Documentation/filesystems/aufs/design/03lookup.txt
patching file Documentation/filesystems/aufs/design/04branch.txt
patching file Documentation/filesystems/aufs/design/05wbr_policy.txt
patching file Documentation/filesystems/aufs/design/06dirren.dot
patching file Documentation/filesystems/aufs/design/06dirren.txt
patching file Documentation/filesystems/aufs/design/06fhsm.txt
patching file Documentation/filesystems/aufs/design/06mmap.txt
patching file Documentation/filesystems/aufs/design/06xattr.txt
patching file Documentation/filesystems/aufs/design/07export.txt
patching file Documentation/filesystems/aufs/design/08shwh.txt
patching file Documentation/filesystems/aufs/design/10dynop.txt
patching file fs/aufs/Kconfig
patching file fs/aufs/Makefile
patching file fs/aufs/aufs.h
patching file fs/aufs/branch.c
patching file fs/aufs/branch.h
patching file fs/aufs/conf.mk
patching file fs/aufs/cpup.c
patching file fs/aufs/cpup.h
patching file fs/aufs/dbgaufs.c
patching file fs/aufs/dbgaufs.h
patching file fs/aufs/dcsub.c
patching file fs/aufs/dcsub.h
patching file fs/aufs/debug.c
patching file fs/aufs/debug.h
patching file fs/aufs/dentry.c
patching file fs/aufs/dentry.h
patching file fs/aufs/dinfo.c
patching file fs/aufs/dir.c
patching file fs/aufs/dir.h
patching file fs/aufs/dirren.c
patching file fs/aufs/dirren.h
patching file fs/aufs/dynop.c
patching file fs/aufs/dynop.h
patching file fs/aufs/export.c
patching file fs/aufs/f_op.c
patching file fs/aufs/fhsm.c
patching file fs/aufs/file.c
patching file fs/aufs/file.h
patching file fs/aufs/finfo.c
patching file fs/aufs/fstype.h
patching file fs/aufs/hbl.h
patching file fs/aufs/hfsnotify.c
patching file fs/aufs/hfsplus.c
patching file fs/aufs/hnotify.c
patching file fs/aufs/i_op.c
patching file fs/aufs/i_op_add.c
patching file fs/aufs/i_op_del.c
patching file fs/aufs/i_op_ren.c
patching file fs/aufs/iinfo.c
patching file fs/aufs/inode.c
patching file fs/aufs/inode.h
patching file fs/aufs/ioctl.c
patching file fs/aufs/lcnt.h
patching file fs/aufs/loop.c
patching file fs/aufs/loop.h
patching file fs/aufs/magic.mk
patching file fs/aufs/module.c
patching file fs/aufs/module.h
patching file fs/aufs/mvdown.c
patching file fs/aufs/opts.c
patching file fs/aufs/opts.h
patching file fs/aufs/plink.c
patching file fs/aufs/poll.c
patching file fs/aufs/posix_acl.c
patching file fs/aufs/procfs.c
patching file fs/aufs/rdu.c
patching file fs/aufs/rwsem.h
patching file fs/aufs/sbinfo.c
patching file fs/aufs/super.c
patching file fs/aufs/super.h
patching file fs/aufs/sysaufs.c
patching file fs/aufs/sysaufs.h
patching file fs/aufs/sysfs.c
patching file fs/aufs/sysrq.c
patching file fs/aufs/vdir.c
patching file fs/aufs/vfsub.c
patching file fs/aufs/vfsub.h
patching file fs/aufs/wbr_policy.c
patching file fs/aufs/whout.c
patching file fs/aufs/whout.h
patching file fs/aufs/wkq.c
patching file fs/aufs/wkq.h
patching file fs/aufs/xattr.c
patching file fs/aufs/xino.c
patching file include/uapi/linux/aufs_type.h
patching file MAINTAINERS
Hunk #1 succeeded at 2875 (offset 43 lines).
patching file drivers/block/loop.c
Hunk #1 succeeded at 750 (offset 12 lines).
patching file fs/dcache.c
Hunk #1 succeeded at 1266 (offset 2 lines).
patching file fs/fcntl.c
patching file fs/inode.c
Hunk #1 succeeded at 1680 (offset 7 lines).
patching file fs/namespace.c
patching file fs/read_write.c
patching file fs/splice.c
Hunk #1 succeeded at 849 (offset 15 lines).
Hunk #2 succeeded at 866 (offset 15 lines).
patching file fs/sync.c
patching file include/linux/fs.h
Hunk #2 succeeded at 1843 (offset 7 lines).
Hunk #3 succeeded at 1914 (offset 7 lines).
Hunk #4 succeeded at 2340 (offset 7 lines).
Hunk #5 succeeded at 2629 (offset 7 lines).
patching file include/linux/lockdep.h
Hunk #2 succeeded at 474 (offset -1 lines).
patching file include/linux/mnt_namespace.h
patching file include/linux/splice.h
patching file kernel/locking/lockdep.c
patching file fs/Kconfig
patching file fs/Makefile
Hunk #1 succeeded at 133 (offset 1 line).
patching file drivers/block/loop.c
Hunk #1 succeeded at 635 (offset 10 lines).
Hunk #2 succeeded at 699 (offset 12 lines).
Hunk #3 succeeded at 719 (offset 12 lines).
Hunk #4 succeeded at 743 (offset 12 lines).
Hunk #5 succeeded at 757 (offset 12 lines).
Hunk #6 succeeded at 767 (offset 12 lines).
Hunk #7 succeeded at 973 (offset 12 lines).
Hunk #8 succeeded at 989 (offset 12 lines).
Hunk #9 succeeded at 1043 (offset 12 lines).
Hunk #10 succeeded at 1097 (offset 12 lines).
Hunk #11 succeeded at 1145 (offset 12 lines).
Hunk #12 succeeded at 1169 (offset 12 lines).
Hunk #13 succeeded at 1253 (offset 13 lines).
patching file drivers/block/loop.h
patching file fs/aufs/f_op.c
Hunk #1 succeeded at 369 (offset 10 lines).
patching file fs/aufs/loop.c
Hunk #1 succeeded at 146 (offset 13 lines).
patching file fs/aufs/loop.h
Hunk #1 succeeded at 39 (offset 13 lines).
Hunk #2 succeeded at 51 (offset 13 lines).
patching file fs/aufs/super.c
Hunk #1 succeeded at 857 (offset 13 lines).
patching file include/linux/fs.h
Hunk #1 succeeded at 1980 (offset 7 lines).
patching file fs/proc/base.c
patching file fs/proc/nommu.c
patching file fs/proc/task_mmu.c
patching file fs/proc/task_nommu.c
patching file include/linux/mm.h
Hunk #1 succeeded at 1495 (offset -15 lines).
patching file include/linux/mm_types.h
patching file kernel/fork.c
Hunk #1 succeeded at 565 (offset 3 lines).
patching file mm/Makefile
patching file mm/filemap.c
Hunk #1 succeeded at 2675 (offset -21 lines).
patching file mm/mmap.c
Hunk #2 succeeded at 915 (offset -25 lines).
Hunk #3 succeeded at 1843 (offset -22 lines).
Hunk #4 succeeded at 2673 (offset -22 lines).
Hunk #5 succeeded at 2692 (offset -22 lines).
Hunk #6 succeeded at 2884 (offset -22 lines).
Hunk #7 succeeded at 2959 (offset -22 lines).
Hunk #8 succeeded at 3270 (offset -21 lines).
patching file mm/nommu.c
Hunk #1 succeeded at 563 (offset 11 lines).
Hunk #2 succeeded at 695 (offset 5 lines).
Hunk #3 succeeded at 1218 (offset 5 lines).
Hunk #4 succeeded at 1295 (offset 5 lines).
patching file mm/prfile.c
patching file fs/dcache.c
Hunk #1 succeeded at 1371 (offset 2 lines).
Hunk #2 succeeded at 2917 (offset 2 lines).
patching file fs/exec.c
Hunk #1 succeeded at 109 (offset -1 lines).
patching file fs/fcntl.c
patching file fs/file_table.c
patching file fs/inode.c
Hunk #1 succeeded at 1689 (offset 7 lines).
patching file fs/namespace.c
patching file fs/notify/group.c
patching file fs/open.c
patching file fs/read_write.c
patching file fs/splice.c
Hunk #1 succeeded at 862 (offset 15 lines).
Hunk #2 succeeded at 892 (offset 15 lines).
patching file fs/sync.c
patching file fs/xattr.c
patching file kernel/locking/lockdep.c
patching file kernel/task_work.c
patching file security/device_cgroup.c
Hunk #1 FAILED at 824.
1 out of 1 hunk FAILED -- saving rejects to file security/device_cgroup.c.rej
patching file security/security.c
patching file include/linux/lockdep.h
patching file kernel/locking/lockdep.c
Hunk #1 succeeded at 4764 (offset -3 lines).
patching file kernel/locking/lockdep_internals.h
patching file fs/mount.h
patching file fs/namespace.c
Hunk #1 succeeded at 1254 (offset 8 lines).
patching file fs/proc_namespace.c
patching file include/linux/shmem_fs.h
patching file mm/shmem.c
Hunk #4 succeeded at 2249 (offset 5 lines).
Hunk #5 succeeded at 2299 (offset 5 lines).
Hunk #6 succeeded at 3323 (offset 5 lines).
Hunk #7 succeeded at 3343 (offset 5 lines).
Hunk #8 succeeded at 3359 (offset 5 lines).
Hunk #9 succeeded at 3448 (offset 5 lines).
Hunk #10 succeeded at 3546 (offset 5 lines).
Hunk #11 succeeded at 3605 (offset 5 lines).
Hunk #12 succeeded at 3629 (offset 5 lines).
Hunk #13 succeeded at 3671 (offset 5 lines).
Hunk #14 succeeded at 3784 (offset 5 lines).
Hunk #15 succeeded at 3933 (offset 5 lines).
patching file fs/inode.c
Hunk #1 succeeded at 892 (offset 7 lines).
Hunk #2 succeeded at 906 (offset 7 lines).
#
Code: Select all
# diff linux-5.5-rc3/security/device_cgroup.c v5.5-rc3/64/linux-5.5-rc3/security/device_cgroup.c
826a827
> EXPORT_SYMBOL_GPL(__devcgroup_check_permission);
#
# diff v5.5-rc3/auf/aufs5-standalone.git/fs/aufs/i_op.c v5.5-rc3/64/linux-5.5-rc3/fs/aufs/i_op.c
659c659
< rwsem_release(&p->hdir->hi_inode->i_rwsem.dep_map, 1, _RET_IP_);
---
> rwsem_release(&p->hdir->hi_inode->i_rwsem.dep_map, _RET_IP_);
#
# diff v5.5-rc3/auf/aufs5-standalone.git/fs/aufs/wkq.c v5.5-rc3/64/linux-5.5-rc3/fs/aufs/wkq.c
208c208
< rwsem_release(p->instance, 0, /*p->acquire_ip*/_RET_IP_);
---
> rwsem_release(p->instance, /*p->acquire_ip*/_RET_IP_);
#
Code: Select all
Symbol: SECURITY [=n] │
│ Type : bool │
│ Prompt: Enable different security models │
│ Location: │
│ (1) -> Security options │
│ Defined at security/Kconfig:22 │
│ Depends on: SYSFS [=y] && MULTIUSER [=y] │
Symbol: SECURITY_LOCKDOWN_LSM [=n] │
│ Type : bool │
│ Prompt: Basic module for enforcing kernel lockdown │
│ Location: │
│ (1) -> Security options │
│ Defined at security/lockdown/Kconfig:1 │
│ Depends on: SECURITY [=n] │
│ Selects: MODULE_SIG [=n]
Symbol: SECURITY_LOCKDOWN_LSM_EARLY [=n] │
│ Type : bool │
│ Prompt: Enable lockdown LSM early in init │
│ Location: │
│ (2) -> Security options │
│ -> Basic module for enforcing kernel lockdown (SECURITY_LOCKDOWN_LSM [=n]) │
│ Defined at security/lockdown/Kconfig:9 │
│ Depends on: SECURITY_LOCKDOWN_LSM [=n]
Code: Select all
# diff v5.5-rc3.org/64/linux-5.5-rc3/.config v5.5-rc3/64/linux-5.5-rc3/.config
740a741
> CONFIG_MODULE_SIG_FORMAT=y
747c748,756
< # CONFIG_MODULE_SIG is not set
---
> CONFIG_MODULE_SIG=y
> # CONFIG_MODULE_SIG_FORCE is not set
> CONFIG_MODULE_SIG_ALL=y
> CONFIG_MODULE_SIG_SHA1=y
> # CONFIG_MODULE_SIG_SHA224 is not set
> # CONFIG_MODULE_SIG_SHA256 is not set
> # CONFIG_MODULE_SIG_SHA384 is not set
> # CONFIG_MODULE_SIG_SHA512 is not set
> CONFIG_MODULE_SIG_HASH="sha1"
960a970
> # CONFIG_NETLABEL is not set
1139a1150
> # CONFIG_IP_NF_SECURITY is not set
1169a1181
> # CONFIG_IP6_NF_SECURITY is not set
6022a6035
> # CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set
6167a6181
> CONFIG_NFS_V4_SECURITY_LABEL=y
6178a6193
> # CONFIG_NFSD_V4_SECURITY_LABEL is not set
6272c6287
< # CONFIG_SECURITY is not set
---
> CONFIG_SECURITY=y
6273a6289
> # CONFIG_SECURITY_NETWORK is not set
6274a6291
> # CONFIG_SECURITY_PATH is not set
6279a6297,6311
> # CONFIG_SECURITY_SMACK is not set
> # CONFIG_SECURITY_TOMOYO is not set
> # CONFIG_SECURITY_APPARMOR is not set
> # CONFIG_SECURITY_LOADPIN is not set
> # CONFIG_SECURITY_YAMA is not set
> # CONFIG_SECURITY_SAFESETID is not set
> CONFIG_SECURITY_LOCKDOWN_LSM=y
> CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=y
> # CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE is not set
> # CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY is not set
> CONFIG_LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY=y
> CONFIG_INTEGRITY=y
> # CONFIG_INTEGRITY_SIGNATURE is not set
> # CONFIG_IMA is not set
> # CONFIG_EVM is not set
6410c6442
< CONFIG_CRYPTO_SHA1=m
---
> CONFIG_CRYPTO_SHA1=y
6544a6577
> CONFIG_MODULE_SIG_KEY="certs/signing_key.pem"
#
Code: Select all
Apparently MODULE_SIG was enabled by SECURITY_LOCKDOWN_LSM. We'll turn both
of those off to avoid needlessly tainting the kernel.
-LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY n
-LOCK_DOWN_KERNEL_FORCE_INTEGRITY n
-LOCK_DOWN_KERNEL_FORCE_NONE y
-MODULE_SIG_ALL n
-MODULE_SIG_FORCE n
-MODULE_SIG_FORMAT y
-MODULE_SIG_HASH "sha256"
-MODULE_SIG_KEY "certs/signing_key.pem"
-MODULE_SIG_SHA1 n
-MODULE_SIG_SHA224 n
-MODULE_SIG_SHA256 y
-MODULE_SIG_SHA384 n
-MODULE_SIG_SHA512 n
-SECURITY_LOCKDOWN_LSM_EARLY y
MODULE_SIG y -> n
SECURITY_LOCKDOWN_LSM y -> n