2020-01-18 09:29:32 +08:00
|
|
|
# ==============================================
|
|
|
|
# MTK Policy Rule
|
|
|
|
# ==============================================
|
|
|
|
|
|
|
|
|
|
|
|
# Date : WK14.34
|
|
|
|
# Operation : Migration
|
2020-01-18 10:22:36 +08:00
|
|
|
# Purpose : For WIFI SANITY test to set FW path(STA/P2P/AP)
|
|
|
|
# Owner: TingTing Lei
|
2020-01-18 09:29:32 +08:00
|
|
|
allow netd wmtWifi_device:chr_file { write open };
|
|
|
|
|
|
|
|
# Date : WK14.34
|
|
|
|
# Operation : Migration
|
|
|
|
allow netd self:capability fsetid;
|
|
|
|
|
|
|
|
# Date : WK14.34
|
|
|
|
# Operation : Migration
|
2020-01-18 10:22:36 +08:00
|
|
|
# Purpose: APP
|
2020-01-18 09:29:32 +08:00
|
|
|
allow netd platform_app:fd use;
|
|
|
|
|
|
|
|
|
|
|
|
# Date : WK14.37
|
|
|
|
# Operation : Migration
|
2020-01-18 10:22:36 +08:00
|
|
|
# Purpose : PPPOE Test
|
2020-01-18 09:29:32 +08:00
|
|
|
# Owner : lina wang
|
|
|
|
allow netd ppp:process sigkill;
|
|
|
|
|
|
|
|
# Date : WK14.39
|
|
|
|
# Operation : Migration
|
|
|
|
# Purpose : MDLogger USB logging
|
2020-01-18 10:22:36 +08:00
|
|
|
# Owner : Bo shang
|
2020-01-18 09:29:32 +08:00
|
|
|
allow netd mdlogger:fd use;
|
|
|
|
allow netd mdlogger:tcp_socket { read write };
|
|
|
|
allow netd mdlogger:tcp_socket { getopt setopt };
|
|
|
|
|
|
|
|
# Date : WK14.41
|
|
|
|
# Operation : Migration
|
|
|
|
# Purpose : network logging
|
2020-01-18 10:22:36 +08:00
|
|
|
# Owner : Bo shang
|
2020-01-18 09:29:32 +08:00
|
|
|
allow netd netdiag:fd use;
|
|
|
|
allow netd netdiag:udp_socket { read write getopt setopt};
|
|
|
|
|
|
|
|
# Date : WK14.44
|
|
|
|
# Operation : Migration
|
|
|
|
# Purpose : ALPS01789552
|
|
|
|
#============= netd ==============
|
|
|
|
allow netd self:capability { setuid setgid };
|
|
|
|
|
|
|
|
|
|
|
|
#============= netd ==============
|
|
|
|
allow netd untrusted_app:fd use;
|
|
|
|
|
|
|
|
|
|
|
|
# Date : W15.02
|
|
|
|
# Operation : SQC
|
|
|
|
# Purpose : CTS for wifi
|
|
|
|
allow netd untrusted_app:unix_stream_socket { read write getopt setopt};
|
|
|
|
allow netd isolated_app:fd use;
|
2020-01-18 10:05:50 +08:00
|
|
|
|
|
|
|
# MTK support antutu feature
|
|
|
|
get_prop(netd, mtk_antutu_prop);
|