Skip to content

ubports-on-vince/kernel_3.18_apparmor_patches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kernel_3.18_apparmor_patches

Apparmor patches for linux kernel 3.18

Usage:

clone this repo to your kernel source

patches=$(ls kernel_3.18_apparmor_patches|grep patch)
for patch in $patches;
do
  git am --signoff < kernel_3.18_apparmor_patches/$patch
done

Patches from https://kernel.ubuntu.com/git/jj/linux-apparmor-backports/refs/heads and fix build error with https://lists.ubuntu.com/archives/kernel-team/2016-January/068128.html

And you also need add apparmor.d configs: https://github.com/ubports-on-vince/device_xiaomi_vince/tree/master/ubuntu/apparmor.d

Add them to system.img:

PRODUCT_COPY_FILES += \
    ...
    ...
    $(LOCAL_PATH)/ubuntu/apparmor.d/local/usr.bin.media-hub-server:system/halium/etc/apparmor.d/local/usr.bin.media-hub-server \
    $(LOCAL_PATH)/ubuntu/apparmor.d/abstractions/base:system/halium/etc/apparmor.d/abstractions/base

About

patches for linux kernel 3.18

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published