msm8974-common: sepolicy: Allow ioctls necessary for physical sdcard operations
* Note: 0x1271 is note defined in system/sepolicy/public/ioctl_defines avc: denied { ioctl } for path="/dev/block/vold/public:179,65" dev="tmpfs" ino=19222 ioctlcmd=125e scontext=u:r:vold:s0 tcontext=u:object_r:vold_device:s0 tclass=blk_file permissive=0 avc: denied { ioctl } for path="/dev/block/vold/public:179,65" dev="tmpfs" ino=20176 ioctlcmd=1271 scontext=u:r:vold:s0 tcontext=u:object_r:vold_device:s0 tclass=blk_file permissive=0 avc: denied { ioctl } for path="/dev/block/vold/public:179,65" dev="tmpfs" ino=27110 ioctlcmd=125e scontext=u:r:fsck_untrusted:s0 tcontext=u:object_r:vold_device:s0 tclass=blk_file permissive=0 avc: denied { ioctl } for path="/dev/block/vold/public:179,65" dev="tmpfs" ino=27110 ioctlcmd=1271 scontext=u:r:fsck_untrusted:s0 tcontext=u:object_r:vold_device:s0 tclass=blk_file permissive=0 Change-Id: I7bf2346b9517196160e4dde51baa550fb343bfdf
This commit is contained in:
parent
61d3a4eafa
commit
7bfaa1d75f
@ -2,3 +2,6 @@ allow fsck_untrusted block_device:dir getattr;
|
|||||||
|
|
||||||
# /data/media
|
# /data/media
|
||||||
allow fsck_untrusted media_rw_data_file:dir getattr;
|
allow fsck_untrusted media_rw_data_file:dir getattr;
|
||||||
|
|
||||||
|
allowxperm fsck_untrusted vold_device:blk_file ioctl 0x1271;
|
||||||
|
allowxperm fsck_untrusted vold_device:blk_file ioctl BLKROGET;
|
||||||
|
@ -7,3 +7,6 @@ allow vold {
|
|||||||
efs_block_device
|
efs_block_device
|
||||||
system_block_device
|
system_block_device
|
||||||
}:blk_file getattr;
|
}:blk_file getattr;
|
||||||
|
|
||||||
|
allowxperm vold vold_device:blk_file ioctl 0x1271;
|
||||||
|
allowxperm vold vold_device:blk_file ioctl BLKROGET;
|
||||||
|
Loading…
Reference in New Issue
Block a user