1type h2omg_vendor, domain; 2type h2omg_vendor_exec, exec_type, vendor_file_type, file_type; 3 4init_daemon_domain(h2omg_vendor); 5 6allow h2omg_vendor sysfs_batteryinfo:dir search; 7allow h2omg_vendor sysfs_h2omg_drv:dir r_dir_perms; 8allow h2omg_vendor sysfs_h2omg_dev:dir r_dir_perms; 9allow h2omg_vendor sysfs_h2omg_fuse:file rw_file_perms; 10