;; complement CIL file for compatibility between ToT policy and 202404 vendors.
;; will be compiled along with other normal policy files, on 202404 vendors.
;;

(allow hal_wifi_supplicant self (capability (setuid)))
(allow hal_wifi_supplicant self (cap_userns (setuid)))
(allow hal_wifi_supplicant self (capability (setgid)))
(allow hal_wifi_supplicant self (cap_userns (setgid)))

;; New system images do not allow open() to work on ashmem for all domains,
;; so add it for compatibility with older vendor images.
(allow domain ashmem_libcutils_device (chr_file (open)))
