Move device-agnostic netd rules to fwk policy.

These were moved from vendor to fwk policy:
1. sysfs_net type declaration
2. labeling of /sys/devices/virtual/net with sysfs_net
3. netd access to sysfs_net

Bug: 65643247

Merged-In: I8c3a959de20ea121014125175f21988fa66561ea
Change-Id: I8c3a959de20ea121014125175f21988fa66561ea
(cherry picked from commit 90bbeafe2d07a6266acbb830084dae78a9439932)
diff --git a/sepolicy/file.te b/sepolicy/file.te
index 0fdfb9b..4de94bb 100644
--- a/sepolicy/file.te
+++ b/sepolicy/file.te
@@ -26,7 +26,6 @@
 type sysfs_msm_subsys, sysfs_type, fs_type;
 type sysfs_msm_subsys_restart, sysfs_type, fs_type;
 type sysfs_msm_core, sysfs_type, fs_type;
-type sysfs_net, sysfs_type, fs_type, mlstrustedobject;
 type sysfs_perf, sysfs_type, fs_type;
 type sysfs_pcie, sysfs_type, fs_type, mlstrustedobject;
 type sysfs_power_management, sysfs_type, fs_type;
diff --git a/sepolicy/netd.te b/sepolicy/netd.te
index 6b38b8d..67af26d 100644
--- a/sepolicy/netd.te
+++ b/sepolicy/netd.te
@@ -1,6 +1,3 @@
-allow netd sysfs_net:dir search;
-allow netd sysfs_net:file w_file_perms;
-
 # in addition to ioctl commands granted to domain allow netd to use:
 allowxperm netd self:udp_socket ioctl { SIOCSIFFLAGS SIOCSIFADDR SIOCGIFHWADDR };