• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ==============================================
2# MTK Policy Rule
3# ==============================================
4
5
6# Date : WK14.34
7# Operation : Migration
8# Purpose :  For WIFI SANITY test to set FW path(STA/P2P/AP)
9# Owner: TingTing Lei
10allow netd wmtWifi_device:chr_file { write open };
11
12# Date : WK14.34
13# Operation : Migration
14# Purpose :  NA
15# Owner: Changqing Sun
16allow netd self:capability fsetid;
17
18# Date : WK14.34
19# Operation : Migration
20# Purpose: APP
21allow netd platform_app:fd use;
22
23
24# Date : WK14.37
25# Operation : Migration
26# Purpose :  PPPOE Test
27# Owner : lina wang
28allow netd ppp:process sigkill;
29
30# Date : WK14.39
31# Operation : Migration
32# Purpose :  MDLogger USB logging
33# Owner : Bo shang
34allow netd mdlogger:fd use;
35allow netd mdlogger:tcp_socket { read write };
36allow netd mdlogger:tcp_socket { getopt setopt };
37
38# Date : WK14.41
39# Operation : Migration
40# Purpose :  network logging
41# Owner : Bo shang
42allow netd netdiag:fd use;
43allow netd netdiag:udp_socket { read write getopt setopt};
44
45# Date : WK14.44
46# Operation : Migration
47# Purpose : ALPS01789552
48#============= netd ==============
49allow netd self:capability { setuid setgid };
50
51
52#============= netd ==============
53allow netd untrusted_app:fd use;
54
55
56# Date : W15.02
57# Operation :  SQC
58# Purpose :  CTS for wifi
59allow netd untrusted_app:unix_stream_socket { read write getopt setopt};
60allow netd isolated_app:fd use;
61
62# MTK support antutu feature
63get_prop(netd, vendor_mtk_antutu_prop)
64
65userdebug_or_eng(`
66  allow netd mobile_log_d:fd use;
67  allow netd mobile_log_d:tcp_socket {read write getopt setopt};
68')
69