Skip to content

Instantly share code, notes, and snippets.

@ma34s
Created December 8, 2017 07:58
Show Gist options
  • Save ma34s/d00c81773dd88d21eb498c1fb243144e to your computer and use it in GitHub Desktop.
Save ma34s/d00c81773dd88d21eb498c1fb243144e to your computer and use it in GitHub Desktop.
lineage15_sepolicy_error
m4: device/qcom/sepolicy/common/fidodaemon.te: 21: deprecated: unix_socket_connect(fidodaemon, property, init) Please use set_prop(fidodaemon, <property name>) instead.
m4: device/qcom/sepolicy/common/qseecomd.te: 59: deprecated: unix_socket_connect(tee, property, init) Please use set_prop(tee, <property name>) instead.
m4: device/qcom/sepolicy/common/qseeproxy.te: 50: deprecated: unix_socket_connect(qseeproxy, property, init) Please use set_prop(qseeproxy, <property name>) instead.
m4: device/qcom/sepolicy/test/fidotest.te: 4: deprecated: unix_socket_connect(fidotest, property, init) Please use set_prop(fidotest, <property name>) instead.
m4: device/qcom/sepolicy/test/qseeproxysample.te: 31: deprecated: unix_socket_connect(qseeproxysample, property, init) Please use set_prop(qseeproxysample, <property name>) instead.
[ 0% 164/38970] build /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf
m4: device/qcom/sepolicy/private/wfdservice.te: 72: deprecated: unix_socket_connect(wfdservice, property, init) Please use set_prop(wfdservice, <property name>) instead.
m4: device/qcom/sepolicy/common/fidodaemon.te: 21: deprecated: unix_socket_connect(fidodaemon, property, init) Please use set_prop(fidodaemon, <property name>) instead.
m4: device/qcom/sepolicy/common/qseecomd.te: 59: deprecated: unix_socket_connect(tee, property, init) Please use set_prop(tee, <property name>) instead.
m4: device/qcom/sepolicy/common/qseeproxy.te: 50: deprecated: unix_socket_connect(qseeproxy, property, init) Please use set_prop(qseeproxy, <property name>) instead.
m4: device/qcom/sepolicy/test/fidotest.te: 4: deprecated: unix_socket_connect(fidotest, property, init) Please use set_prop(fidotest, <property name>) instead.
m4: device/qcom/sepolicy/test/qseeproxysample.te: 31: deprecated: unix_socket_connect(qseeproxysample, property, init) Please use set_prop(qseeproxysample, <property name>) instead.
[ 0% 166/38970] build /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil
FAILED: /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil
/bin/bash -c "(/home/ma34s/work/android_aojp_lineage15.0/out/host/linux-x86/bin/checkpolicy -C -M -c 30 -o /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil.tmp /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy.conf ) && (grep -Fxv -f /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.cil /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil.tmp > /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil )"
device/samsung/klte-common/sepolicy/platform_app.te:2:ERROR 'unknown type exfat' at token ';' on line 46191:
allow platform_app exfat:dir { create reparent rename rmdir setattr { { open getattr read search ioctl lock } { open search write add_name remove_name lock } } };
#line 1 "device/samsung/klte-common/sepolicy/platform_app.te"
checkpolicy: error(s) encountered while parsing configuration
/home/ma34s/work/android_aojp_lineage15.0/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy.conf
[ 0% 167/38970] build /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/sepolicy.recovery_intermediates/sepolicy
FAILED: /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/sepolicy.recovery_intermediates/sepolicy
/bin/bash -c "(/home/ma34s/work/android_aojp_lineage15.0/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf ) && (/home/ma34s/work/android_aojp_lineage15.0/out/host/linux-x86/bin/sepolicy-analyze /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp permissive > /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ) && (if [ \"userdebug\" = \"user\" -a -s /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ]; then echo \"==========\" 1>&2; echo \"ERROR: permissive domains not allowed in user builds\" 1>&2; echo \"List of invalid domains:\" 1>&2; cat /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains 1>&2; exit 1; fi ) && (mv /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/sepolicy.recovery_intermediates/sepolicy )"
device/samsung/klte-common/sepolicy/platform_app.te:2:ERROR 'unknown type exfat' at token ';' on line 61968:
allow platform_app exfat:dir { create reparent rename rmdir setattr { { open getattr read search ioctl lock } { open search write add_name remove_name lock } } };
#line 1 "device/samsung/klte-common/sepolicy/platform_app.te"
checkpolicy: error(s) encountered while parsing configuration
/home/ma34s/work/android_aojp_lineage15.0/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment