github.com/kubiko/snapd@v0.0.0-20201013125620-d4f3094d9ddf/cmd/snap-confine/PORTING (about)

     1  Welcome brave porters!
     2  
     3  This file is intended to guide you towards porting snappy (comprised of snapd
     4  and this project, snap-confine) to work on a new kernel. The confinement setup by
     5  snap-confine has several requirements on the kernel.
     6  
     7  TODO: list required patches (apparmor, seccomp)
     8  TODO: list required kernel configufation
     9  TODO: list minimum supported kernel version
    10  
    11  While you are working on porting those patches to your kernel of choice, you
    12  may configure snap-confine with --disable-security. This switch drops
    13  requirement on apparmor, seccomp and udev and reduces snap-confine to arrange
    14  the filesystem in a correct way for snaps to operate without really confining
    15  them in any way.