Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devices:Add genfscon context for functionfs to mount
When start up adbd by adb initscript, there's a command like: mount -o uid=2000,gid=2000 -t functionfs adb /dev/usb-ffs/adb will cause below deny because lack of functionfs related contexts. avc: denied { mount } for pid=346 comm="mount" name="/" dev="functionfs" ino=17700 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1 Signed-off-by: Kai Meng <[email protected]>
- Loading branch information