universal7870:selinux: fix encryption
there is one crucial important thing when it comes to IOCTL as this is a specific thing: > I auditd : type=1400 audit(0.0:1021): avc: denied { ioctl } for comm="Binder:2728_3" path="/dev/block/mmcblk0p24" dev="tmpfs" ino=1109 ioctlcmd=1272 scontext=u:r:vold:s0 tcontext=u:object_r:emmcblk_device:s0 tclass=blk_file permissive=0 see "system/sepolicy/public/ioctl_defines" for 1272 (because of ioctlcmd=1272) which leads to "BLKGETSIZE64" some more details and background: https://selinuxproject.org/page/XpermRules Signed-off-by:steadfasterX <steadfasterX@gmail.com>
Loading
Please register or sign in to comment