Skip to content
Snippets Groups Projects
  • Howard Chen's avatar
    b638d949
    SELinux changes for Treble Loadable Kernel Module · b638d949
    Howard Chen authored
    This change extends the recovery mode modprobe sepolicy
    to support loadable kernel module in normal mode by using
    statement below in init.rc:
    
    exec u:r:modprobe:s0 -- /system/bin/modprobe \
        -d /vendor/lib/modules mod
    
    Bug: b/35653245
    Test: sailfish  with local built kernel and LKM enabled
    Change-Id: I827e2ce387c899db3e0e179da92e79c75d61f5ae
    b638d949
    History
    SELinux changes for Treble Loadable Kernel Module
    Howard Chen authored
    This change extends the recovery mode modprobe sepolicy
    to support loadable kernel module in normal mode by using
    statement below in init.rc:
    
    exec u:r:modprobe:s0 -- /system/bin/modprobe \
        -d /vendor/lib/modules mod
    
    Bug: b/35653245
    Test: sailfish  with local built kernel and LKM enabled
    Change-Id: I827e2ce387c899db3e0e179da92e79c75d61f5ae