From 2aef82416e73d944febe84f3ca6e8310f9d71074 Mon Sep 17 00:00:00 2001 From: oxmc Date: Tue, 19 Aug 2025 15:44:37 -0700 Subject: [PATCH] Update sepolicy/pawlet_device.te --- sepolicy/pawlet_device.te | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/sepolicy/pawlet_device.te b/sepolicy/pawlet_device.te index 77405ff..facfe0b 100644 --- a/sepolicy/pawlet_device.te +++ b/sepolicy/pawlet_device.te @@ -1,7 +1,3 @@ -# Type declarations -type pawlet_device, domain; -type pawlet_device_exec, exec_type, file_type, system_file_type; - # Inherit from core domain typeattribute pawlet_device coredomain; @@ -14,5 +10,8 @@ binder_use(pawlet_device) binder_call(pawlet_device, system_server) binder_call(pawlet_device, servicemanager) -# ONLY THIS LINE IS NEEDED FOR READING PROPERTIES: -get_prop(pawlet_device, vendor_default_prop) \ No newline at end of file +# Define a new property type for your device +type pawlet_prop, property_type; + +# Allow your device to get and set its own properties +allow pawlet_device pawlet_prop:property_service { get set }; \ No newline at end of file