Patchset for ArchLinux stock kernel for enable AppArmor
- Install ASP
pacman -S asp
- Get source file of linux package
asp export linux
- Get patchset
git clone https://github.com/tears-of-noobs/linux-apparmor-patchset.git
- Apply patchset and build kernel
cd linux
patch -p1 -i ../linux-apparmor-patchset/*.patch
makepkg