• Jeff Vander Stoep's avatar
    cryptfs: run e2fsck/fsck.f2fs in fsck domain · df725758
    Jeff Vander Stoep authored
    e2fsck and fsck.f2fs must run in the fsck domain. Add call to
    setexeccon() to tell selinux to run in the fsck domain on exec.
    
    Addresses:
    avc: denied { execute_no_trans } for path="/system/bin/e2fsck" dev="mmcblk0p41" ino=241 scontext=u:r:vold:s0 tcontext=u:object_r:fsck_exec:s0 tclass=file
    
    Bug: 26872236
    Change-Id: Ib2a583aeefc667f8aa67532e0ac0ff9619b65461
    df725758
secontext.h 765 Bytes