mirror of
https://gitee.com/openharmony/security_selinux
synced 2024-11-26 23:00:22 +00:00
add av_trans selinux
Signed-off-by: hwzhangchuang <zhangchuang.zhang@huawei.com>
This commit is contained in:
parent
27435b75fc
commit
2e7bde7bd4
@ -307,3 +307,6 @@ allow device_manager dev_console_file:chr_file { read write };
|
||||
#avc: denied { open } for pid=249 comm="device_manager" path="/dev/__parameters__/u:object_r:musl_param:s0" dev="tmpfs" ino=56 scontext=u:r:device_manager:s0 tcontext=u:object_r:musl_param:s0 tclass=file permissive=0
|
||||
#avc: denied { map } for pid=248 comm="IPC_1_281" path="/dev/__parameters__/u:object_r:musl_param:s0" dev="tmpfs" ino=56 scontext=u:r:device_manager:s0 tcontext=u:object_r:musl_param:s0 tclass=file permissive=0
|
||||
allow device_manager musl_param:file { read open map };
|
||||
|
||||
#avc: denied { call } for pid=255 comm="IPC_0_273" scontext=u:r:device_manager:s0 tcontext=u:r:dcamera:s0 tclass=binder permissive=0
|
||||
allow device_manager dcamera:binder { call };
|
||||
|
@ -161,6 +161,10 @@ allow dcamera accesstoken_service:binder { call };
|
||||
#avc: denied { get } for service=4802 pid=3227 scontext=u:r:dcamera:s0 tcontext=u:object_r:sa_foundation_devicemanager_service:s0 tclass=samgr_class permissive=1
|
||||
allow dcamera sa_foundation_devicemanager_service:samgr_class { get };
|
||||
|
||||
#avc: denied { call } for pid=2169 comm="dcamera" scontext=u:r:dcamera:s0 tcontext=u:r:device_manager:s0 tclass=binder permissive=0
|
||||
#avc: denied { transfer } for pid=2712 comm="IPC_1_2732" scontext=u:r:dcamera:s0 tcontext=u:r:device_manager:s0 tclass=binder permissive=1
|
||||
allow dcamera device_manager:binder { call transfer };
|
||||
|
||||
allow dcamera bootevent_param:file { map open read };
|
||||
allow dcamera bootevent_samgr_param:file { map open read };
|
||||
allow dcamera build_version_param:file { map open read };
|
||||
|
@ -158,3 +158,37 @@ allow hidumper_service sa_dhardware_service:samgr_class { get };
|
||||
|
||||
#avc: denied { search } for pid=2662 comm="sa_main" name="bin" dev="sdd72" ino=12 scontext=u:r:dcamera:s0 tcontext=u:object_r:vendor_bin_file:s0 tclass=dir permissive=0
|
||||
allow dhardware vendor_bin_file:dir { search };
|
||||
|
||||
#avc: denied { get } for service=5100 pid=2376 scontext=u:r:dhardware:s0 tcontext=u:object_r:sa_device_service_manager:s0 tclass=samgr_class permissive=1
|
||||
allow dhardware sa_device_service_manager:samgr_class { get };
|
||||
|
||||
#avc: denied { get } for service=codec_hdi_omx_service pid=1690 scontext=u:r:dhardware:s0 tcontext=u:object_r:hdf_codec_hdi_omx_service:s0 tclass=hdf_devmgr_class permissive=1
|
||||
allow dhardware hdf_codec_hdi_omx_service:hdf_devmgr_class { get };
|
||||
|
||||
#avc: denied { read } for pid=2292 comm="dhardware" name="online" dev="sysfs" ino=4917 scontext=u:r:dhardware:s0 tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=file permissive=0
|
||||
#avc: denied { open } for pid=2954 comm="dhardware" path="/sys/devices/system/cpu/online" dev="sysfs" ino=4917 scontext=u:r:dhardware:s0 tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=file permissive=1
|
||||
#avc: denied { getattr } for pid=2954 comm="dhardware" path="/sys/devices/system/cpu/online" dev="sysfs" ino=4917 scontext=u:r:dhardware:s0 tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=file permissive=1
|
||||
allow dhardware sysfs_devices_system_cpu:file { read open getattr };
|
||||
|
||||
#avc: denied { read } for pid=2292 comm="SendOnLine" name="histreamer_plugins" dev="mmcblk0p7" ino=2372 scontext=u:r:dhardware:s0 tcontext=u:object_r:system_lib_file:s0 tclass=dir permissive=0
|
||||
#avc: denied { open } for pid=2954 comm="SendOnLine" path="/system/lib/media/histreamer_plugins" dev="mmcblk0p7" ino=2372 scontext=u:r:dhardware:s0 tcontext=u:object_r:system_lib_file:s0 tclass=dir permissive=1
|
||||
allow dhardware system_lib_file:dir { read open };
|
||||
|
||||
#avc: denied { call } for pid=2954 comm="SendOnLine" scontext=u:r:dhardware:s0 tcontext=u:r:hdf_devmgr:s0 tclass=binder permissive=1
|
||||
allow dhardware hdf_devmgr:binder { call };
|
||||
|
||||
#avc: denied { search } for pid=239 comm="IPC_3_485" name="2954" dev="proc" ino=33347 scontext=u:r:hdf_devmgr:s0 tcontext=u:r:dhardware:s0 tclass=dir permissive=1
|
||||
allow hdf_devmgr dhardware:dir { search };
|
||||
|
||||
#avc: denied { read } for pid=254 comm="IPC_2_482" name="current" dev="proc" ino=34925 scontext=u:r:hdf_devmgr:s0 tcontext=u:r:dhardware:s0 tclass=file permissive=1
|
||||
#avc: denied { open } for pid=254 comm="IPC_2_482" path="/proc/3100/attr/current" dev="proc" ino=34925 scontext=u:r:hdf_devmgr:s0 tcontext=u:r:dhardware:s0 tclass=file permissive=1
|
||||
allow hdf_devmgr dhardware:file { read open };
|
||||
|
||||
#avc: denied { getattr } for pid=254 comm="IPC_2_482" scontext=u:r:hdf_devmgr:s0 tcontext=u:r:dhardware:s0 tclass=process permissive=1
|
||||
allow hdf_devmgr dhardware:process { getattr };
|
||||
|
||||
#avc: denied { transfer } for pid=254 comm="IPC_2_482" scontext=u:r:hdf_devmgr:s0 tcontext=u:r:dhardware:s0 tclass=binder permissive=1
|
||||
allow hdf_devmgr dhardware:binder { transfer };
|
||||
|
||||
#avc: denied { call } for pid=3100 comm="SendOnLine" scontext=u:r:dhardware:s0 tcontext=u:r:codec_host:s0 tclass=binder permissive=1
|
||||
allow dhardware codec_host:binder { call };
|
||||
|
Loading…
Reference in New Issue
Block a user