selinux权限修改

Signed-off-by: y1135885 <yuqigang1@huawei.com>
This commit is contained in:
y1135885 2023-05-27 09:54:24 +08:00
parent 8fc54c21cb
commit d34d588349
4 changed files with 3 additions and 4 deletions

View File

@ -20,4 +20,4 @@ allow console system_bin_file:lnk_file { read };
allow console tty_device:chr_file { ioctl };
allowxperm console dev_console_file:chr_file ioctl { 0x5413 };
allowxperm console tty_device:chr_file ioctl { 0x5403 };
')
')

View File

@ -18,4 +18,4 @@ allow hidumper sh:fifo_file { read write };
allow hidumper hiprofilerd:fd { use };
allow hidumper hiprofiler_plugins:fd { use };
allow hidumper hiprofiler_plugins:fifo_file { write };
allow hidumper hiprofiler_plugins:unix_stream_socket { read write };
allow hidumper hiprofiler_plugins:unix_stream_socket { read write };

View File

@ -18,4 +18,4 @@ allow hidumper_service sh:fifo_file { write };
allow hidumper_service sh:file { open read };
')
allow hidumper_service hiprofiler_plugins:fd { use };
allow hidumper_service hiprofiler_plugins:fifo_file { write };
allow hidumper_service hiprofiler_plugins:fifo_file { write };

View File

@ -16,4 +16,3 @@ debug_only(`
allow sh sh:udp_socket { read };
allow sh system_basic_hap_data_file:dir { search }
')