From: Anan Jaser Date: Wed, 23 Sep 2020 15:44:18 +0000 (+0400) Subject: universal8895: Ramdisk: remove vendor_audit UID X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=236cf5eb2084878e2e9934674f839fc835ceb37f;p=GitHub%2Fexynos8895%2Fandroid_device_samsung_universal8895-common.git universal8895: Ramdisk: remove vendor_audit UID Unable to decode UID for 'vendor_audit': getpwnam failed: No such file or directory Replace it with system system instead Change-Id: Ia481dc7a319b50f98d7096a0c555eb0fdcc7087f --- diff --git a/ramdisk/etc/init.samsung.rc b/ramdisk/etc/init.samsung.rc index d4cb6d8..6f63f9b 100644 --- a/ramdisk/etc/init.samsung.rc +++ b/ramdisk/etc/init.samsung.rc @@ -209,13 +209,13 @@ on post-fs-data chmod 0666 /data/misc/conn/.wificable.info # [ SEC_PRODUCT_FEATURE_SECURITY_SUPPORT_FIVE - mkdir /data/misc/integrity 0775 vendor_audit system + mkdir /data/misc/integrity 0775 system system # ] SEC_PRODUCT_FEATURE_SECURITY_SUPPORT_FIVE # [ SEC_SELINUX_PORTING_COMMON mkdir /data/misc/audit 0775 system system - chown vendor_audit vendor_audit /data/misc/audit/audit.log - chown vendor_audit vendor_audit /data/misc/audit/audit.old + chown system system /data/misc/audit/audit.log + chown system system /data/misc/audit/audit.old # arcounter mkdir /data/misc/arcounter 0700 system system